![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
httpd
文章平均质量分 73
mountain gold
这个作者很懒,什么都没留下…
展开
-
Nginx服务优化(隐藏版本号、修改用户和组、设置链接超时)
文章目录1.隐藏版本号2.修改用户和组3.配置网页缓存时间 Nginx服务优化可以从隐藏版本号、更改用户与组、配置网页缓存时间、日志切割、设置连接超时这几个方面进行优化。下面来详细的看看 1.隐藏版本号 在生产环境中需要隐藏Nginx的版本号,以避免泄露Nginx的版本,使×××者不能针对特定版本进行×××。查看Nginx的版本在CentOS中使用命令curl -I http://172.16.1...原创 2019-10-15 16:01:40 · 314 阅读 · 0 评论 -
模拟搭建httpd服务配置网页访问内容
1.案例一 需求:本例要求为 http://server0.example.com 配置Web站点,要求如下: 1.从http://ldap.example.com/pub/example.html下载一个主页文件,将其重命名为 index.html 2.将此文件拷贝到站点的 DocumentRoot 目录下,不要对文件 index.html 的内容作任何修改 3.来自my133t.org的客户端...原创 2019-01-17 10:49:33 · 2046 阅读 · 0 评论 -
LNMP搭建
一、关闭软件 [root@localhost ~]# setenforce 0 \\关闭setlinux [root@localhost ~]# systemctl stop firewalld ...原创 2018-10-19 15:20:57 · 218 阅读 · 0 评论 -
搭建httpd服务
一、编译安装http-2.4 安装开发环境 [root@localhost ~]# yum groupinstall "Development Tools" [root@localhost ~]# groupadd -r apache [root@localhost ~]# useradd -r -g apache apache [root@localhost ~]# yum -y原创 2018-09-18 14:19:24 · 1157 阅读 · 0 评论 -
三台主机搭建lnmp
搭建步骤目录 1、环境说明 使用三台主机分别搭建nginx,mysql,php组成lnmp架构 系统说明 ip 安装服务 centos7 192,.168.69.128 nginx redhat 192.168.69.130 mysql centos7 192.168.69.134 php 2、准备好环境关闭防火墙和setlinux [root@localhost ~]...原创 2018-10-26 09:43:28 · 694 阅读 · 0 评论