centos

A collection of 4 posts

centos

centos7.3 record nginx failed (13: Permission denied)

systemctl enable nginx.service yum install net-tools yum install nginx -y yum install w3m niginx.conf user ningx => user root 查看SELinux状态: 1、/usr/sbin/sestatus -v ##如果SELinux status参数为enabled即为开启状态 SELinux status: enabled 2、getenforce ##也可以用这个命令检查 关闭SELinux: 1、临时关闭(不用重启机器): setenforce 0 ##设置SELinux 成为permissive模式 setenforce