service
用來啟動、停止和檢查這些 daemon 的狀態。例如:
- service --status-all => 列出目前所有 daemon 的狀態
- sudo service XXX start => 馬上啟動 XXX daemon
- sudo service XXX stop => 馬上關閉 XXX daemon
- service XXX status => 檢查 XXX 的狀態
用來控制系統開機時是否要執行這些 daemon。例如:
- sudo rcconf --list => 列出目前所有 daemon 的啟動設定
- sudo rcconf --on XXX => 設定 XXX daemon 開機時自動啟動
- sudo rcconf --off XXX => 設定 XXX daemon 開機時不自動啟動
sudo apt-get install rcconf
2 則留言:
大大您好:
我利用sudo apt-get install rcconf來安裝,但是會遇到以下的error message
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
rcconf
0 upgraded, 1 newly installed, 0 to remove and 296 not upgraded.
Need to get 19.8kB of archives.
After this operation, 119kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
rcconf
Install these packages without verification [y/N]? y
Err http://tw.archive.ubuntu.com intrepid/universe rcconf 1.21
404 Not Found
Failed to fetch http://tw.archive.ubuntu.com/ubuntu/pool/universe/r/rcconf/rcconf_1.21_all.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
最後安裝沒有完成,請問為甚麼無法從那個網站fetch需要的deb呢?
先執行 sudo apt-get update 後再試試看吧。
張貼留言