Zabbix Monitoring Server is an Open Source software suitable for Personal and Commercial use. This installation guide is based on Ubuntu Server v.22.04 LTS 64-bit thus I will not be going thru the OS installation steps but will highlight some important steps prior to installing Zabbix.
As of writing the current Zabbix Server v.6.2, more information is available at (https://www.zabbix.com/)
After completed installing Ubuntu Server, you will need to do the following :-
1. sudo timedatectl set-timezone Asia/Kuala_Lumpur
2. sudo apt update && sudo apt upgrade -y
3. sudo apt install nano net-tools wget git -y
4. sudo apt install mysql-server php apache2 -y
5. sudo reboot
6. sudo apt install php-gd php-bcmath php-ctype php-xml php-xmlreader php-xmlwriter php-net-socket php-mbstring php-ldap -y
7. sudo apt install php-session -y
8. sudo apt install php-gettext -y
9. sudo reboot
10. sudo apt update
11. sudo wget https://repo.zabbix.com/zabbix/6.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.2+ubuntu22.04_all.deb
12. sudo dpkg -i zabbix-release_6.2+ubuntu22.04_all.deb
13. sudo apt update
14. sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
15. sudo reboot
16. sudo mysql -uroot -p (key-in 'password' when prompted)
17. Under MYSQL prompt :-
- create database zabbix character set utf8mb4 collate utf8mb4_bin;
- create user zabbix@localhost identified by 'password';
- grant all privileges on zabbix.* to zabbix@localhost;
- set global log_bin_trust_function_creators = 1;
- quit;
- set global log_bin_trust_function_creators = 0;
- quit;
- DBPassword=password
- DB Type = MySQL
- DB Name = zabbix
- DB User = zabbix
- DB Password = password
- Zabbix Server Name = [Any Name]
- Time Zone = (UTF+08:00) Asia/Kuala_Lumpur
- Username = Admin (case sensitive)
- Password = zabbix (case sensitive)
No comments:
Post a Comment