docs: use "postgresql-setup initdb" to initialize database
Replace the old RHEL 5-era command with the newer command, available in RHEL 7 and later.
This commit is contained in:
parent
896d80a19f
commit
3a83f61292
1 changed files with 1 additions and 1 deletions
|
|
@ -385,7 +385,7 @@ The following commands will initialize PostgreSQL and will start the database se
|
|||
|
||||
::
|
||||
|
||||
root@localhost$ su - postgres -c "PGDATA=/var/lib/pgsql/data initdb"
|
||||
root@localhost$ postgresql-setup initdb
|
||||
root@localhost$ systemctl enable postgresql
|
||||
root@localhost$ systemctl start postgresql
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue