PR#2235: doc: update postgresql-setup command for el8 and Fedora
Merges #2235 https://pagure.io/koji/pull-request/2235
This commit is contained in:
commit
7dd17800ec
1 changed files with 8 additions and 3 deletions
|
|
@ -383,11 +383,16 @@ Install the ``postgresql-server`` package::
|
|||
Initialize PostgreSQL DB:
|
||||
-------------------------
|
||||
|
||||
The following commands will initialize PostgreSQL and will start the database service
|
||||
|
||||
::
|
||||
Initialize PostgreSQL::
|
||||
|
||||
# On RHEL 7:
|
||||
root@localhost$ postgresql-setup initdb
|
||||
|
||||
# Or RHEL 8 and Fedora:
|
||||
root@localhost$ postgresql-setup --initdb --unit postgresql
|
||||
|
||||
And start the database service::
|
||||
|
||||
root@localhost$ systemctl enable postgresql --now
|
||||
|
||||
Setup User Accounts:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue