postgresql and pgAdmin-安装


OS:fedora 17    postgresql:postgresql-9.2.4   pgAdmin:pgadmin3-1.16.1

  • 安装postgresql

download source:

axel -a http://ftp.postgresql.org/pub/source/v9.2.4/postgresql-9.2.4.tar.gz
tar zxvf postgresql-9.2.4.tar.gz
cd postgresql-9.2.4
./configure
1.configure: error: readline library not found
sudo yum install readline-devel
./configure
make
sudo make install

  • 安装pgadmin
axel -a http://ftp.postgresql.org/pub/pgadmin3/release/v1.16.1/src/pgadmin3-1.16.1.tar.gz
tar zxvf pgadmin3-1.16.1.tar.gz
cd pgadmin3-1.16.1
./configure --with-gtk --enable-gtk2 --enable-unicode

1.configure: error: Could not find your wxWidgets installation. You might need to use the --with-wx=DIR configure option

sudo yum install wxGTK-devel
./configure --with-gtk --enable-gtk2 --enable-unicode
make 
sudo make install





你可能感兴趣的:(postgresql and pgAdmin-安装)