Question
How do I install and configure PostgreSQL on my cPanel server?
Answer
CPANEL_INFO: Please note, PostgreSQL is not available on Ubuntu based servers.
cPanel & WHM version 118 and earlier
- Login to WHM as the
rootuser. - Navigate to Home / Server Configuration / Terminal
-
Run the following command.
# /usr/local/cpanel/scripts/installpostgres
- Navigate to Home / SQL Services / Configure PostgreSQL
- Click on Install Config
- Click OK on the popup to install the config.
- Click on Configure PostgreSQL to navigate back to the interface.
- Click on Create Users
- Click on Configure PostgreSQL to navigate back to the interface.
- Click on Password Generator to create a password for the Postgres user.
- Click Change Password
cPanel & WHM version 120 and later
- Login to WHM as the
rootuser. - Navigate to Home / Server Configuration / Terminal
-
Run the following command.
# /usr/local/cpanel/scripts/installpostgres
- After the installation has completed, navigate to Home / Database Services / Configure PostgreSQL
- Click on Install Config
- Click OK on the pop-up to install the config.
- Click on Configure PostgreSQL to navigate back to the interface.
- Click on Create Users
- Click on Configure PostgreSQL to navigate back to the interface.
- Click on Password Generator to create a password for the Postgres user.
- Click Change Password
Comments
0 comments
Article is closed for comments.