Wednesday, June 7, 2017

Linux: Install PostgreSQL on Fedora 25 server

1. Update the system.

dnf update


2. Install PostgreSQL. 

dnf install postgresql-server postgresql-contrib



3. PostgreSQL initial configuration.

systemctl enable postgresql



postgresql-setup --initdb --unit postgresql
systemctl start postgresql


3. Test PostgreSQL.


su - postgres
psql
\l

No comments:

Post a Comment