EP.120-Install Zabbix Server with PostgreSQL+nginx

preview_player
Показать описание
Install Zabbix Server with PostgreSQL + NGINX
Рекомендации по теме
Комментарии
Автор

First, disable the built-in PostgreSQL
#dnf -qy module disable postgresql

enable the official PostgreSQL Yum Repository as shown

PostgreSQL 12 server and client packages.
#dnf install -y postgresql14-server postgresql14

# Optionally initialize the database and enable automatic start:
#sudo initdb
#sudo systemctl enable postgresql-14
#sudo systemctl start postgresql-14



Secure and Configure PostgreSQL Database
#passwd postgres

Then switch to the Postgres system account and create a secure and strong password for PostgreSQL administrative database user/role as follows

# su - postgres
#$ exit




#systemctl restart postgresql-14

#systemctl enable postgresql-14



#sudo dnf install nginx
#sudo firewall-cmd --permanent --list-all
#sudo firewall-cmd --permanent --add-service=http
#sudo firewall-cmd --permanent --list-all
#sudo firewall-cmd --reload

#ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'

#sudo systemctl stop nginx
#sudo systemctl start nginx
#sudo systemctl restart nginx
#sudo systemctl reload nginx

By default, Nginx is configured to start automatically when the server boots. If this is not what you wish, you can disable this behavior by typing:

#sudo systemctl disable nginx
#sudo systemctl enable nginx


ที่เหลือทำตามในหน้า web

itkconfig
Автор

mantap bang keren banget caranya, terimakasih bang

lyricindo