linux开机自动启动

1 、vi /etc/rc.local

2、编写开机后运行的命令 如:service httpd start 

原文地址:https://www.cnblogs.com/jackylee92/p/5657359.html