
- #CONFIGURE POSTGRESQL TCP INSTALL#
- #CONFIGURE POSTGRESQL TCP UPDATE#
- #CONFIGURE POSTGRESQL TCP PASSWORD#
Once in here, we’ll have to edit the conf file to specify the listening address’ with “vim nf” Once there we can go to the listening addresses section and change it to listen_addresses = vim nf.Once we have the service running, we’ll have to cd into the postgresql directory with “cd cd /var/lib/pgsql/data/.Then we can enable the postgres service with “systemctl enable –now systemctl enable -now postgresql.Next, we’ll initialize the database, we do this with “postgresql-setup postgresql-setup initdb.
#CONFIGURE POSTGRESQL TCP INSTALL#
We can do this with “yum install postgresql yum install postgresql postgresql-server
#CONFIGURE POSTGRESQL TCP UPDATE#
Once this is done, we can then reload the firewall, as well as the postgres service to update the configuration.# for i in "tcp" "udp" do firewall-cmd -permanent -add-port=5432/$i done Finally, we'll have to enable ports 5234 for tcp and udp so it can communicate with the clients, we can do this with "for i in "tcp" "udp" do firewall-cmd -permanent -add-port=5432/$i done".
#CONFIGURE POSTGRESQL TCP PASSWORD#
Note that the password must be set to "DaVinci" Once in the postgres shell, we'll enter the password configuration with "\password".Once we have this done, we'll have to configure the postgres database as the postgres user, we do this by entering the postgres shell as postgres user with "sudo -u postgres psql".


Once we have the service running, we'll have to cd into the postgresql directory with "cd /var/lib/pgsql/data/".Then we can enable the postgres service with "systemctl enable -now postgresql".Next, we'll initialize the database, we do this with "postgresql-setup initdb".# yum install postgresql postgresql-server We can do this with "yum install postgresql postgresql-server" To begin, we'll have to install the postgresql server on our CentOS 7 server.In this article, we'll install and configure a Postgresql Server on CentOS 7 for use with DaVinci Resolve.
