In this tutorial how to install zabbix server 6.0 on ubuntu 20.04. Zabbix is an open source server resource and network monitoring tools.
★ How To Install Xen Orchestra On Ubuntu 18.04 For Manage XEN Server
★ How To Install KVM Server on CentOS 7 – Apache Cloud Stack KVM
#################################################### Operating system: Ubuntu 20.04 IP address : 192.168.0.150 RAM : 2GB DISK space : 50GB vCPU : 2 Service : ZABBIX 6.0 Alpha PHP version : 7.4 Mysql : 8.0 Hostname : zabbix-server.technologyrss.local ####################################################
Step #01: Install zabbix 6.0.
lsb_release -a && ip r apt update && apt upgrade -y wget https://repo.zabbix.com/zabbix/5.5/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.5-1+ubuntu20.04_all.deb dpkg -i zabbix-release_5.5-1+ubuntu20.04_all.deb apt update apt install -y zabbix-server-mysql zabbix-frontend-php zabbix-nginx-conf zabbix-sql-scripts zabbix-agent
Install mysql database server.
apt install -y mysql-server-8.0
Step #02: Configure database (you can replace user password from zabbix@123).
mysql -uroot -p
Then create database and user using below command.
create database zabbix_db character set utf8 collate utf8_bin; create user zabbix_user@localhost identified by 'zabbix@123'; GRANT CREATE, ALTER, DROP, INSERT, UPDATE, DELETE, SELECT, REFERENCES, RELOAD on *.* TO 'zabbix_user'@'localhost' WITH GRANT OPTION; grant all privileges on zabbix_db.* to zabbix_user@localhost; FLUSH PRIVILEGES;
Step #03: Import zabbix default database.
zcat /usr/share/doc/zabbix-sql-scripts/mysql/create.sql.gz | mysql -uroot -p zabbix_db
Default mysql root password is blank, not needed type any password.
Step #04: Add database name, database user and database password
nano /etc/zabbix/zabbix_server.conf
Insert below three lines into this file, but must be replace database name and database user.
DBName=zabbix_db DBUser=zabbix_user DBPassword=zabbix@123
Step #05: Setup server ip address.
vi /etc/zabbix/nginx.conf
Add your time zone from last line
listen 80; server_name 192.168.0.150
Step #06: Restart and enable all services.
systemctl restart zabbix-server zabbix-agent nginx php7.4-fpm systemctl enable zabbix-server zabbix-agent nginx php7.4-fpm
Access your server ip address and complete web installation process.
http://10.66.100.15/
Now install from web browser then login using default user name and password.
Click Next step
Check of pre-requisites, if all is ok then click Next step
Configure database connection like database name, user and password then click Next step
click Next step
Click Finish
Now using default user name and password.
Username : Admin (Must be use ‘A’ is capital)
Password : zabbix
If needed more help, so please see my YouTube channel for more information.
- How To Install Zabbix Server 6.4 On AlmaLinux 8 Server - August 9, 2024
- How To Clear RAM Memory Cache Buffer Linux Server - February 29, 2024
- How To Install Apache Cloud Stack Management Server 4.17 On Ubuntu 22.04 - February 1, 2024
Leave a Comment