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 15:08] urbanl [TODO] |
tutorial:adm:server_preparation_tmp [2020/03/11 08:24] urbanl [Database server installation - CentOS7 and CentOS8 -!CHANGED] |
||
---|---|---|---|
Line 58: | Line 58: | ||
screen dnsutils sysstat lsof haveged nmap tcpdump traceroute tcptraceroute curl iptables-persistent | screen dnsutils sysstat lsof haveged nmap tcpdump traceroute tcptraceroute curl iptables-persistent | ||
</ | </ | ||
- | ===== PostgreSQL ===== | + | ===== PostgreSQL |
<note tip>If you are install CzechIdM on Sql server, please follow [[tutorial: | <note tip>If you are install CzechIdM on Sql server, please follow [[tutorial: | ||
- | CentOS7 | + | CentOS8 |
- | ==== Database server installation - CentOS7 and CentOS8 -!CHANGED ==== | + | ==== Database server installation - CentOS8 -!CHANGED ==== |
- | * Software installation on CentOS7(versions can vary): | + | |
- | <code bash> | + | |
- | yum install -y https:// | + | |
- | yum install -y postgresql96-server postgresql96-contrib pgstat2_96 pg_top96 | + | |
- | </ | + | |
- | #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 76: | Line 71: | ||
* 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 ''/ | ||
< | < |