Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Based on Ubuntu14.04 Zabbix2.2.15 (version) Server side installation

2025-04-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Zabbix 2.2.15 (Version) Server installation

Overview of the test environment:

vmware workstation12 (installed on dell desktop win7 system)

Virtual machine operating system: ubuntu 14.04

3. Virtual machine: zabbix server memory 1G vCPU 1 disk: 20G

Zabbix Server Installation

1. Prerequisites:

Install the latest version of the package that contains the repository configuration

sudo wget http://repo.zabbix.com/zabbix/2.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.2-1+trusty_all.deb

sudo dpkg -i zabbix-release_2.2-1+trusty_all.deb

sudo apt-get update

2. Install Zabbix:

Install the following packages,MySQL, PHP installation

sudo apt-get install zabbix-server-mysql zabbix-frontend-php

3. Configuration database:

The former command itself invokes MySQL and Zabbix database configurations. If you already have the configuration on MySQL Server, skip the first two steps.

Step 1: Configure MySQL root password 1qaz#EDC

Step 2: Confirm the root password.

Step 3: The next screen, it will ask you to configure the database for Zabbix and you will either accept or cancel it. Here I choose yes for automatic database configuration.

Step 4: Enter the password "zabbix" for the database user (zabbix user installer will create), this password is already set when zabbix is entered

Step 5: Confirm the database user password Note: The root password entered here is MySQL 1qaz#EDC

6. Visit the url set by zabbix

http://192.168.216.3/zabbix/setup.php

Zabbix Settings will check prerequisites and will give you the following status etc.

There is a prerequisite failure here that requires setting the time zone

Solution:

7.1 Copy the apache.conf configuration file to the specified directory, named zabbix.conf

root@zabbix-server-01:~# cp /etc/zabbix/apache.conf /etc/apache2/sites-enabled/zabbix.conf

7.2 Edit configuration file, set time zone (date.timezone item defaults to comment status, cancel comment)

7.3 Then save the changes and restart apache2 command: /etc/init.d/apache2 restart

7.4 After restarting apache2, refresh zabbix URL page. At this time, the time zone status is ok.

8. After clicking Next, you will come to the page of entering database information.

Database type: mysql, database is local: localhost, database port: default, database name: zabbix

User: zabbix

Password: zabbix

The user and password are configured before

After entering the information, you can click Test, and the test will show: OK

9. Configure server information.

Please enter a host name or host IP address

Zabbix server and port number,

and optionally the name of the installation. Here: zabbixserver.lab.com

10. Check the installation summary.

11. Complete the setup.

Login using default credentials (Admin / zabbix)

13. The server has been installed here.

Monitoring zabbix-server

14.1, edit/zabbix_agentd.conf configuration file

root@zabbix-server-01:/var/www/html# vim /etc/zabbix/zabbix_agentd.conf

Server=127.0.0.1

ServerActive=127.0.0.1

Hostname=zabbix-server-01

14.2 After modification, save exit and restart agent service

root@zabbix-server-01:/var/www/html# /etc/init.d/zabbix-agent restart

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report