亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

zabbix 監控服務系列之--------NO1yum安裝篇

發布時間:2020-07-21 05:13:41 來源:網絡 閱讀:1506 作者:crazy_charles 欄目:關系型數據庫


 yum安裝,一切為了方便

Red Hat Enterprise Linux / CentOS

Install the repository configuration package. This package contains yum configuration files.


Zabbix 2.2 for RHEL5, Oracle Linux 5, CentOS 5:

yum 源的安裝

# rpm -ivh http://repo.zabbix.com/zabbix/2.2/rhel/5/x86_64/zabbix-release-2.2-1.el5.noarch.rpm

Zabbix 2.2 for RHEL6, Oracle Linux 6, CentOS 6:x86_64


# rpm -ivh http://repo.zabbix.com/zabbix/2.2/rhel/6/x86_64/zabbix-release-2.2-1.el6.noarch.rpm


Zabbix 2.2 for RHEL6, Oracle Linux 6, CentOS 6:i386


http://repo.zabbix.com/zabbix/2.2/rhel/6/i386/zabbix-release-2.2-1.el6.noarch.rpm

Installing Zabbix packages


Install Zabbix packages. Example for Zabbix server and web frontend with mysql database.


Zabbix

# yum install zabbix-server-mysql zabbix-web-mysql

# yum install zabbix-agent

Database

Create zabbix database and user on MySQL.


# mysql -uroot

mysql> create database zabbix character set utf8 collate utf8_bin;

mysql> grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';

mysql> exit

Import initial schema and data.


# cd /usr/share/doc/zabbix-server-mysql-2.2.0/create

# mysql -uroot zabbix < schema.sql

# mysql -uroot zabbix < p_w_picpaths.sql

# mysql -uroot zabbix < data.sql

Starting Zabbix server process


Edit database configuration in zabbix_server.conf


# vi /etc/zabbix/zabbix_server.conf

DBHost=localhost

DBName=zabbix

DBUser=zabbix

DBPassword=zabbix

Start Zabbix server process.


# service zabbix-server start


Editing PHP configuration for Zabbix frontend


Apache configuration file for Zabbix frontend is located in /etc/httpd/conf.d/zabbix.conf. Some PHP settings are already configured.


php_value max_execution_time 300

php_value memory_limit 128M

php_value post_max_size 16M

php_value upload_max_filesize 2M

php_value max_input_time 300

# php_value date.timezone Europe/Riga

It's necessary to uncomment the “date.timezone” setting and set the right timezone for you. After changing the configuration file restart the apache web server.


# service httpd restart

Zabbix frontend is available at http://zabbix-frontend-hostname/zabbix in the browser. Default username/password is Admin/zabbix 注意大小寫



假如出現一些插件如(zabbix_sender,zabbix_get)無法使用,請使用源碼包安裝、

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

安徽省| 敦煌市| 石狮市| 西华县| 兴山县| 龙门县| 泰来县| 蓬溪县| 仙居县| 晋宁县| 滦平县| 绥宁县| 天祝| 云阳县| 哈尔滨市| 平陆县| 绍兴市| 嘉峪关市| 额济纳旗| 临泉县| 四会市| 米易县| 石渠县| 枣阳市| 新宁县| 金乡县| 丹棱县| 祁阳县| 昆山市| 宜君县| 渭南市| 枝江市| 天祝| 柳河县| 浪卡子县| 信宜市| 阜新| 靖西县| 宿松县| 毕节市| 伊宁市|