In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Zabbix server installation
Prepare the server
Ip is 192.168.1.190 username root password yicha.123
Prepare the running environment and the corresponding software
Software inventory: software version
Apache httpd-2.2.3
Mysql mysql-5.0.95
Php PHP-5.3.27
Zabbix zabbix-2.2.2
1. Install mysql
1. Add the password yicha.123 mysqladmin-u root password yicha.123 for the root user of mysql
2. Create zabbix database: mysql > create database zabbix character set utf8
3. Create a zabbix database user and set the corresponding permissions
Mysql > grant all privileges on zabbix.* to zabbixuser@'%' identified by 'yicha.123'
Mysql > flush privileges
2. Install httpd
3. Install zabbix
1. Prepare the installation package zabbix-2.2.2.tar.gz to extract to the / usr/src directory
2. Create a zabbix user group: groupadd zabbix
3. Create a user: useradd-g zabbix zabbix
4. Compile and install (parameter is. / configure-- enable-server-- enable-agent-- with-mysql-- with-net-snmp)
4. Install PHP
Edit the configuration file vim / etc/php.ini
Ate.timezone = Asia/Shanghai
Max_execution_time = 300
Max_input_time = 300
Post_max_size = 32m
Memory_limit = 128m
Mbstring.func_overload = 2
5. Configure the files on the zabbix server side, and define the IP, user name and password of the database
Vim / usr/local/etc/zabbix.server.conf
DBHost=192.168.1.190
DBName= zabbix
DBUser=zabbixuser
DBPassword=yicha.123
6. Copy the page file of zabbix to the specified directory
Mkdir-pv / var/www/html/zabbix
Cp-a zabbix-2.2.2/frontends/php/* / var/www/html/zabbix/
Chown-R apache.apache / var/www/html/zabbix/
7. Import the initial data of zabbix into mysql
Mysql-uroot-pyicha.123 zabbix flush privileges
2. Compile and install zabbix proxy
Prepare to unzip the installation package zabbix-2.2.2.tar.gz to the / usr/src directory
Create a zabbix user group: groupadd zabbix
Create user: useradd-g zabbix zabbix
Compile and install (parameter is. / configure-- with-mysql-enable-proxy)
Make
Make install
3. Configure the files on the zabbix proxy side, and define the IP, user name and password of the database.
Vim / usr/local/etc/zabbix.proxy.conf
DBHost=192.168.170.48
DBName= zabbix_proxy
DBUser=zbxuser
DBPassword=yicha.123
4. Import the initial data of zabbix into mysql (only import shema)
Mysql-uroot-pyicha.123 zabbix_proxy
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.