nginx之隐藏版本号配置nginx[root@localhost~]#yuminstallpcre-develzlib-develgccgcc-c++-y##安装环境包[root@localhost~]#useradd-M-s/sbin/nologinnginx##创建程序性用户[root@localhost~]#mkdir/chen##创建挂载点[root@localhost~]#mount.
分类:
其他好文 时间:
2019-11-15 09:31:06
阅读次数:
98
CentOS6关闭防火墙使用以下命令, 1 2 3 4 CentOS7中若使用同样的命令会报错, 1 2 这是因为CentOS7版本后防火墙默认使用firewalld,因此在CentOS7中关闭防火墙使用以下命令, 1 2 3 4 5 6 当然,如果安装了iptables-service,也可以使用 ...
分类:
其他好文 时间:
2019-11-14 18:06:54
阅读次数:
67
前言在多主机协同工作时,各个主机的时间同步很重要,时间不一致会造成很多重要应用的故障,例如:加密协议、日志,集群等。利用NTP(NetworkTimeProtocol)协议网络中的各个计算机时间达到同步。环境系统selinux、firewalld实现方式服务器端客户端CentOS7关闭chrony172.20.3.34172.20.200.200chrony简介实现NTP协议的自由软件。可以将时钟
分类:
其他好文 时间:
2019-11-13 11:14:28
阅读次数:
119
一:安装zabbix服务端 1.部署准备 命令:iptables -F #关闭防火墙命令:systemctl stop firewalld #关闭防火墙 设置解析,自建yum源 命令:cd /etc/yum.repos.d/ 命令:curl -o /etc/yum.repos.d/CentOS-Ba ...
分类:
Web程序 时间:
2019-11-13 11:10:11
阅读次数:
96
Apache工作模式介绍Apache作为现今web服务器用的最广泛也是最稳定的开源服务器软件其工作模式有许多种,源码包安装httpd时可查看httpd-mpm.conf文件,该文件位于extra/conf目录中目前主要有三种模式:event模式prefork模式worker模式event工作模式介绍event是Apache最新的工作模式,它和worker模式很像,不同的是在于它解决了keep-al
分类:
Web程序 时间:
2019-11-12 11:01:08
阅读次数:
91
1、被系统自带的防火墙阻止(firewalld) 先临时关闭防火墙:systemctl stop firewalld 再永久关闭: systemctl disable firewalld 查询是否关闭:systemctl is-enabled firewalld.service 2、美国国家安全局的 ...
分类:
其他好文 时间:
2019-11-12 09:34:21
阅读次数:
156
查看防火墙systemctl status firewalld重启防火墙systemctl start firewalld 1、mysql 首先关闭防火墙 systemctl stop firewalld 1.1 检查系统是否已经安装过mysql rpm -qa|grep mariadb 如果查询到 ...
分类:
数据库 时间:
2019-11-11 10:03:42
阅读次数:
97
CentOS Linux release 7.7.1908 (Core) 3.10.0-1062.4.1.el7.x86_64 Initialize(){ yum update -y systemctl start firewalld firewall-cmd --zone=public --add ...
分类:
其他好文 时间:
2019-11-11 09:43:20
阅读次数:
126
--这时是安装前的基础配置方法 1、使用root用户设置(以下前面为#代表root用户,删除线为系统输出): # vim /etc/sysconfig/selinux SELINUX=disabled 2、关闭防火墙 1 # systemctl stop firewalld --关闭防火墙 2 # ...
分类:
数据库 时间:
2019-11-10 19:39:57
阅读次数:
165
iptables -F systemctl stop firewalld setenforce 0 配置 rsync 备份源 yum -y install rsync rpm -q rsync rsync-3.1.2-4.el7.x86_64 1、建立/etc/rsyncd.conf配置文件 vim ...
分类:
其他好文 时间:
2019-11-08 20:38:22
阅读次数:
97