摘要: 小结: 阅读全文
posted @ 2019-03-20 17:24 執著的蝸牛 阅读(735) 评论(0) 推荐(0) 编辑
摘要: 打开浏览器测试,安装成功 nginx常用命令选项(注意添加PATH环境变量) 如果是yum安装,使用以下几个命令 查看yum安装nginx的路径(centos7.5下默认版本是1.14.2,稳定版) 阅读全文
posted @ 2019-03-19 12:06 執著的蝸牛 阅读(353) 评论(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 執著的蝸牛 阅读(568) 评论(0) 推荐(0) 编辑
摘要: nginx软件下载:http://nginx.org/en/download.html Mainline version:Nginx 正在主力开发的版本Stable version:最新稳定版,生产环境上建议使用此版本Legacy versions:遗留的老版本的稳定版,也可以选择使用此版本 阅读全文
posted @ 2019-03-16 18:35 執著的蝸牛 阅读(502) 评论(0) 推荐(0) 编辑
摘要: 安装完成后需检查apache主配置文件httpd.conf 中是否有增加 libphp5.so 模块内容 测试php5.6.40链接MySQL5.6.43是否成功,新建test.php文件到站点目录下,添加以下内容测试 打开浏览器测试链接成功 注意:此脚本适用于LAMP环境,php在apache中以 阅读全文
posted @ 2019-03-15 17:47 執著的蝸牛 阅读(2331) 评论(0) 推荐(0) 编辑
摘要: make && make install报如下错误: 解决办法如下: 阅读全文
posted @ 2019-03-15 16:07 執著的蝸牛 阅读(939) 评论(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 執著的蝸牛 阅读(200) 评论(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 執著的蝸牛 阅读(1117) 评论(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 執著的蝸牛 阅读(1553) 评论(0) 推荐(1) 编辑
摘要: 参考博客:http://www.cnblogs.com/kevingrace/p/6109679.html 阅读全文
posted @ 2019-03-14 11:52 執著的蝸牛 阅读(943) 评论(0) 推荐(0) 编辑