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 [Database server installation - CentOS7] |
tutorial:adm:server_preparation_tmp [2020/03/10 15:08] urbanl [TODO] |
||
---|---|---|---|
Line 45: | Line 45: | ||
</ | </ | ||
+ | -!CHANGED | ||
When installing to centos8, check and install these packages: | When installing to centos8, check and install these packages: | ||
< | < | ||
Line 50: | 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 67: | Line 68: | ||
</ | </ | ||
#TODO | #TODO | ||
- | * Software installation on CentOS7(versions can vary): | + | * Software installation on CentOS8(versions can vary): |
<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 / | ||
Line 83: | Line 82: | ||
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> |