admin 管理员组

文章数量: 887021


2024年3月27日发(作者:直线运动轴承)

目录

安装centos7系统 .................................................................................................................... 2

查看IP信息 .......................................................................................................................... 2

关闭firewall: ...................................................................................................................... 2

关闭SELINUX ........................................................................................................................ 2

系统约定 ............................................................................................................................... 3

安装编译工具及库文件(使用yum命令安装) .............................................................. 3

安装mysql ................................................................................................................................ 3

安装nginx ................................................................................................................................. 4

安装PHP ................................................................................................................................... 8

安装zabbix ................................................................................................................................ 9

源码安装软件 ....................................................................................................................... 9

安装依赖包 #CentOS使用yum命令安装 ....................................................................... 10

添加zabbix服务对应的端口 ............................................................................................. 10

修改zabbix配置文件 ......................................................................................................... 10

添加开机启动脚本 ............................................................................................................. 11

配置web站点 .................................................................................................................... 11

web 配置 ............................................................................................................................ 12

WINDOWS 客户端安装 ......................................................................................................... 14

LINUX下客户端安装 .............................................................................................................. 15

安装zabbix 手册

安装centos7系统

查看IP信息

#ip addr

关闭firewall:

#systemctl stop e #停止firewall

#systemctl disable e #禁止firewall开机启动

安装iptables防火墙

#yum install iptables-services #安装

#systemctl restart iptables #最后重启防火墙使配置生效

#systemctl enable iptables #设置防火墙开机启动

centos 7 以后重启服务可以用

/bin/systemctl start e

关闭SELINUX

vi /etc/selinux/config

#SELINUX=enforcing #注释掉

#SELINUXTYPE=targeted #注释掉

SELINUX=disabled #增加

:wq! #保存退出

setenforce 0 #使配置立即生效


本文标签: 安装 开机 启动 防火墙 配置