1. 程式人生 > >Linux 系統開機自啟的配置文件

Linux 系統開機自啟的配置文件

b-s init 圖形 -s scrip 設置 con mar lba

程序開機啟動的配置文件(/etc/rc.local)

# 系統級別

ntsysv  # 圖形界面設置自啟程序
chkconfig(/etc/init.d/sshd)    處理開機啟動的文件

# 用戶級別
# 寫入/etc/rc.local(推薦使用,一般作為企業服務器的檔案文件,Linxu啟動最後加載的東西)
   vim /etc/rc.local     #  所有程序都必須寫入rc.local,註釋並備份


[更多參考]
Linux 開機啟動流程 https://www.cnblogs.com/ftl1012/p/9266367.html
Linux chkconfig命令詳解 https://www.cnblogs.com/ftl1012/p/9266402.html
Linux系統重要的開機自啟動的服務 https://www.cnblogs.com/ftl1012/p/9277602.html

Linux 系統開機自啟的配置文件