How To Install Zabbix Server 5.4 On Debian 114 min read
In this tutorial how to install zabbix server 5.4 on debian 11. 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: Debian GNU/Linux 11 (bullseye) IP address : 10.66.100.15 RAM : 2GB DISK space : 50GB vCPU : 2 Service : ZABBIX PHP version : 7.4 MariaDB : 15.1 Hostname : zabbix-server.technologyrss.local #######################################
Step #01: Install zabbix 5.4.
apt update && apt upgrade -y wget https://repo.zabbix.com/zabbix/5.4/debian/pool/main/z/zabbix-release/zabbix-release_5.4-1+debian11_all.deb dpkg -i zabbix-release_5.4-1+debian11_all.deb apt update apt install -y zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
Install some dependency package and database server.
apt -y install software-properties-common gnupg2 apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8 add-apt-repository "deb [arch=amd64] http://mariadb.mirror.liquidtelecom.com/repo/10.5/debian $(lsb_release -cs) main" apt update apt install -y mariadb-server mariadb-client
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 php time zone.
nano /etc/zabbix/apache.conf
Add your time zone from last line
php_value[date.timezone] = Asia/Dhaka
Step #06: Restart and enable all services.
systemctl restart zabbix-server zabbix-agent apache2 systemctl enable zabbix-server zabbix-agent apache2
Access your server ip address and complete web installation process.
http://10.66.100.15/zabbix/
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
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!