Next, you will need to import the Zabbix database schema. Once all the packages are installed, start the Zabbix service and enable it to start at system reboot with the following command: systemctl start zabbix-server Next, update the repository and install the Zabbix server with the following command: apt-get update -yĪpt-get install zabbix-server-mysql zabbix-frontend-php zabbix-agent zabbix-apache-conf -y You can install it with the following command: wget ĭpkg -i zabbix-release_5.0-1+focal_all.deb So you will need to install Zabbix repository in your system. Next, flush the privileges and exit from the MariaDB shell with the following command: FLUSH PRIVILEGES ĮXIT Step 3 - Install and Configure Zabbixīy default, Zabbix is not available in the Ubuntu 20.04 standard repository. Next, grant all the privileges to the zabbixdb with the following command: GRANT ALL PRIVILEGES ON zabbixdb.* TO WITH GRANT OPTION Once login, create a database and user with the following command: CREATE DATABASE zabbixdb character set utf8 collate utf8_bin First, log into the MariaDB shell with the following command: mysql Next, you will need to create a database and user for Zabbix. Save and close the file then restart the Apache service to apply the changes: systemctl restart apache2 Step 2 - Create a Database for Zabbix Once all the packages are installed, edit the php.ini file and make some changes: nano /etc/php/7.4/apache2/php.iniĬhange the following settings: memory_limit 256M apt-get update -yįirst, install the Apache, MariaDB, PHP and other required extensions with the following command: apt-get install apache2 libapache2-mod-php mariadb-server php php-mbstring php-gd php-xml php-bcmath php-ldap php-mysql unzip curl gnupg2 -y Once you are logged into your Ubuntu 18.04 instance, run the following command to update your base system with the latest available packages. A root password is set up to your instance.Ĭreate a new ECS instance and connect to your instance as the root user.A fresh Alibaba Cloud instance with Ubuntu 18.04 installed.In this tutorial, we will explain how to install the Zabbix monitoring server on Ubuntu 20.04. It uses MySQL/MariaDB database to store its data and also supports encrypted communication between the server and connected clients. It is designed for real-time monitoring of thousands of servers, VMs, and network devices. It also monitors standard services such as SMTP or HTTP services and supports host monitoring via SNMP, TCP, and ICMP checks. It uses agents to collect system metrics. Zabbix is a free, open-source, and high-performance monitoring tool for servers, applications, and network devices. By Hitesh Jethva, Alibaba Cloud Community Blog author.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |