install postgresql 10 centos 7 1

install postgresql 10 centos 7

# centos 5 32bit
rpm -Uvh http://yum.postgresql.org/9.1/redhat/rhel-5-i386/pgdg-centos91-9.1-4.noarch.rpm
yum install postgresql91-server
/etc/init.d/postgresql-9.1 initdb
service postgresql-9.1 start
chkconfig postgresql-9.1 on

Here is what the above code is Doing:
1. Install the PostgreSQL 9.1 repository RPM
2. Install the PostgreSQL 9.1 server
3. Initialize the database
4. Start the database server
5. Configure the database server to start on boot

Similar Posts