Introduction Last updated: 2024-11-23
This document explains the guidelines for installing, deploying, maintaing and trouble-shooting various applications deployed at CFCICI.
This document explains the guidelines for installing, deploying, maintaing and trouble-shooting various applications deployed at CFCICI.
Installation guides for various deployments at CFCICI DC.
Steps for installing Zabbix Server 6.2 & Agent in Ubuntu 22.04
wget https://repo.zabbix.com/zabbix/6.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.2-4%2Bubuntu22.04_all.deb
dpkg -i zabbix-release_6.2-4+ubuntu22.04_all.deb
apt update
apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
apt install mysql-server
systemctl start mysql.service
mysql
mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
mysql> quit
mysql -uroot -p
*password*
mysql> create database zabbix character set utf8mb4 collate utf8mb4_bin;
mysql> create user zabbix@localhost identified by 'zabbix';
mysql> grant all privileges on zabbix.* to zabbix@localhost;
mysql> set global log_bin_trust_function_creators = 1;
mysql> quit;
On Zabbix server host import initial schema and data. You will be prompted to enter your newly created password.
zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix
Disable log_bin_trust_function_creators option after importing database schema.
mysql -uroot -p
*password*
mysql> set global log_bin_trust_function_creators = 0;
mysql> quit;
Edit file /etc/zabbix/zabbix_server.conf
DBPassword=zabbix
systemctl restart zabbix-server zabbix-agent apache2
systemctl enable zabbix-server zabbix-agent apache2
Username: Admin
Password: zabbix
URL: http://localhost/zabbix