centos7安装zabbix3.0超详细步骤解析

很详细,感谢作者

以下是我操作的history

622 java -version
623 javac -version
624 grep SELINUX /etc/selinux/config
625 vim /etc/selinux/config
626 grep SELINUX /etc/selinux/config
627 getenforce
628 /usr/sbin/sestatus -v
629 vim /etc/selinux/config
630 /usr/sbin/sestatus -v
631 reboot
632 yum -y install wget net-snmp-devel OpenIPMI-devel httpd openssl-devel java lrzsz fping-devel libcurl-devel perl-DBI pcre-devel libxml2 libxml2-devel mysql-devel gcc php php-bcmath php-gd php-xml php-mbstring php-ldap php-mysql.x86_64 php-pear php-xmlrpcnet-tools wget vim-enhanced   #fping-devel未找到包,没有安装
633 yum search mysql|tac
634 wget -P /etc/yum.repos.d http://mirrors.aliyun.com/repo/Centos-7.repo
635 yum -y install mariadb mariadb-server php php-mysql httpd
636 systemctl enable mariadb.service
637 systemctl start mariadb.service
638 mysql_secure_installation
639 mysql -uroot -p123456 -e "create database zabbix default character set utf8 collate utf8_bin;"
643 mysql -uroot -p123456 -e "grant all on zabbix.* to "zabbix"@"%" identified by "zabbix";"  #这一步报错了,进到mysql里面去操作即可

644 mysql -uroot -p

>grant all on zabbix.* to "zabbix"@"%" identified by "zabbix";


645 mysql -uzabbix -pzabbix
646*
647* systemctl status htt
648 systemctl enable httpd.service
649 systemctl start httpd.service
650 systemctl status httpd.service
651 systemctl
652 systemctl start httpd.service
653 netstat -punta | grep LISTE
654 systemctl stop nginx.service
655 systemctl start httpd.service
656 systemctl disable nginx.service
657 netstat -ltun
658 rpm -ivh http://mirrors.aliyun.com/epel/7/x86_64/e/epel-release-7-8.noarch.rpm #这个链接已过期
659 rpm -ivh https://mirrors.aliyun.com/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
660 rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
661 yum -y install zabbix-server-mysql zabbix-web-mysql zabbix-get
662 cd /usr/share/doc/zabbix-server-mysql-3.0.14/
663 ll
664 zcat create.sql.gz | mysql -uroot -pDe123456 zabbix
665 zcat create.sql.gz | mysql -uroot -p123456 zabbix
666 vi /etc/zabbix/zabbix_server.conf
667 vim /etc/zabbix/zabbix_server.conf
668 vi /etc/httpd/conf.d/zabbix.conf
669 vim /etc/httpd/conf.d/zabbix.conf
670 systemctl enable zabbix-server.service
671 systemctl start zabbix-server.service
672 systemctl restart httpd.service
673 history

centos7安装zabbix3.0超详细步骤解析的更多相关文章

  1. 转:Centos7安装zabbix3.4超详细步骤解析

    安装前准备: 1.1 安装依赖包: yum -y install wget net-snmp-devel OpenIPMI-devel httpd openssl-devel java lrzsz f ...

  2. centos7 安装zabbix3.0 安装zabbix4.0 yum安装zabbix 国内源安装zabbix 阿里云服务器安装zabbix

    首先,此篇文章是有原因的. 刚开始也和大家一样来学习安装zabbix 奈何网上的教程和现实出现不一样的情况 在安装zabbix过程中,因为zabbix下载源是在国外,下载途中会出现终止下载的情况 tr ...

  3. centos7 安装Zabbix3.0

    1 安装Mariadb数据库(代替MySQL)yum -y install mariadb*systemctl start mariadbsystemctl enable mariadb #自启动 2 ...

  4. Win10安装mysql-8.0.11-winx64详细步骤

    安装 mysql-8.0.11-winx64 https://blog.csdn.net/qq_20788055/article/details/80372577

  5. centos7上安装zabbix3.4的详细步骤与问题处理记录

    zabbix是linux运维工作中经常用到的开源工具,话不多说,直接开始正式的安装配置环境.1.安装环境 centos7 服务端:192.168.200.100 客户端:192.168.200.200 ...

  6. Centos7 安装zabbix3.0 服务端 详细

    参考: https://www.cnblogs.com/37yan/p/6879218.html http://blog.csdn.net/hao134838/article/details/5712 ...

  7. Centos7安装以及设置Redis详细步骤

    一.Redis安装: 1.指定文件夹下下载redis安装包: [root@bogon ~]# mkdir /usr/local/soft/redis [root@bogon ~]# cd /usr/l ...

  8. Centos7安装Zabbix3.0

    1.安装服务器端包 #rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch. ...

  9. Ubuntu18.04下安装mysql5.7超详细步骤

    1.首先执行下面三条命令: #安装mysql服务 sudo apt-get install mysql-server #安装客户端 sudo apt install mysql-client #安装依 ...

随机推荐

  1. 02Spark的左连接

    两个文件,一个是用户的数据,一个是交易的数据. 用户: 交易: 流程如下: 分为以下几个步骤: (1)分别读取user文件和transform文件,并转为两个RDD. * (2)对上面两个RDD执行m ...

  2. 使用Go语言+Protobuf协议完成一个多人聊天室

    软件环境:Goland Github地址 一.目的 之前用纯逻辑垒完了一个可登入登出的在线多人聊天室(代码仓库地址),这次学习了Protobuf协议,于是想试着更新下聊天室的版本. 主要目的是为了掌握 ...

  3. html button 点击 显示倒计时秒数

    如下: <html> <body> <input type="button" value="click" id="cli ...

  4. 同时安装anaconda2和anaconda3

    安装的过程请参考 Ubuntu14.04下同时安装Anaconda2与Anaconda3 启动的时候cd到$HOME/anaconda2/envs/py3k/bin下 source activate ...

  5. 【ERROR】no matching function for call to 'std::basic_ifstream<char>::basic_ifstream

    错误记录:QT中使用 no matching function for call to 'std::basic_ifstream<char>::basic_ifstream(QString ...

  6. vue+node+mongodb前后端分离博客系统

    感悟 历时两个多月,终于利用工作之余完成了这个项目的1.0版本,为什么要写这个项目?其实基于vuejs+nodejs构建的开源博客系统有很多,但是大多数不支持服务端渲染,也不支持动态标题,只是做到了前 ...

  7. Openwrt配置小记

    手中有台Netgear WNR2000v3,一直想尝试Openwrt,于是刷机.官方最新固件的稳定版本为15.05.1,该版本自带luci,BUT,不能保存配置,上网查了很久,得出结论,是由于WNR2 ...

  8. 如何查看github排行热度

    github热门趋势 https://github.com/trending github star排行榜 github输入:star:>数字,来查看star数的仓库: 输入:location: ...

  9. JAVA ftp连接池功能实现

    抽象类: package com.echo.store; import java.util.Enumeration; import java.util.Hashtable; abstract clas ...

  10. Ext Js 6+ 如何引入dashboard模版

    最近很多人问我在ext js 6+的版本中怎么引入官方的dashboard模版,正好我好久没写博客了,这里我写一篇博客来说明一下. 在这里以ext js 6.2.1版本为例(注:需要安装Sencha ...