OSWikiHK: 請協力 GPLv3 的中文翻譯工作。

Manage services

OSWikiHK,自由中文開源知識庫

目录

SysV initscript

大部份GNU/Linux都採用SysV Init起始系統,並在/etc/init.d放置了一大堆以有關服務命名的initscript協助你啟動、關閉個別服務。你可以直接 打"ls /etc/init.d"看看/etc/init.d有什麼服務的initscript。如果你在Red hat、Fedora、Mandrake等distributions,你亦可以打"chkconfig --list"列出所有initscript名稱。

啟動服務

打 "service 服務名稱 start" 啟動有關服務:

service httpd start

關閉服務

打 "service 服務名稱 stop" 關閉有關服務:

service httpd stop

起動系統時自動啟動或關閉服務

打 "chkconfig 服務名稱 on" 令每次起動系統自動啟動有關服務:

chkconfig httpd on

打 "chkconfig 服務名稱 off" 令每次起動系統自動啟動有關服務:

chkconfig httpd off

Debian/Ubuntu上常見服務

  • Audio settings management (alsa-utils)
  • Automated crash reports support (apport)
  • Bluetooth device management (bluetooth)
  • Braille display management (britty)
  • CPU Frequency manager (powernowd)
  • Hard disk tuning (hdparm)
  • Hotkeys management (hotkey-setup)
  • Multicast DNS service discovery (avahi-daemon)
  • Power management (acpid)
  • Power management (apmd)
  • Speech synthesis support (festival)
  • System communication bus (dbus)
  • Terminal multiplexor (screen)
  • 動作排程器 Actions schedular (anacron) - 執行已排程的動作
  • 動作排程器 Actions schedular (atd) - 執行已排程的動作
  • 印表機服務 Printer service (cupsys) - 允許應用程式使用印表機
  • 印表機服務 Printer service (hplip) - 允許應用程式使用印表機
  • 圖形化登入管理程式 Graphical login manager (gdm) - 允許使用者以圖形介面登入
  • 電腦活動記錄器 Computer activity logger (klogd) - 保存你的電腦活動的記錄
  • 電腦活動記錄器 Computer activity logger (sysklogd) - 保存你的電腦活動的記錄
Personal tools
廣告橫額