CentOS 7中的/etc/rc.local脚本命令不生效的解决 章郎虫 • 2018-10-17 13:50 • Linux • 阅读 841 Due to systemd introduced in CentOS 7, the /etc/rc.local not enabled by default, you should make /etc/rc.local executable by your hand. 解决办法: 命令: chmod a+x /etc/rc.local 重启后再试试应该就可以了。