Quick Answer: How to Install Postgresql in Linux?
Contents for Yum Installations (Fedora / Red Hat / Centos / Scientific Linux) Head over to Postgresql Yum Repository. Select the Version of Postgresql That You...
Contents
For YUM installations (Fedora / Red Hat / CentOS / Scientific Linux)
- Head over to PostgreSQL Yum Repository.
- Select the version of PostgreSQL that you want to install and then your OS, version and architecture.
- Install the RPM.
- Do a quick search which will show you available packages for postgres.
How do I start PostgreSQL on Ubuntu?
Installing PostgreSQL using APT
- Log into your server via SSH.
- Access root by running the following command: sudo su –
- To install PostgreSQL, as well as the necessary server software, run the following command:
- Configure PostgreSQL to start up upon server boot.
- Start PostgreSQL.
How do I install PostgreSQL?
To Install PostgreSQL via Graphical Mode
- Download PGInstaller here.
- Click on the executable file to run the installer.
- Select your preferred language.
- Specify directory where you want to install PostgreSQL.
- Specify PostgreSQL server port.
- Specify data directory to initialize PostgreSQL database.