Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorial:adm:server_preparation_tmp [2020/03/10 11:46] urbanl [Instalation and software configuration] |
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 | yum install -y postgresql96-server postgresql96-contrib pgstat2_96 pg_top96 | ||
</ | </ | ||
- | #TODO | + | |
- | | + | |
<code bash> | <code bash> | ||
- | # add repository | + | # enable |
- | yum install -y https:// | + | yum module |
- | # disable centos8 build-in | + | yum install -y postgresql-server |
- | yum module | + | |
- | # install postgresql components | + | |
- | yum install -y postgresql11-server | + | |
</ | </ | ||
* create new system directory: | * create new system directory: | ||
- | < | + | |
+ | < | ||
mkdir -p / | mkdir -p / | ||
chown -R postgres: | chown -R postgres: | ||
chmod 700 /data/pgsql | chmod 700 /data/pgsql | ||
</ | </ | ||
+ | |||
* 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 / | cp / | ||
</ | </ | ||
+ | |||
In the file ''/ | In the file ''/ | ||
< | < |