In this article, we will examine the installation of PostgreSQL on linux, which attracts attention with its large-scale data management and increases the market share in the last years.
We will perform RPM based installation for enterprise linux based systems such as RedHat / Centos / Scientefic. In addition, we will compile from generic source code.
Installation on Redhat
The following commands are executed to start Postgres and open it automatically on boot progress.
Installation completed then we can connect to postgresql now. To check whether it is runing properly or not you can execute following commands. (5432 default TCP port for postgreSQL)
Steps to install from source code
Success. You can now start the database server using: