Cuma, Haziran 13, 2014

How To Install PostgreSQL 9.3 on CentOS 6.5

Update your system

[root@centos]# yum update
 
Install tools needed for DB 

[root@centos]# yum install git wget 
[root@centos]# yum groupinstall "Development tools" 
 
Then finish PostgreSQL installation

[root@centos]# rpm -Uvh http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm
[root@centos]# yum install postgresql93-server postgresql93-contrib postgresql93-devel 
[root@centos]# service postgresql-9.3 initdb 
[root@centos]# chkconfig postgresql-9.3 on
 

Hiç yorum yok: