:~$ sudo aptitude install mysql-server
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be automatically installed:
liblockfile1 mailx mysql-server-5.0 postfix
The following NEW packages will be installed:
liblockfile1 mailx mysql-server mysql-server-5.0 postfix
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 1235kB/26.2MB of archives. After unpacking 70.3MB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Get:1 http://gb.archive.ubuntu.com edgy/main liblockfile1 1.06.1ubuntu1 [14.8kB]
Get:2 http://gb.archive.ubuntu.com edgy/main postfix 2.3.3-1 [1067kB]
Get:3 http://gb.archive.ubuntu.com edgy/main mailx 1:8.1.2-0.20050715cvs-1ubuntu1 [153kB]
Fetched 1235kB in 3s (359kB/s)
Preconfiguring packages ...
Selecting previously deselected package liblockfile1.
(Reading database ... 126210 files and directories currently installed.)
Unpacking liblockfile1 (from .../liblockfile1_1.06.1ubuntu1_i386.deb) ...
Selecting previously deselected package postfix.
Unpacking postfix (from .../postfix_2.3.3-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-server-5.0.
Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.0.24a-9ubuntu1_i386.deb) ...
* Stopping MySQL database server mysqld [ ok ]
adduser: Warning: that home directory does not belong to the user you are currently creating
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.0.24a-9ubuntu1_all.deb) ...
Setting up liblockfile1 (1.06.1ubuntu1) ...
Setting up postfix (2.3.3-1) ...
Adding group `postfix' (118)...
Done.
Adding system user `postfix' with uid 111...
Adding new user `postfix' (111) with group `postfix'.
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (119)...
Done.
setting myhostname: Xerox
setting alias maps
setting alias database
mailname is not a fully qualified domain name. Not changing /etc/mailname.
setting destinations: Xerox, localhost.localdomain, localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: loopback-only
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-server-5.0 (5.0.24a-9ubuntu1) ...
* Stopping MySQL database server mysqld [ ok ]
* Starting MySQL database server mysqld [ ok ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
Setting up mysql-server (5.0.24a-9ubuntu1) ...