Since we already expect you to know how to install PostgreSQL, I am going to talk about how to install it (in brief) before proceeding to the next recipes. PostgreSQL can be installed using both sources and packages. This recipe will show a few simple steps on how to install Postgres on CentOS.
Getting ready
To install PostgreSQL on CentOS, it is important that you have root access or sudo access to perform the installation using YUM. Additionally, the server should be able to connect to the PGDG repository over the internet and download the necessary packages and dependencies.
How to do it...
Follow these steps to complete this recipe:
- Go to https://postgresql.org/download and click on the operating system that you'll be downloading the PostgreSQL packages for, such as Linux for CentOS or Ubuntu/Debian distributions:
- Click on the appropriate distribution the packages are needed for.
- After clicking on the appropriate distribution...