Asentelin dabberin apache2, php:n ja mysql palvelut tämän ohjeen mukaan:
http://www.mbnet.fi/nettijatkot/2006/09/lamp/Ilmeisesti tuossa asennuksessa jokin takku tuon sendmailin kanssa...
Kertokaapas kokeneemmat, mikä tuossa takkuaa ja saa muutenkin vilasta tuon asennus historian läpi, onko tuolla joku pielessä, vai onko kaikki ok.
karvinen@palvelin:~$ sudo apt-get install apache2
Password:
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu... Valmis
Seuraavat ylimääräiset paketit on merkitty asennettaviksi:
apache2-common apache2-mpm-worker apache2-utils libapr0 libpcre3 ssl-cert
Ehdotetut paketit:
apache2-doc lynx www-browser
Seuraavat UUDET paketit asennetaan:
apache2 apache2-common apache2-mpm-worker apache2-utils libapr0 libpcre3
ssl-cert
0 päivitetty, 7 uutta asennusta, 0 poistettavaa ja 130 päivittämätöntä.
Noudettavaa arkistoa 1431kt.
Purkamisen jälkeen käytetään 4764kt lisää levytilaa.
Haluatko jatkaa [K/e]? k
Nouda:1 http://fi.archive.ubuntu.com dapper/main libpcre3 6.4-1.1ubuntu4 [174kB]Nouda:2 http://security.ubuntu.com dapper-security/main libapr0 2.0.55-4ubuntu2.1 [132kB]
Nouda:3 http://fi.archive.ubuntu.com dapper/main ssl-cert 1.0.13 [9526B]
Nouda:4 http://security.ubuntu.com dapper-security/main apache2-utils 2.0.55-4ubuntu2.1 [91,7kB]
Nouda:5 http://security.ubuntu.com dapper-security/main apache2-common 2.0.55-4ubuntu2.1 [786kB]
Nouda:6 http://security.ubuntu.com dapper-security/main apache2-mpm-worker 2.0.55-4ubuntu2.1 [202kB]
Nouda:7 http://security.ubuntu.com dapper-security/main apache2 2.0.55-4ubuntu2.1 [35,8kB]
Noudettiin 1431kt ajassa 2s (711kt/s)
Esiräätälöidään paketteja...
Selecting previously deselected package libapr0.
(Reading database ... 70544 files and directories currently installed.)
Unpacking libapr0 (from .../libapr0_2.0.55-4ubuntu2.1_i386.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_6.4-1.1ubuntu4_i386.deb) ...
Selecting previously deselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.13_all.deb) ...
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.0.55-4ubuntu2.1_i386.deb) ...
Selecting previously deselected package apache2-common.
Unpacking apache2-common (from .../apache2-common_2.0.55-4ubuntu2.1_i386.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.0.55-4ubuntu2.1_i386.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.0.55-4ubuntu2.1_i386.deb) ...
Setting up libapr0 (2.0.55-4ubuntu2.1) ...
Setting up libpcre3 (6.4-1.1ubuntu4) ...
Setting up ssl-cert (1.0.13) ...
Setting up apache2-utils (2.0.55-4ubuntu2.1) ...
Setting up apache2-common (2.0.55-4ubuntu2.1) ...
Setting Apache2 to Listen on port 80. If this is not desired, please edit /etc/apache2/ports.conf as desired. Note that the Port directive no longer works.
Module userdir installed; run /etc/init.d/apache2 force-reload to enable.
Setting up apache2-mpm-worker (2.0.55-4ubuntu2.1) ...
* Starting apache 2.0 web server... apache2: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[ ok ]
Setting up apache2 (2.0.55-4ubuntu2.1) ...
karvinen@palvelin:~$ sudo aptitude install mysql-server
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu... Valmis
Alustan pakettien tiloja... Valmis
Rakennan merkkitietokantaa... Valmis
Nämä UUDET paketit asennetaan automaattisesti:
libdbd-mysql-perl libdbi-perl liblockfile1 libnet-daemon-perl
libplrpc-perl mailx mysql-client-5.0 mysql-server-5.0 postfix
Nämä paketit on jätetty odottamaan:
app-install-data-commercial bind9-host cpio dbus dbus-1-utils dnsutils
dpkg dselect ekiga evince evolution evolution-data-server
evolution-plugins file firefox firefox-gnome-support gdb gdm gnupg
gtk2-engines-pixbuf gzip hal hal-device-manager info language-pack-en
language-pack-en-base language-pack-gnome-en language-pack-gnome-en-base
libaudio2 libavahi-client3 libavahi-common-data libavahi-common3
libavahi-glib1 libbind9-0 libc6 libc6-i686 libcamel1.2-8 libdbus-1-2
libdbus-glib-1-2 libdns21 libebook1.2-5 libecal1.2-3 libedata-book1.2-2
libedata-cal1.2-1 libedataserver1.2-7 libedataserverui1.2-6
libegroupwise1.2-9 libexchange-storage1.2-1 libfreetype6 libgeoip1
libgnutls12 libgsf-1-113 libgsf-1-common libgtk2.0-0 libgtk2.0-bin
libgtk2.0-common libgtop2-7 libhal-storage1 libhal1 libisc11 libisccc0
libisccfg1 libkrb53 liblwres9 libmagic1 libmagick9 libmusicbrainz4c2a
libnspr4 libnss3 libpng12-0 libpoppler1 libpoppler1-glib libpq4
libsmbclient libsnmp-base libsnmp9 libsoup2.2-8 libspeex1 libssl0.9.8
libwmf0.2-7 libwpd8c2a libx11-6 libxfont1 linux-386
linux-image-2.6.15-26-386 linux-image-386
linux-restricted-modules-2.6.15-26-386 linux-restricted-modules-386
linux-restricted-modules-common locales lvm2 openoffice.org
openoffice.org-base openoffice.org-calc openoffice.org-common
openoffice.org-core openoffice.org-draw openoffice.org-evolution
openoffice.org-gnome openoffice.org-gtk openoffice.org-impress
openoffice.org-java-common openoffice.org-l10n-en-us openoffice.org-math
openoffice.org-writer openssh-client openssl poppler-utils python-uno
python2.4 python2.4-dbus python2.4-examples python2.4-gdbm
python2.4-minimal python2.4-tk rdesktop samba-common screen slocate
smbclient ssh-askpass-gnome synaptic tar tcpdump ttf-opensymbol w3m xinit
xserver-xorg-core
Nämä UUDET paketit asennetaan:
libdbd-mysql-perl libdbi-perl liblockfile1 libnet-daemon-perl
libplrpc-perl mailx mysql-client-5.0 mysql-server mysql-server-5.0
postfix
Nämä paketit päivitetään:
libmysqlclient15off mysql-common
2 päivitettyä pakettia, 10 uutta asennusta, 0 poistettavaa ja 128 päivittämätöntä.
Tarvitsee noutaa 31,0MB arkistoista. Levytilaa kuluu 68,4MB purkamisen jälkeen.
Haluatko jatkaa? [Kyllä=y/ei=n/?] y
Kirjoitan tilatietoja... Valmis
Nouda:1 http://fi.archive.ubuntu.com dapper/main libnet-daemon-perl 0.38-1 [46,0kB]
Nouda:2 http://fi.archive.ubuntu.com dapper/main libplrpc-perl 0.2017-1 [35,0kB]Nouda:3 http://fi.archive.ubuntu.com dapper/main libdbi-perl 1.50-1 [623kB]
Nouda:4 http://security.ubuntu.com dapper-security/main mysql-common 5.0.22-0ubuntu6.06.3 [39,5kB]
Nouda:5 http://security.ubuntu.com dapper-security/main libmysqlclient15off 5.0.22-0ubuntu6.06.3 [1382kB]
Nouda:6 http://fi.archive.ubuntu.com dapper/main libdbd-mysql-perl 3.0002-2build1 [139kB]
Nouda:7 http://fi.archive.ubuntu.com dapper/main liblockfile1 1.06.1 [14,1kB]
Nouda:8 http://fi.archive.ubuntu.com dapper/main mailx 1:8.1.2-0.20050715cvs-1ubuntu1 [153kB]
Nouda:9 http://security.ubuntu.com dapper-security/main postfix 2.2.10-1ubuntu0.1 [923kB]
Nouda:10 http://security.ubuntu.com dapper-security/main mysql-client-5.0 5.0.22-0ubuntu6.06.3 [6278kB]
Nouda:11 http://security.ubuntu.com dapper-security/main mysql-server-5.0 5.0.22-0ubuntu6.06.3 [21,3MB]
Nouda:12 http://security.ubuntu.com dapper-security/main mysql-server 5.0.22-0ubuntu6.06.3 [37,0kB]
Noudin 31,0MB ajassa 40s (775kB/s)
Esiräätälöidään paketteja...
(Reading database ... 71042 files and directories currently installed.)
Preparing to replace mysql-common 5.0.22-0ubuntu6.06 (using .../mysql-common_5.0.22-0ubuntu6.06.3_all.deb) ...
Unpacking replacement mysql-common ...
Preparing to replace libmysqlclient15off 5.0.22-0ubuntu6.06 (using .../libmysqlclient15off_5.0.22-0ubuntu6.06.3_i386.deb) ...
Unpacking replacement libmysqlclient15off ...
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.38-1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2017-1_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.50-1_i386.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_3.0002-2build1_i386.deb) ...
Selecting previously deselected package liblockfile1.
Unpacking liblockfile1 (from .../liblockfile1_1.06.1_i386.deb) ...
Selecting previously deselected package postfix.
Unpacking postfix (from .../postfix_2.2.10-1ubuntu0.1_i386.deb) ...
Selecting previously deselected package mailx.
Unpacking mailx (from .../mailx_1%3a8.1.2-0.20050715cvs-1ubuntu1_i386.deb) ...
Selecting previously deselected package mysql-client-5.0.
Unpacking mysql-client-5.0 (from .../mysql-client-5.0_5.0.22-0ubuntu6.06.3_i386.deb) ...
Selecting previously deselected package mysql-server-5.0.
Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.0.22-0ubuntu6.06.3_i386.deb) ...
send-mail: fatal: open /etc/postfix/main.cf: No such file or directory
Can't send mail: sendmail process failed with error code 1
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.0.22-0ubuntu6.06.3_all.deb) ...
Setting up mysql-common (5.0.22-0ubuntu6.06.3) ...
Setting up libmysqlclient15off (5.0.22-0ubuntu6.06.3) ...
Setting up libnet-daemon-perl (0.38-1) ...
Setting up libplrpc-perl (0.2017-1) ...
Setting up libdbi-perl (1.50-1) ...
Setting up libdbd-mysql-perl (3.0002-2build1) ...
Setting up liblockfile1 (1.06.1) ...
Setting up postfix (2.2.10-1ubuntu0.1) ...
Lisätään ryhmä `postfix' (115)...
Valmis.
Lisätään käyttäjä `postfix'...
Lisätään uusi käyttäjä `postfix' (109) ryhmällä `postfix'.
Ei luoda kotihakemistoa `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Lisätään ryhmä `postdrop' (116)...
Valmis.
setting myhostname: palvelin
setting alias maps
setting alias database
mailname is not a fully qualified domain name. Not changing /etc/mailname.
setting destinations: palvelin, localhost.localdomain, , localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
Postfix is now set up with a default configuration. If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Running newaliases
* Stopping Postfix Mail Transport Agent postfix [ ok ]
* Starting Postfix Mail Transport Agent postfix [ ok ]
Setting up mailx (8.1.2-0.20050715cvs-1ubuntu1) ...
Setting up mysql-client-5.0 (5.0.22-0ubuntu6.06.3) ...
Setting up mysql-server-5.0 (5.0.22-0ubuntu6.06.3) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Setting up mysql-server (5.0.22-0ubuntu6.06.3) ...