Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
sudo yum install -y postgresql-server postgresql-contrib

Initialize the Database

Code Block

sudo postgresql-setup initdb

Start the Database

Code Block

sudo systemctl start postgresql

Enable PostgreSQL

Code Block

sudo systemctl enable postgresql

...