In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
LAMP environment yum install-y httpd mariadb-server mariadb php php-mysql php-gd libjpeg* php-ldap php-odbc php-pear php-xml php-xmlrpc php-mhash
View the software version
Rpm-qa httpd php mariadb
Restart the database and httpsystemctl restart mariadbsystemctl restart httpd to enter the zabbix official website, I use the latest version of zabbix
Https://www.zabbix.com/download?zabbix=4.2&os_distribution=centos&os_version=7&db=mysqlrpm-Uvh https://repo.zabbix.com/zabbix/4.2/rhel/7/x86_64/zabbix-release-4.2-2.el7.noarch.rpmyum clean allyum-y install zabbix-server-mysql zabbix-web-mysql zabbix-agent enters the database and creates the zabbix database mysql-uroot-p
Password / / enter the password. If you start it for the first time, the password is empty by default.
Mysql > create database zabbix character set utf8 collate utf8_bin
Mysql > grant all privileges on zabbix.* to zabbix@localhost identified by 'password'; / / Note that this password is the password of the zabbix database
Mysql > quit
Import zabbix database zcat / usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql-uzabbix-p zabbix modify zabbix server file vim / etc/zabbix/zabbix_server.conf
Find this line, uncomment DBPassword, and enter the zabbix password you created after the "=" sign. Here is zabbix.
Restart zabbix and httpsystemctl restart zabbix-server zabbix-agent httpd to enter zabbix's web interface, enter http://server_ip/zabbix in the browser to enter this interface, and click next setp
Found that there is a Fail, need to modify the php.ini file
Modify the file, find the wrong item date.timezone, uncomment, add downtown, then save, restart the service, refresh the web interface vim / etc/php.ini
Now it has become OK.
Enter zabbix in the password here, that is, you have just created the password of the zabbix database in the database, and then you can complete the configuration in the next step.
This completes the creation. The default account password is Admin/zabbix.
Finally, the parameter description of zabbix-server configuration file is attached.
DBHost / / database host address
DBName / / Database name
DBPassword / / database password
DBPort / / database port, default is 3306
Storage path of AlertScriptsPath / / alarm script
CacheSize / / Storage the cache of monitoring data
CacheUpdateFrequency / / Update the cache time once
DebugLevel / / log level
LogFile / / log file
LogFileSize / / log file size, exceeding automatic cutting
LogSlowQueries / / database slow query records (in milliseconds)
PidFile / / PID file
In ProxyConfigFrequency / / Proxy passive mode, how many seconds does Server synchronize configuration files to proxy?
In ProxyDataFrequency / / passive mode, how many seconds does Server request historical data from proxy?
StartDiscoverers / / Discovery rule threads
Timeout / / connection Agent timeout
TrendCacheSize / / Historical data cache size
Users running User / / Zabbix
HistoryCacheSize / / History cache size
ListenIP / / listens to the local IP address
ListenPort / / listening port
LoadModule / / Module name
LoadModulePath / / module path.
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.