

You can optionally configure PostgreSQL to send its logs to the syslog service. Open the /var/lib/pgsql/10/data/nf file in a text editor and uncomment the following line: port = 5432Ĭonfigure PostgreSQL to Use Syslog (optional) Then save the file and run the command systemctl daemon-reload.Įnter the following command to start the Postgresql service: systemctl start postgresql-10 If you are using CentOS 8 or RHEL 8, edit the service unit file of PostgreSQL from /usr/lib/systemd/system/rvice and make the following entry in the Unit section: After=network-online.target. Instructions for CentOS 8 and RHEL 8 users You must initialize and start the database server before you can configure it for use with CCC.Įnter the following command to initialize the PostgreSQL database: /usr/pgsql-10/bin/postgresql-10-setup initdbĮnter the following command to enable automatic startup of the PostgreSQL database: systemctl enable rvice Initialize the PostgreSQL Database and Start the PostgreSQL Service
#Postgresql yum repo download#
If you are a CentOS 8 or RHEL 8 user, download PostgreSQL using the following link. If you are a CentOS 7 or RHEL 7 user, download PostgreSQL using the following link.
#Postgresql yum repo install#
If you are using CentOS 8 or RHEL 8, run the dnf -qy module disable postgresql &>/dev/null command.Įnter the following command to install the RPM: Locate the correct PostgreSQL Yum Repository RPM for your operating system and copy its link location (URL).

Log in as root to the server you will use to host the CCC PostgreSQL database. Skip steps 1 to 5 mentioned below, in case you have decided to install PostgreSQL Database during server installation.Īs an example, all the following commands use PostgreSQL 10. Skip steps 1 to 5 mentioned below, in case you wish to install PostgreSQL manually.Īs a CCC administrator, you can also install PostgreSQL during server installation. The PostgreSQL RPM is available for download from.

For example, the following entry adds the host postgresql_ Open the /etc/hosts file in a text editor.Īdd an entry for the database server host. To add the database server to the CCC server hosts file In case you encounter an error, ensure that you are meeting all the requirements for If you have any questions, please either email to or create a ticket at our redmine.To install PostgreSQL database manually on the same server or on an external server:Īdd the hostname/IP of the database server to the CCC server's /etc/hosts file.Ĭonfigure PostgreSQL to use syslog, if desired.ĬCC supports one-way SSL authentication for PostgreSQL databaseĬonfigure PostgreSQL to allow CCC to connect to the database. Yum install postgresql-server (for 8.4 and below) If you are looking for versions less than 9.0, please note that we did not have the PostgreSQL version number attached to the RPM name, so omit it while installing them, like: Now, you can install PostgreSQL 9.0 on RHEL/CentOS 6: You can chance PostgreSQL version and the distro version in the baseurl and othjer places.

Gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG Name=PostgreSQL 9.0 RPMs for RHEL/CentOS 6 If you want to install PostgreSQL 9.0 on RHEL / CentOS 6, please first run this command: So, if you want to install one of this combination, you need to create the repo file first. There is a chart of available PostgreSQL version/OS combination. The RHEL packages work for the corresponding versions on CentOS and Scientific Linux as well. In order to use this repo, you need to create special repo config files.
#Postgresql yum repo archive#
Unsupported PostgreSQL releases are archived to PostgreSQL YUM archive repo.
