Zabbix is very much needed to monitor all your servers. Both updates have been released a few days ago. So how do you make a lot of updates on your server? I have many post on Zabbix features. Such as
★ Send Mail Notification From Zabbix Server Using Gmail
★ How To Add Windows Host In Zabbix Server
Now very important think how can I upgrade my Zabbix server 3.2.6 to 3.4.1
Step #01: First you can stop your Zabbix server.
root@zabbix-server:~# service zabbix-server stop
Step #02: Backup your Zabbix databases for risk free. But I can’t needed.
root@zabbix-server:~# mysqldump -u root -p zabbix > zabbix.sql
Step #03: Add Zabbix source list for update repository.
root@zabbix-server:~# vim /etc/apt/source.list.d/zabbix.list
Insert below two lines
deb http://repo.zabbix.com/zabbix/3.4/ubuntu trusty main deb-src http://repo.zabbix.com/zabbix/3.4/ubuntu trusty main
Step #04: Now download Zabbix released deb package via wget command.
root@zabbix-server:~# wget http://repo.zabbix.com/zabbix/3.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.4-1+trusty_all.deb
Step #05: Install downloaded packages via dpkg command.
root@zabbix-server:~# dpkg -i zabbix-release_3.4-1+trusty_all.deb
Now update your Zabbix server command
root@zabbix-server:~# apt-get update
Step #06: Then Zabbix main update command
root@zabbix-server:~# apt-get install --only-upgrade zabbix-server-mysql zabbix-agent zabbix-frontend-php
Press N 2 times for zabbix agent, apache.conf and server config file overwrite. Wait for few times when update completed.
Very important issue Zabbix server config file contains DB name, DB password and DB server name on localhost or 127.0.0.1
Step #07: Open Zabbix server config file check this issue.
root@zabbix-server:~# vim /etc/zabbix/zabbix_server.conf
Ensure that all lines include into server config file
DBName=zabbix DBUser=zabbix DBPassword=passw0rd
Step #08: All is ok then finally Zabbix server start.
root@zabbix-server:~# service zabbix-server start
Now goto your browser and type http://server-ip/zabbix/
You can see some databases error. But don’t worry wait for few minutes then reload your browser.
If face any problem then see my YouTube video and Subscribe my channel. Please subscribe my channel for more update.
- 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