How To Install Zabbix on Ubuntu 14.04

r00t June 20, 2015

Install Zabbix on Ubuntu 14.04

This tutorial will show you how to install Zabbil on Ubuntu 14.04. For those of you who didn’t know, Zabbix is an open source monitoring tool that is ideal for monitoring your cloud servers. Zabbix is very flexible, information can be retrieved using HTTP/SNMP or by installing a Zabbix agent on the machines to monitor, and allows a lot of customization.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Zabbix on Ubuntu 14.04.

Install Zabbix on Ubuntu 14.04

Step 1. First of all make sure that all packages are up to date.

Step 2. Install LAMP server and include some PHP extension.

Start service Apache web server and MySQL also enable it to start on boot of the server:

Step 3. Install Zabbix

Adding apt repository:

After adding zabbix apt repository in your system, Now update package lists and install Zabbix using commands:

Step 4. Zabbix Configuration.

Adjust the following values and make a note of the password you’ve chosen. You’ll need it later too.

Step 5. Configure MySQL Database for Zabbix.

By default, MySQL is not hardened. You can secure MySQL using the mysql_secure_installation script. you should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MySQL.

Next we will need to log in to the MySQL console and create a database for Zabbix. Run the following command:

This will prompt you for a password, so enter your MySQL root password and hit Enter. Once you are logged in to your database server you need to create a database for the Zabbix software:

Next we’ll import the schemas into the newly created database:

Step 6. Configure Apache web server for Zabbix.

First, we’ll move the Zabbix apache file from the package directory:

Edit the Zabbix init file to ensure that it performs the correct action:

We should adjust php.ini file as per zabbix recommended settings:

Next copy the example config to the /etc/zabbix directory. Then make the necessary adjustments too:

Restart the Apache and zabbix service for the changes to take effect:

Step 7. Accessing Zabbix.

Zabbix will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/zabbix or http://server-ip/zabbix and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.

Install Zabbix on Ubuntu 14.04

Install Zabbix Monitoring Tool on Ubuntu 14.04

Congratulation’s! You have successfully installed Zabbix. Thanks for using this tutorial for installing Zabbix Monitoring Tool on Ubuntu 14.04 system. For additional help or useful information, we recommend you to check the official Zabbix web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

Share on Google+3Share on Facebook4Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon1Share on Reddit1Pin on Pinterest5
The Tags:

Leave a Comment