# content
Zabbix is smart monitoring system on your network. This software written by php mysql. So lets start using installation process on Ubuntu 22.04 server.

Operating system: Ubuntu 22.04IP address: 192.168.0.20RAM: 2GBDISK space: 50GBvCPU: 2Service: ZABBIX 7.4PHP version: 8.0Mysql: 8.0 must beHostname: zbx.technologyrss.local

Check server version using below command.

root@zabbix:~# lsb_release -a && ip r

Table of Contents

Toggle

Step #01: Install zabbix 7.4 On Ubuntu 22.04 Server

Step #02: Install mysql database and configure root user password

Step #03: Create database for zabbix user with password.

Step #04: Import zabbix default database on created database.

Step #05: Add database name, user and password on zabbix server conf file.

Step #06: Setup nginx web server

Step #07: restart and enable all services using below command.

Step #01: Install zabbix 7.4 On Ubuntu 22.04 Server

root@zabbix:~# apt update && apt -y upgraderoot@zabbix:~# apt install -y apt-transport-https lsb-release ca-certificatesroot@zabbix:~# apt install -y php php-mysql php-common php-cli php-common php-json php-readline php-mbstring php-gd php-zip php-curlroot@zabbix:~#



Sponsored

  wget https://repo.zabbix.com/zabbix/7.4/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.4+ubuntu22.04_all.debroot@zabbix:~# dpkg -i zabbix-release_latest_7.4+ubuntu22.04_all.debroot@zabbix:~# apt updateroot@zabbix:~# apt install -y zabbix-server-mysql zabbix-frontend-php zabbix-nginx-conf zabbix-sql-scripts zabbix-agent

Step #02: Install mysql database and configure root user password

root@zabbix:~# apt install -y mysql-serverroot@zabbix:~# systemctl start mysqldroot@zabbix:~# systemctl enable mysqldroot@zabbix:~# systemctl status mysqldroot@zabbix:~# mysql -u root -p

Default mysql root password is blank.

mysql> SELECT user,authentication_string,plugin,host FROM mysql.user;//mysql 8 reset password command.mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'passw0rd@123';mysql> use mysql;mysql> UPDATE user SET plugin="mysql_native_password" WHERE User='root';mysql> flush privileges;

Step #03: Create database for zabbix user with password.

create database zabbix_db character set utf8mb4 collate utf8mb4_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;set global log_bin_trust_function_creators = 1;FLUSH PRIVILEGES;q

Note: (you can replace user password from zabbix@123)

See also  How to open Google Chrome from the Terminal in Ubuntu?

Step #04: Import zabbix default database on created database.

root@zabbix:~# zcat /usr/share/zabbix/sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix_user -p zabbix_db

Then type mysql zabbix_user password.

After import database Disable log_bin_trust_function_creators option after importing database schema.

root@zabbix:~# mysql -uroot -p

Then type mysql root password. Run below command.

set global log_bin_trust_function_creators = 0;FLUSH PRIVILEGES;q

Step #05: Add database name, user and password on zabbix server conf file.

root@zabbix:~# vi /etc/zabbix/zabbix_server.conf

Then Add below all lines into this file. But remember it DBName & DBUser remove or # mark from default.

DBName=zabbix_dbDBUser=zabbix_userDBPassword=zabbix@123

Step #06: Setup nginx web server

root@zabbix:~# vi /etc/nginx/conf.d/zabbix.conf

Remove # mark from below line and replace ip address as your server ip.

listen          80;server_name192.168.0.20;

Step #07: restart and enable all services using below command.

root@zabbix:~# service apache2 stoproot@zabbix:~# apt remove apache2 -yroot@zabbix:~# systemctl restart zabbix-server zabbix-agent nginx php8.1-fpmroot@zabbix:~# systemctl enable zabbix-server zabbix-agent nginx php8.1-fpm

After reboot access your server ip address and complete web installation process.

http://192.168.0.20/setup.php

See also  How To Install WordPress On Ubuntu 20.04

Click Next step

Sponsored

All status is OK, so Click Next step.

Click Next step.

Click Next step.

Click Finish.

Now default login using Admin user and password.

After successfully done web installation then login to dashboard.

Default login:

User name: Admin

Password: zabbix

See also  How to Install Portainer on Ubuntu 22.04

If you face any error for installation process so please see my YouTube Channel more videos.

The post How To Install Zabbix Server 7.4 On Ubuntu 22.04 appeared first on TechnologyRSS.

# contentMap.en
Zabbix is smart monitoring system on your network. This software written by php mysql. So lets start using installation process on Ubuntu 22.04 server.

Operating system: Ubuntu 22.04IP address: 192.168.0.20RAM: 2GBDISK space: 50GBvCPU: 2Service: ZABBIX 7.4PHP version: 8.0Mysql: 8.0 must beHostname: zbx.technologyrss.local

Check server version using below command.

root@zabbix:~# lsb_release -a && ip r

Table of Contents

Toggle

Step #01: Install zabbix 7.4 On Ubuntu 22.04 Server

Step #02: Install mysql database and configure root user password

Step #03: Create database for zabbix user with password.

Step #04: Import zabbix default database on created database.

Step #05: Add database name, user and password on zabbix server conf file.

Step #06: Setup nginx web server

Step #07: restart and enable all services using below command.

Step #01: Install zabbix 7.4 On Ubuntu 22.04 Server

root@zabbix:~# apt update && apt -y upgraderoot@zabbix:~# apt install -y apt-transport-https lsb-release ca-certificatesroot@zabbix:~# apt install -y php php-mysql php-common php-cli php-common php-json php-readline php-mbstring php-gd php-zip php-curlroot@zabbix:~#



Sponsored

  wget https://repo.zabbix.com/zabbix/7.4/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.4+ubuntu22.04_all.debroot@zabbix:~# dpkg -i zabbix-release_latest_7.4+ubuntu22.04_all.debroot@zabbix:~# apt updateroot@zabbix:~# apt install -y zabbix-server-mysql zabbix-frontend-php zabbix-nginx-conf zabbix-sql-scripts zabbix-agent

Step #02: Install mysql database and configure root user password

root@zabbix:~# apt install -y mysql-serverroot@zabbix:~# systemctl start mysqldroot@zabbix:~# systemctl enable mysqldroot@zabbix:~# systemctl status mysqldroot@zabbix:~# mysql -u root -p

Default mysql root password is blank.

mysql> SELECT user,authentication_string,plugin,host FROM mysql.user;//mysql 8 reset password command.mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'passw0rd@123';mysql> use mysql;mysql> UPDATE user SET plugin="mysql_native_password" WHERE User='root';mysql> flush privileges;

Step #03: Create database for zabbix user with password.

create database zabbix_db character set utf8mb4 collate utf8mb4_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;set global log_bin_trust_function_creators = 1;FLUSH PRIVILEGES;q

Note: (you can replace user password from zabbix@123)

See also  How To Upgrade Zabbix 6.0 To 6.4 on Ubuntu 22.04

Step #04: Import zabbix default database on created database.

root@zabbix:~# zcat /usr/share/zabbix/sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix_user -p zabbix_db

Then type mysql zabbix_user password.

After import database Disable log_bin_trust_function_creators option after importing database schema.

root@zabbix:~# mysql -uroot -p

Then type mysql root password. Run below command.

set global log_bin_trust_function_creators = 0;FLUSH PRIVILEGES;q

Step #05: Add database name, user and password on zabbix server conf file.

root@zabbix:~# vi /etc/zabbix/zabbix_server.conf

Then Add below all lines into this file. But remember it DBName & DBUser remove or # mark from default.

DBName=zabbix_dbDBUser=zabbix_userDBPassword=zabbix@123

Step #06: Setup nginx web server

root@zabbix:~# vi /etc/nginx/conf.d/zabbix.conf

Remove # mark from below line and replace ip address as your server ip.

listen          80;server_name192.168.0.20;

Step #07: restart and enable all services using below command.

root@zabbix:~# service apache2 stoproot@zabbix:~# apt remove apache2 -yroot@zabbix:~# systemctl restart zabbix-server zabbix-agent nginx php8.1-fpmroot@zabbix:~# systemctl enable zabbix-server zabbix-agent nginx php8.1-fpm

After reboot access your server ip address and complete web installation process.

http://192.168.0.20/setup.php

See also  How To Install osTicket v1.14 On Ubuntu 20.04

Click Next step

Sponsored

All status is OK, so Click Next step.

Click Next step.

Click Next step.

Click Finish.

Now default login using Admin user and password.

After successfully done web installation then login to dashboard.

Default login:

User name: Admin

Password: zabbix

See also  Canonical brings Ubuntu and ROS to NVIDIA Jetson Orin, providing stability to robotics and AI Development

If you face any error for installation process so please see my YouTube Channel more videos.

The post How To Install Zabbix Server 7.4 On Ubuntu 22.04 appeared first on TechnologyRSS.

# name
How To Install Zabbix Server 7.4 On Ubuntu 22.04

# nameMap.en
How To Install Zabbix Server 7.4 On Ubuntu 22.04

# preview.content
Zabbix is smart monitoring system on your network. This software written by php mysql. So lets start using installation process on Ubuntu 22.04 server.

Operating system: Ubuntu 22.04

IP address: 192.168.0.20

RAM: 2GB

DISK space: 50GB

vCPU: 2

Service: ZABBIX 7.4

PHP version: 8.0

Mysql: 8.0 must be

Hostname: zbx.technologyrss.local

Check server version using below command.

root@zabbix:~# lsb_release -a && ip r

Step #01: Install zabbix 7.4 On Ubuntu 22.04 Server

root@zabbix:~# apt […]

# summary
Zabbix is smart monitoring system on your network. This software written by php mysql. So lets start using installation process on Ubuntu 22.04 server.

Operating system: Ubuntu 22.04

IP address: 192.168.0.20

RAM: 2GB

DISK space: 50GB

vCPU: 2

Service: ZABBIX 7.4

PHP version: 8.0

Mysql: 8.0 must be

Hostname: zbx.technologyrss.local

Check server version using below command.

root@zabbix:~# lsb_release -a && ip r

Step #01: Install zabbix 7.4 On Ubuntu 22.04 Server

root@zabbix:~# apt […]

# summaryMap.en
Zabbix is smart monitoring system on your network. This software written by php mysql. So lets start using installation process on Ubuntu 22.04 server.

Operating system: Ubuntu 22.04

IP address: 192.168.0.20

RAM: 2GB

DISK space: 50GB

vCPU: 2

Service: ZABBIX 7.4

PHP version: 8.0

Mysql: 8.0 must be

Hostname: zbx.technologyrss.local

Check server version using below command.

root@zabbix:~# lsb_release -a && ip r

Step #01: Install zabbix 7.4 On Ubuntu 22.04 Server

root@zabbix:~# apt […]