03 2019 档案

摘要:1 常见状态码分类 HTTP状态码分类: 1XX:消息类 2XX:成功 3XX:重定向 4XX:客户端错误(nginx) 5XX:服务端错误(nginx后端的应用程序) 2 常见状态码 200 OK,请求服务器,服务器成功返回网页 301 永久跳转rewrite,将请求的网页永久跳转到新位置(防止恶 阅读全文
posted @ 2019-03-28 17:26 執著的蝸牛 阅读(213) 评论(0) 推荐(0) 编辑
摘要:说明: 配置apache虚拟主机步骤 阅读全文
posted @ 2019-03-21 19:24 執著的蝸牛 阅读(202) 评论(0) 推荐(0) 编辑
摘要:rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm yum -y install nginx systemctl start nginx.service systemctl enable nginx.service 阅读全文
posted @ 2019-03-21 18:17 執著的蝸牛 阅读(911) 评论(0) 推荐(0) 编辑
摘要:cd /etc/yum.repos.d/ yum -y install epel-release #<===安装centos7下php5.6的epel和remi源 rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm yum list --... 阅读全文
posted @ 2019-03-21 18:11 執著的蝸牛 阅读(2140) 评论(0) 推荐(0) 编辑
摘要:;;;;;;;;;;;;;;;;;;;;; ; FPM Configuration ; ;;;;;;;;;;;;;;;;;;;;; ; All relative paths in this configuration file are relative to PHP's install ; prefix (/usr). This prefix can be dynamically change... 阅读全文
posted @ 2019-03-20 21:07 執著的蝸牛 阅读(2301) 评论(0) 推荐(0) 编辑
摘要:小结: 阅读全文
posted @ 2019-03-20 17:24 執著的蝸牛 阅读(738) 评论(0) 推荐(0) 编辑
摘要:打开浏览器测试,安装成功 nginx常用命令选项(注意添加PATH环境变量) 如果是yum安装,使用以下几个命令 查看yum安装nginx的路径(centos7.5下默认版本是1.14.2,稳定版) 阅读全文
posted @ 2019-03-19 12:06 執著的蝸牛 阅读(360) 评论(0) 推荐(0) 编辑
摘要:#!/usr/bin/bash #安装常用软件,首先必须自行调整好网卡配置文件,保证可以上网,否则,下列优化会失败 yum -y install wget vim lrzsz bash-completion dos2unix telnet tree net-tools namp sl nc psmi 阅读全文
posted @ 2019-03-18 19:17 執著的蝸牛 阅读(569) 评论(0) 推荐(0) 编辑
摘要:nginx软件下载:http://nginx.org/en/download.html Mainline version:Nginx 正在主力开发的版本Stable version:最新稳定版,生产环境上建议使用此版本Legacy versions:遗留的老版本的稳定版,也可以选择使用此版本 阅读全文
posted @ 2019-03-16 18:35 執著的蝸牛 阅读(506) 评论(0) 推荐(0) 编辑
摘要:安装完成后需检查apache主配置文件httpd.conf 中是否有增加 libphp5.so 模块内容 测试php5.6.40链接MySQL5.6.43是否成功,新建test.php文件到站点目录下,添加以下内容测试 打开浏览器测试链接成功 注意:此脚本适用于LAMP环境,php在apache中以 阅读全文
posted @ 2019-03-15 17:47 執著的蝸牛 阅读(2374) 评论(0) 推荐(0) 编辑
摘要:make && make install报如下错误: 解决办法如下: 阅读全文
posted @ 2019-03-15 16:07 執著的蝸牛 阅读(955) 评论(0) 推荐(0) 编辑
摘要:1.编译时修改/隐藏版本号(此操作是在编译安装之前做的) 2.去版本号(编译安装之前) [root@lamp unix]# vi /usr/local/src/httpd-2.4.38/os/unix/os.h #define PLATFORM "Unix" #< 此行改为以下 #define PL 阅读全文
posted @ 2019-03-15 15:10 執著的蝸牛 阅读(201) 评论(0) 推荐(0) 编辑
摘要:[root@lamp scripts]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) [root@lamp scripts]# uname -r 3.10.0-862.el7.x86_64 [root@lamp scrip 阅读全文
posted @ 2019-03-15 12:21 執著的蝸牛 阅读(1149) 评论(0) 推荐(0) 编辑
摘要:[root@lamp conf]# vi httpd.conf.bak 1 # 2 # This is the main Apache HTTP server configuration file. It contains the 3 # configuration directives that give the server its instructions. 4 # See for d... 阅读全文
posted @ 2019-03-14 16:45 執著的蝸牛 阅读(1602) 评论(0) 推荐(1) 编辑
摘要:参考博客:http://www.cnblogs.com/kevingrace/p/6109679.html 阅读全文
posted @ 2019-03-14 11:52 執著的蝸牛 阅读(958) 评论(0) 推荐(0) 编辑
摘要:一块1TB的硬盘,用作samba共享,在安装系统时分区如下: 以下是详细操作,就几个步骤,很简单 阅读全文
posted @ 2019-03-12 18:17 執著的蝸牛 阅读(2678) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示