(1)Ngixn 编译安装 (版本:1.12.1)
摘要:1.创建用户和群组 groupadd nginx 创建一个用户,不允许登陆和不创主目录 useradd -s /sbin/nologin -g nginx -M nginx 检查创建用户 tail -1 /etc/passwd 2.yum install yum -y install gcc gcc
阅读全文
posted @
2017-10-17 21:04
sunpear
阅读(272)
推荐(0)
(2)Ngixn 编译安装设置开机自启
摘要:设置nginx开机自启 #!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15 # description: Nginx is an HTTP(S) server, HTTP
阅读全文
posted @
2017-10-15 14:01
sunpear
阅读(290)
推荐(0)