December 2018
Beginner
826 pages
22h 54m
English
Like Maria, we actually have to install the software first:
$ sudo yum install postgresql-server -y
Unlike Maria, we have to set Postgres up before we can use it:
$ sudo postgresql-setup initdbInitializing database ... OK
However, once that's done, you can start and enable the server:
$ sudo systemctl enable --now postgresql
Now, log into your database (in a slightly different fashion than Maria):
$ sudo -u postgres psql psql (9.2.24)Type "help" for help.postgres=#