In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Zabbix is a more mainstream monitoring software, which is widely used.
The official website www.zabbix.com
Configure Ali Cloud yum source
Http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/
Rpm-ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm
Rpm-ql zabbix-release to see if it is installed
There will be a zabbix yum repository under Cd / etc/yum.repos.d/
Yum install zabbix zabbix-server zabbix-web zabbix-server-mysql zabbix-web-mysql zabbix-agent
Rpm-qa | if grep mysql-server is not installed, you need to perform the following yum installation
Yum install-y mysql-server mysql
/ etc/init.d/mysqld start start the database
Cp / usr/share/mysql/my-medium.cnf / etc/my.cnf override y
Vim / etc/my.cnf
Under [mysqld], add three lines below 8m
Character-set-server = utf8 character set is set to utf8
Init-connect = 'SET NAMES utf8' initialize the connection plus utf8
Collation-server = utf8_general_ci proofreading rule changed to utf8
/ etc/init.d/mysqld restart restart mysql
Mysql
Show databases
Create database zabbix character set utf8 collate utf8_bin
Exit
Import three databases:
Cd / usr/share/doc/zabbix-server-mysql-2.4.6/create
Mysql-u root-p zabbix < schema.sql
Just enter directly. No password.
Mysql-u root-p zabbix < p_w_picpaths.sql
Mysql-u root-p zabbix < data.sql
Zabbix uses apache by default
Cd / etc/httpd/conf.d/
Cat zabbix.conf
Vim zabbix.conf
Php_value date.timezone Asia/Shanghai removes the comments and changes the time zone to Asia and Shanghai
Save exit
/ etc/init.d/httpd start starts apache
Mysql-u root-p
Grant all on zabbix.* to zabbix@localhost identified by 'zabbix'; authorizes the database
Exit
Vim / etc/zabbix/zabix_server.conf modifies the configuration file to connect to the zabbix
Search DB directly
/ DB
72 DBHost=localhost # the host of the database
81 name of the DBName=zabbix # database
97 DBUser=zabbix # user name of the database
105 DBPassword=zabbix # password for the database
/ etc/init.d/httpd restart
Http://ip/zabbix accesses the web side
1. Next step
2. See if all ok next step
3 、 Next
4. User zabbix password zabbix tests the connection to see if it is ok next.
5 、 Name zabbix next
6 、 finish
7. Login interface Admin zabbix
/ etc/init.d/zabbix-server start starts the zabbix server program
Change password profile
Agent side configuration
Vim / etc/zabbix/zabbix_agentd.conf
85 Server=server IP
Save exit
/ etc/init.d/zabbix_agent start restart the service
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.