Please subscribe and help boost the channel @itsolutions5098 !
sudo apt update
sudo apt install mysql-server
sudo systemctl start mysql.service
sudo mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
sudo mysql_secure_installation
mysql -u root -p
ALTER USER 'root'@'localhost' IDENTIFIED WITH auth_socket;
wget https://repo.zabbix.com/zabbix/6.4/ub...
dpkg -i zabbix-release_6.4-1+ubuntu20.04_all.deb
apt update
apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
mysql -u root -p
create database zabbix character set utf8mb4 collate utf8mb4_bin;
create user zabbix@localhost identified by 'zabbix';
grant all privileges on zabbix.* to zabbix@localhost;
set global log_bin_trust_function_creators = 1;
quit;
zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix
mysql -u root -p
set global log_bin_trust_function_creators = 0;
quit;
Open zabbix config file and set the below mentioned
nano /etc/zabbix/zabbix_server.conf
DBName=name (in my case zabbix)
DBUser=user (in my case zabbix)
DBPassword=password (in my case zabbix)
AllowUnsupportedDBVersions=1
systemctl restart zabbix-server zabbix-agent apache2
systemctl enable zabbix-server zabbix-agent apache2
By default Zabbix Credentials:
Username - Admin
Password - your own password (in my case zabbix)