centos7的rc.local默认是不开启的,如果需要开启则chmod +x /etc/rc.d/rc.local,是以记之。
centos7的rc.local
原文:http://406647516.blog.51cto.com/2249087/1963194