# Zabbix_Installation Sur une machine virtuelle Red Hat Enterprise Linux 8 installée au préalable sans interface graphique et authentifier en root. ## En ligne de commande sur putty # ip a # dnf update && dnf upgrade # rpm -Uvh https://repo.zabbix.com/zabbix/5.4/rhel/8/x86_64/zabbix-release-5.4-1.el8.noarch.rpm # dnf clean all # dnf install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-sql-scripts zabbix-agent # dnf install mysql-server # systemctl start mysqld.service # mysql_secure_installation # mysql -u root -p * P@ssw0rd * mysql> create database zabbix character set utf8 collate utf8_bin; * mysql> create user zabbix@localhost identified by 'P@ssw0rd'; * mysql> grant all privileges on zabbix.* to zabbix@localhost; * mysql> quit; # zcat /usr/share/doc/zabbix-sql-scripts/mysql/create.sql.gz | mysql -uzabbix -p zabbix # nano /etc/zabbix/zabbix_server.conf * DBPassword=P@ssw0rd # setsebool -P httpd_unified 1 # setsebool -P httpd_can_network_connect 1 # setsebool -P httpd_graceful_shutdown 1 # setsebool -P httpd_can_network_relay 1 # setsebool -P nis_enabled 1 # setsebool -P httpd_can_network_connect_db 1 # setsebool -P httpd_can_sendmail on # systemctl enable --now mysqld.service # systemctl enable --now httpd # systemctl enable zabbix-server zabbix-agent httpd php-fpm # firewall-cmd --add-port={80,443}/tcp --permanent # firewall-cmd --reload ## On se connecte sur un navigateur internet http://IP/zabbix         
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up