Install postgres 10 on centos 7
Postgres 10 beta 3 has been released so I will show you how to install postgres 10 on centos 7.
The PostgreSQL Global Development Group announces today that the third beta release of PostgreSQL 10 is available for download. This release contains previews of all of the features which will be available in the final release of version 10, including fixes to many of the issues found in the second beta. Users are encouraged to begin testing their applications against 10 beta3.
Add repo for postgres 10
Firstly we need to add pgdg 10 repository in CentOS 7
Install Postgresql 10
yum groupinstall "PostgreSQL Database Server 10 PGDG"
Create a new PostgreSQL database cluster
Restart the services of postgresql
Your ads will be inserted here by
Easy Plugin for AdSense.
Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.
systemctl start postgresql-10
systemctl enable postgresql-10
Read Also: How to install minio on centos 7
PostgreSQL installation is done. If you want to use postgreSQL log in postgres account by typing following command
su - postgres
You can get postgres console by typing
Now use the postgresql as you want to use. To get the help use \h command.
Read Also: Useful s3 commands
If you have any problem using this tutorial feel free to comment.