摘要: systemctl命令是系统服务管理器指令,它实际上将service和chkconfig这两个命令组合到一起 阅读全文
posted @ 2018-05-03 16:51 走走~停停 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 下载yum源 yum -y install wget cd /etc/yum.repos.d/ wget http://mirrors.aliyun.com/repo/Centos-7.repo 备份系统yum源,使用阿里云yum源 mv CentOs-Base.repo CentOs-Base.repo.bak mv Centos-7.repo CentOs-Base.repo ... 阅读全文
posted @ 2018-05-03 16:14 走走~停停 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 一.下载源码,安装依赖环境 二、配置Nginx安装选项 三、启动、停止、重启 四、配置nginx开机启动脚本 vim /etc/init.d/nginx chmod a+x /etc/init.d/nginx service nginx start | stop | reload | restart 阅读全文
posted @ 2018-05-03 16:06 走走~停停 阅读(136) 评论(0) 推荐(0) 编辑