Install Zabbix Ubuntu 2004
Install Zabbix Ubuntu 2004
sudo mysql_secure_installation
You update the PHP configuration variables. Edit the PHP configuration file
/etc/php/7.4/apache2/php.ini for Apache and update timezone as per your requirements.
vim /etc/php/7.4/apache2/php.ini
memory_limit 256M
upload_max_filesize 16M
post_max_size 16M
max_execution_time 300
max_input_time 300
max_input_vars 10000
date.timezone = 'Asia/Kolkata'
wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-
release/zabbix-release_5.0-1+focal_all.deb
sudo dpkg -i zabbix-release_5.0-1+focal_all.deb
mysql -u root -p
After creating the database, load the default schema of Zabbix of database.
cd /usr/share/doc/zabbix-server-mysql
zcat create.sql.gz | mysql -u zabbix -p zabbixdb
sudo vi /etc/zabbix/zabbix_server.conf
DBHost=localhost
DBName=zabbixdb
DBUser=zabbix
DBPassword=password
Now, enable the Zabbix serivce to start on system boot and restart service to reload new
settings.
https://server.tecadmin.net/zabbix/
Now, open your favorite web browser and type the URL http://your-server-ip/zabbix. You will
be redirected to the Zabbix web installation wizard in the following screen:
Click on the Next step button. You should see the following page:
Make sure all the requirements are fulfulls by the server. Then click on the Next step button.
You should see the following page:
Provide your database credentials created in above steps and click on the Next step button.
You should see the following page:
Provide your Zabbix server details and click on the Next step button. You should see the
following page:
Make sure all the configuration parameters are correct then click on the Next step button.
Once the installation has been completed successfully, you should see the following page:
Click on the Finish button. You will be redirected to the Zabbix login page as shown below:
Username: Admin
Password: zabbix
After successful loign, you will see the Zabbix dashbaord as below screenshot.