给 /etc/rc.d/rc.local 可执行权限:
chmod +x /etc/rc.d/rc.local
开启 rc-local.service 服务:
systemctl enable rc-local.service
systemctl start rc-local.service
本文出自 “libao2235” 博客,请务必保留此出处http://libao2235.blog.51cto.com/407124/1660552
原文地址:http://libao2235.blog.51cto.com/407124/1660552