
Nginx
PHPerJiang
一只有理想的程序猿
展开
-
Nginx
源码安装nginx 检查是否安装依赖环境gcc //检查是否安装gcc gcc -v //没有安装则安装gcc yum install gcc-c++ 检查是否安装PCRE pcre-devel (PCRE(Perl Compatible Regular Expressions) 是一个Perl库,包括 perl 兼容的正则表达式库。nginx 的 http 模块使用 p...原创 2019-03-08 17:31:49 · 172 阅读 · 0 评论 -
LNMP的安装配置
更换yum源为阿里源 #!/bin/bash #备份本地yum源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_bak #获取阿里的yum源配置 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Ce...原创 2019-04-10 15:41:44 · 378 阅读 · 0 评论