Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorial:adm:server_preparation_tmp [2020/03/10 15:08]
urbanl [TODO]
tutorial:adm:server_preparation_tmp [2020/03/10 15:11]
urbanl [TODO]
Line 67: Line 67:
 yum install -y postgresql96-server postgresql96-contrib pgstat2_96 pg_top96  postgresql96-libs yum install -y postgresql96-server postgresql96-contrib pgstat2_96 pg_top96  postgresql96-libs
 </code> </code>
-#TODO 
   * Software installation on CentOS8(versions can vary):   * Software installation on CentOS8(versions can vary):
 +
 <code bash> <code bash>
 # enable module postgres 12 # enable module postgres 12
Line 77: Line 77:
   * create new system directory:   * create new system directory:
  
-<code>+<code bash>
 mkdir -p /data/pgsql/11/data/ mkdir -p /data/pgsql/11/data/
 chown -R postgres:postgres /data/pgsql/ chown -R postgres:postgres /data/pgsql/
Line 84: Line 84:
  
   * Copy of the configuration file for systemd, in which we will make change of directory for data:   * Copy of the configuration file for systemd, in which we will make change of directory for data:
 +
 <code bash> <code bash>
 cp /usr/lib/systemd/system/postgresql-11.service /etc/systemd/system/ cp /usr/lib/systemd/system/postgresql-11.service /etc/systemd/system/
 </code> </code>
 +
 In the file ''/etc/systemd/system/postgresql-11.service'' change the directory for data as follows: In the file ''/etc/systemd/system/postgresql-11.service'' change the directory for data as follows:
 <code> <code>