Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

sudo apt-get update

sudo apt-get install -y wget apt-transport-https libxml2-dev libsnmp-dev libevent-


dev libcurl4-openssl-dev libssl-dev
wget https://repo.zabbix.com/zabbix/5.4/debian/pool/main/z/zabbix-release/zabbix-
release_5.4-1+debian9_all.deb
sudo dpkg -i zabbix-release_5.4-1+debian9_all.deb
sudo apt-get update
sudo apt-get install -y zabbix-server-mysql zabbix-frontend-php zabbix-agent
sudo apt-get install -y mysql-server
sudo mysql_secure_installation
sudo mysql -u root -p
CREATE DATABASE zabbix CHARACTER SET utf8 COLLATE utf8_bin;
CREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON zabbix.* TO 'zabbix'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
exit
zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | sudo mysql -u zabbix -p
zabbix
sudo nano /etc/zabbix/zabbix_server.conf
DBName=zabbix
DBUser=zabbix
DBPassword=password
sudo systemctl restart zabbix-server zabbix-agent apache2
sudo systemctl enable zabbix-server zabbix-agent apache2
http://adresse_IP_de_votre_serveur/zabbix/

You might also like