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 10:14] urbanl [Instalation and software configuration] |
tutorial:adm:server_preparation_tmp [2020/03/11 08:24] urbanl [Database server installation - CentOS7 and CentOS8 -!CHANGED] |
||
---|---|---|---|
Line 51: | Line 51: | ||
yum list installed | yum list installed | ||
# other recommended packages installation | # other recommended packages installation | ||
- | yum install -y mc haveged nmap screen sysstat telnet | + | yum install -y mc haveged nmap screen sysstat telnet |
</ | </ | ||
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): | + | * Software installation on CentOS8(versions can vary): |
<code bash> | <code bash> | ||
- | yum install -y https:// | + | # enable |
- | yum install -y postgresql96-server postgresql96-contrib pgstat2_96 pg_top96 | + | yum module |
- | </ | + | yum install -y postgresql-server |
- | #TODO | + | |
- | * Software installation on CentOS7(versions can vary): | + | |
- | <code bash> | + | |
- | # add repository | + | |
- | yum install -y https:// | + | |
- | # disable centos8 build-in | + | |
- | 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 ''/ | ||
< | < |