转:https://www.cnblogs.com/shangping/p/11212562.html
用这个yum源亲测可用:wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
把nginx的几个目录映射到本地会造成selinux权限问题
结果方法:setenforce 0 临时关闭selinux
永久关闭:
修改/etc/selinux/config 文件
将SELINUX=enforcing改为SELINUX=disabled
重启机器即可
查看状态:getenforce
centos7安装docker
最新推荐文章于 2024-03-21 00:15:00 发布