How to install Zabbix ( software tool to monitor IT infrastructure) Server on Ubuntu
Quickloss3
Update Server: apt update && apt upgrade -y
Set hostname: hostnamectl set-hostname ex.example.com
Install Nginx, MySQL, PHP: sudo apt install nginx sudo apt install mysql-server sudo mysql_secure_installation sudo apt install php-fpm php-mysql
Installing the Zabbix Server: wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb sudo dpkg -i zabbix-release_5.0-1+focal_all.deb sudo apt update sudo apt install zabbix-server-mysql zabbix-frontend-php sudo apt install zabbix-agent
Configuring the MySQL Database: sudo mysql -u root -p create database zabbix character set utf8 collate utf8_bin; create user zabbix@localhost identified by 'your_password'; grant all privileges on zabbix.* to zabbix@localhost; quit; zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix sudo nano /etc/zabbix/zabbix_server.conf update
DBPassword=
Configuring Nginx for Zabbix: sudo apt install zabbix-nginx-conf sudo nano /etc/zabbix/nginx.conf update server { listen 80; server_name ex.example.com;
sudo nginx -t sudo nginx -s reload
Configuring PHP for Zabbix: sudo nano /etc/zabbix/php-fpm.conf update ; php_value[date.timezone]
sudo systemctl restart php7.4-fpm.service sudo systemctl start zabbix-server sudo systemctl status zabbix-server sudo systemctl enable zabbix-server
Configuring Settings for the Zabbix Web Interface: http://ex.example.com
user- Admin pass- zabbix ... https://www.youtube.com/watch?v=cd3ZTzNePEk
34240341 Bytes