标签:enforce disable 参考资料 set 副本 style www https sed
https://www.cnblogs.com/ityouknow/p/7344005.html
https://jorwen-fang.iteye.com/blog/2031756
https://www.cnblogs.com/bjx2020/p/9350232.html
https://www.jb51.net/article/161315.htm
https://blog.51cto.com/beigai/1751381
服务器1 192.168.142.138 | 服务器1 192.168.142.139 | 服务器1 192.168.142.140 |
mongos:20000 | mongos:20000 | mongos:20000 |
config:21000 | config:21000 | config:21000 |
shard1:28001(主节点) | shard1:28001(副本节点) | shard1:28001(仲裁节点) |
shard2:28002(仲裁节点) | shard2:28002(主节点) | shard2:28002(副本节点) |
shard3:28003(副本节点) | shard3:28003(仲裁节点) | shard3:28003(主节点) |
sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/‘ /etc/selinux/config
grep SELINUX=disabled /etc/selinux/config
setenforce 0
getenforce
标签:enforce disable 参考资料 set 副本 style www https sed
原文地址:https://www.cnblogs.com/bjx2020/p/11276091.html