Next, run an update to refresh the repository information. Now that our server is up to date, we can now proceed with the installation of Zabbix.
The next step is to install the Zabbix server, Zabbix frontend, and the Zabbix agent. We can accomplish this using a single command. This output of this command will take some time to complete.
We show the last few lines out of the output below. Output like this will indicate a successful installation. Now we proceed to reload Apache as the command output informs us. First, we need to install MariaDB. Use the following command to accomplish this. Again, the output will be lengthy, but MariaDB will be installed successfully without errors if the previous steps are followed. Now, start MariaDB and enable it using the following command.
Now we can create the database for Zabbix. We can accomplish this using two separate commands. The first command will generate the database. The second command will grant privileges to the user and allow you to define your password. In this example, the password is YourPassworD Now we have to import the database schema.
Make sure that we use the password that we set in the previous command. Importing the database schema will not provide any output, but it can take up to 5 minutes to run.
The next step is essential. Once you are inside the file, scroll down to the line below. Add your previously defined password after the equal sign.
You can exit vi by running : wq and then hitting enter. Next, we configure the firewall. Now, we need to open ports , , and 80 using the commands below.
This allows the Zabbix agents to communicate with the server. Then, reload the firewall using the ufw reload command. We can now start and enable the Zabbix server and agent. The final step in the process is to configure the Zabbix frontend. Find the following line and remove the " " sign from the beginning of it. After removing the " " sign, set the correct timezone for your location.
Next, exit the Apache configuration file by typing : wq and then pressing Enter. Lastly, we restart and enable apache using the commands below. Now we can connect to the Zabbix frontend in our browser using the following URL. Once entered, the following screen should show in your browser. Now, click the Next Step button.
Zabbix will verify all prerequisites are in place and working as expected. If the software and configurations are correct, everything should be marked with green OK. Click Next Step again to move on. Next, inside the Password field, please enter the password that we previously configured, which is YourPassworD Continue to click on Next Step until you reach this screen.
How awesome is this? We have installed the Zabbix monitoring software successfully. These packages are located in the non-supported directory. Supported 5. Sidebar Zabbix documentation. Zabbix Manual. Zabbix concepts. Best practices for secure Zabbix setup. Zabbix appliance. Windows-specific item keys. IT services. Web monitoring. Virtual machine monitoring. Virtual machine discovery key fields.
Regular expressions. Event acknowledgment. Configuring a network discovery rule. Notes on low-level discovery. Distributed monitoring. Web interface. Method reference. API info. Mike Hathaway on June 6, pm. Marcelo Pino on March 18, am. Rahul on March 19, am. It looks you need to install libapache2-mod-php package on your system. Guilherme Seibert Zulian on August 8, pm. Hello my friend, i have an error, showed sql codes on page, I solved installing libapache2-mod-php Reply. Kryptikk on May 30, am.
Please change Username: admin to Username: Admin The username is case sensitive, [a]dmin doesnt work Reply. Rob on May 8, am. FreeSoftwareServers on March 13, pm. A simple scripted install version! Great Guide BTW! Ivo Apsitis on March 1, am. May be somebody will find it useful: While installing frontend,at Check of pre-requisites stage were not found following instances: PHP bcmath extension missing PHP configuration parameter —enable-bcmath.
It can be fixed at least it worked for me by installing them seperatly sudo apt-get install php-bcmath sudo apt-get install php-mbstring sudo apt-get install php-xml Reply. Didier on February 28, pm. Nathan on November 8, am. Sergio on September 26, pm. Ari3l on August 12, pm.
Excellent post! Ton on July 21, pm. Igna on July 14, pm. Rainer on May 20, am. Datebasename and password will set correctly. Ajee on April 23, am. Is there any fix for this, please Reply. Same here. Help please?
Daniel on October 7, am. With your tutorial everything goes smoothly and it works. Toon on September 13, am. Thanks, Toon Reply. Rahul on May 29, am. We will update this article soon. Puro on July 7, pm. Ebonweaver on November 6, am. Nevermind, I figured it out. Rahul on November 6, pm.
Hi Ebonweaver, Thanks for pointing… We advise to use apt-get package manager to resolve… We have updated this article to install latest version of zabbix. I hope now it will help you Thanks… Reply. Dear Sir, my setup is complete but step 4 doesnt work.
0コメント