Linux - 开机启动

Linux 系统启动 

  grub开机启动项添加

vim /etc/grub.conf
title ms-dos
rootnoverify (hd0,0)
chainloader +1

 

Linux 应用服务启动

  开机启动脚本顺序

/etc/profile
/etc/profile.d/*.sh
~/bash_profile
~/.bashrc
/etc/bashrc

  一些安装服务的自启

chkconfig add server
chkconfig server on

 

posted @ 2018-03-30 19:01  01234567  阅读(143)  评论(0编辑  收藏  举报