|
postgres@blithe:/home/blithe/zlib-1.2.3$ su
Password:
blithe:/home/blithe/zlib-1.2.3# apt-get install postgresql
Reading Package Lists... Done
Building Dependency Tree... Done
postgresql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 365 not upgraded.
blithe:/home/blithe/zlib-1.2.3# su postgres
postgres@blithe:/home/blithe/zlib-1.2.3$ /etc/init.d/postgresql-7.4 start
Starting PostgreSQL 7.4 database server:.
postgres@blithe:/home/blithe/zlib-1.2.3$ su
Password:
blithe:/home/blithe/zlib-1.2.3# ps -A|grep -i postgre
blithe:/home/blithe/zlib-1.2.3# netstat -atpn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:874 0.0.0.0:* LISTEN 3666/famd
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 3931/vino-server
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 3054/portmap
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3590/exim4
tcp 15 0 192.168.0.11:34151 192.168.0.1:21 CLOSE_WAIT 16343/gftp-gtk
tcp 0 0 192.168.0.11:33213 207.46.0.40:1863 ESTABLISHED4115/gaim
tcp6 0 0 :::22 :::* LISTEN 3641/sshd
blithe:/home/blithe/zlib-1.2.3#
我上次就是这么装上的,而且安装过程有些东西要我配置,这次什么选项不让我选就安装结束了。
:help :help |
|