reqoplights.blogg.se

Install postgresql rhel 7
Install postgresql rhel 7










install postgresql rhel 7

Also, enable PostgreSQL service to autostart on system boot.įor CentOS/RHEL 7 and Fedora systemctl start postgresql-9.6įor CentOS/RHEL 6 service postgresql-9.6 startĪfter completing above steps, you have installed PostgreSQL 9.6 on your server, Let’s log in to postfix to verify that installation completed successfully. To start PostgreSQL service using the following command as per your operating systems. PostgreSQL data directory Path: /var/lib/pgsql/9./data/ Start PostgreSQL Server PGDATA environment variable contains the path of the data directory. usr/pgsql-9.6/bin/postgresql96-setup initdbĪbove command will take some time to initialize PostgreSQL first time. To initialize database use below command. yum install postgresql96-server postgresql96Īfter installing PostgreSQL server, It’s required to initialize it before using the first time. Installing PostgreSQL ServerĪfter enabling PostgreSQL yum repository in your system use following command to install PostgreSQL 9.6 on your system with yum package manager. # CentOS/RHEL 7 # rpm -Uvh įor more details visit PostgreSQL repositories link page where you can get repository package rpm for various operating systems. The first step is to install PostgreSQL repository in your system, Use one of below commands as per your system architecture and operating system. Advertisement Adding PostgreSQL Yum Repository












Install postgresql rhel 7