2002| Install Zabbix 6.0 on Ubuntu 20.04 |Free | Opensource |Enterprise Ready|

Опубликовано: 10 Март 2025
на канале: FOSS DOM
585
5

Install Zabbix

sudo apt-get update && sudo apt-get upgrade -y

wget https://repo.zabbix.com/zabbix/6.0/ub...

dpkg -i zabbix-release_6.0-3+ubuntu20.04_all.deb
apt update

apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent

Install and configure Mysql
apt install mysql-server -y

systemctl start mariadb
systemctl status mariadb

mysql -uroot -p

create database zabbix character set utf8mb4 collate utf8mb4_bin;
create user zabbix@localhost identified by 'zabbix@123';
grant all privileges on zabbix.* to zabbix@localhost;
quit;

You wil be prompted to enter the password, enter the above newly created password "zabbix@123"

zcat /usr/share/doc/zabbix-sql-scripts/mysql/server.sql.gz | mysql -uzabbix -p zabbix

Update the DB password

nano /etc/zabbix/zabbix_server.conf

systemctl restart zabbix-server zabbix-agent apache2
systemctl enable zabbix-server zabbix-agent apache2
```

http:10.100.100.237/zabbix
Default Login:
Admin/zabbix

*************ADDNING LINUX MACHINE TO MONITOR******

apt install zabbix-agent

nano /etc/zabbix/zabbix_agentd.conf

[UPDATE BELOW]

Server=172.16.10.101

ServerActive=172.16.10.101

Hostname=TestVM

service zabbix-agent restart

service zabbix-agent status