woody1983 发表于 2013-1-30 01:24:48

postgresql-9.2beta2 安装相关

wget http://ftp.postgresql.org/pub/source/v9.2.0beta2/postgresql-9.2beta2.tar.gz
 
./configure && make && make install
初次接触 安装时没有太多的参数。
PostgreSQL installation complete.  安装完毕的提示
 
然后新建用户组

# groupadd postgresql
# useradd -g postgresql postgresql
# cd /home/postgresql/
# ls -lah
total 24K
drwx------  2 postgresql postgresql 4.0K Jun 19 09:48 .
drwxr-xr-x 11 root       root       4.0K Jun 19 09:48 ..
-rw-r--r--  1 postgresql postgresql   24 Jun 19 09:48 .bash_logout
-rw-r--r--  1 postgresql postgresql  176 Jun 19 09:48 .bash_profile
-rw-r--r--  1 postgresql postgresql  124 Jun 19 09:48 .bashrc
# vi .bash_profile
添加如下Path
页: [1]
查看完整版本: postgresql-9.2beta2 安装相关