初入博客-献上zabbix安装
来源:互联网 发布:麦道夫骗局知乎 编辑:程序博客网 时间:2024/05/21 10:59
iptables –F
iptables –X
sed -i"s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
grep SELINUX /etc/selinux/config
yum install -y mariadb mariadb-server
systemctl start mariadb
systemctl enable mariadb
mysql_secure_installation
rpm -ivh http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm
yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent -y
mysql -uroot-p<your root password>
mysql>create database zabbix character set utf8 collate utf8_bin;
mysql>grant all privileges on zabbix.* to zabbix@localhost identified by 'zjcw2015';
mysql> quit;
zcat /usr/share/doc/zabbix-server-mysql-3.2.1/create.sql.gz | mysql-uroot -p zabbix
vi /etc/zabbix/zabbix_server.conf
DBName=zabbix
DBUser=zabbix
DBPassword=zjcw2015
vi /etc/httpd/conf.d/zabbix.conf
php_value date.timezone Asia/Shanghai
systemctl start zabbix-server
systemctl enable zabbix-server
systemctl start zabbix-agent
systemctl enable zabbix-agent
systemctl start httpd
systemctl enable httpd
- 初入博客-献上zabbix安装
- 初入博客
- 初入csdn博客
- 初入博客感言
- 初入博客
- 初入linux安装
- zabbix安装
- zabbix 安装
- zabbix安装
- Zabbix安装
- zabbix安装
- zabbix安装
- 安装zabbix
- zabbix安装
- zabbix 安装
- zabbix安装
- zabbix安装
- zabbix安装
- JAVA 内建式函数接口
- 剑指offer(30)—连续子数组的最大和
- Android中高德地图定位功能的实现
- 24中设计模式
- 【Ionic2】Ionic2打包编译时内存溢出问题
- 初入博客-献上zabbix安装
- vue1.x 事件对象(二)
- Go package & import
- qt中QTableWidget的使用
- IntelliJ IDEA 集成Redis可视化插件
- DropDownList绑定数据
- 安卓多渠道打包
- volley网络框架解析
- DOS下EXE文件的加载与执行过程