Zabbix | How to install Zabbix on Ubuntu machine [EC2 instance]

preview_player
Показать описание
====================================================================
====================================================================
In this session, we will look at how to install Zabbix on Ubuntu instance. For this, i will be using AWS Ubuntu EC2 instance.

Link for commands to install Zabbix :

Commands for installing Zabbix on Ubuntu instance :

Step 1 : Update the machine
sudo apt-get update -y

Step 2 : Install apache server and php
sudo apt-get install apache2 libapache2-mod-php -y

Step 3 : Install mysql server
sudo apt-get install mysql-server -y

Step 4 : Install php modules
sudo apt-get install php php-mbstring php-gd php-xml php-bcmath php-ldap php-mysql -y

Step 5 : Download the zabbix repositories

Step 6 : Run the Zabbix repositories

Step 7 : Update the machine.
sudo apt update -y

Step 8 : Install Zabbix server, agent and the required modules.
sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-agent -y

Step 9 : Connect to the database

Step 10 : Create a database "zabbix"
create database zabbix character set utf8 collate utf8_bin;

Step 11 : Create a DB user "zabbix"

Step 12 : Grant permissions to the user "zabbix"

Step 13 : Exit from the DB
quit;

Step 14 : Copy the schema to the DB

Step 15 : Setup the DB password in the server configuration file

Step 16 : Setup the time zone in the apache configuration file

Step 17 : Restart the server and the agent
sudo systemctl restart zabbix-server zabbix-agent apache2

Step 18 : Enable the server and the agent
sudo systemctl enable zabbix-server zabbix-agent apache2

Step 19 : Allow the rules if you are using Cloud (in my case AWS).
Edit the security group and add 10050 and 10051 rules

Step 20 : Access the application using the IP address
Access the app ---ip-address/zabbix

Happy learning!!
Рекомендации по теме
Комментарии
Автор

This is exactly what i was looking for thanks

syzrflu
Автор

Request you to make a video on installation of Zabbix 5.4

harmeeshsingharora
Автор

I am facing problem 4:27 while coping schema i show an error called no such file or directory

raajdevil