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. ATR的计算

    TR=∣最高价-最低价∣和∣最高价-昨收∣和∣昨收-最低价∣的最大值 TR = max(high-low, abs(last-high), abs(last-low)) ATR = MA(TR, N) ...

  2. linux 测试网络url命令

    1.curl 地址 或者 wget url地址 [hxxxx@iZ23vy2msooZ ~]$ curl www.baidu.com<!DOCTYPE html><!--STATUS ...

  3. CentOS7 安装Python3,开发SocketIO 客户端

    CentOS7安装Python3,开发SocketIO 客户端 参考:https://blog.csdn.net/lovefengruoqing/article/details/79284573 步骤 ...

  4. 《转载》强大全面的C++框架和库推荐!

    C++ 资源大全 关于 C++ 框架.库和资源的一些汇总列表,内容包括:标准库.Web应用框架.人工智能.数据库.图片处理.机器学习.日志.代码分析等. 标准库 C++标准库,包括了STL容器,算法和 ...

  5. 实现Ajax异步的layui分页

    https://www.e-learn.cn/content/java/1084522

  6. 自闭的D7

    先是一道**题然后我死了啊. A: 哇人人都会我不会系列. 我们可以运用逆向思维啊,把它转化成若干个人从点1进来, 然后我们考虑深度 dep,用 num[dep] 表示深度大于等于这个点的有多少个, ...

  7. Retrofit2 项目配置

    在项目的 app  build.gradle 文件中加入 dependencies { // Retrofit2implementation 'com.squareup.retrofit2:retro ...

  8. orace函数

    处理字符的函数 lower(char);//把字符串转换成小写格式 upper(char);//把字符转换成大写 length(char);//返回字符串的长度 substr(char,m,n);// ...

  9. input 设置 width:100% 和padding后宽度超出父节点

    input 设置 width:100% 和padding后宽度超出父节点 添加如下css即可: box-sizing: border-box; -webkit-box-sizing: border-b ...

  10. python中文分词库——pyltp

    pyltp在win10下安装比较麻烦,因此参考以下安装方式, 1.下载 win10下python3.6 2.安装 下载好了以后, 在命令行下, cd到wheel文件所在的目录, 然后使用命令pip i ...