特殊:Badtitle/NS100:SysvconfigHowTo
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/SysvconfigHowTo }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/af | • {{#if: UbuntuHelp:SysvconfigHowTo|Afrikaans| [[::SysvconfigHowTo/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/ar | • {{#if: UbuntuHelp:SysvconfigHowTo|العربية| [[::SysvconfigHowTo/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/az | • {{#if: UbuntuHelp:SysvconfigHowTo|azərbaycanca| [[::SysvconfigHowTo/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/bcc | • {{#if: UbuntuHelp:SysvconfigHowTo|جهلسری بلوچی| [[::SysvconfigHowTo/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/bg | • {{#if: UbuntuHelp:SysvconfigHowTo|български| [[::SysvconfigHowTo/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/br | • {{#if: UbuntuHelp:SysvconfigHowTo|brezhoneg| [[::SysvconfigHowTo/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/ca | • {{#if: UbuntuHelp:SysvconfigHowTo|català| [[::SysvconfigHowTo/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/cs | • {{#if: UbuntuHelp:SysvconfigHowTo|čeština| [[::SysvconfigHowTo/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/de | • {{#if: UbuntuHelp:SysvconfigHowTo|Deutsch| [[::SysvconfigHowTo/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/el | • {{#if: UbuntuHelp:SysvconfigHowTo|Ελληνικά| [[::SysvconfigHowTo/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/es | • {{#if: UbuntuHelp:SysvconfigHowTo|español| [[::SysvconfigHowTo/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/fa | • {{#if: UbuntuHelp:SysvconfigHowTo|فارسی| [[::SysvconfigHowTo/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/fi | • {{#if: UbuntuHelp:SysvconfigHowTo|suomi| [[::SysvconfigHowTo/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/fr | • {{#if: UbuntuHelp:SysvconfigHowTo|français| [[::SysvconfigHowTo/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/gu | • {{#if: UbuntuHelp:SysvconfigHowTo|ગુજરાતી| [[::SysvconfigHowTo/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/he | • {{#if: UbuntuHelp:SysvconfigHowTo|עברית| [[::SysvconfigHowTo/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/hu | • {{#if: UbuntuHelp:SysvconfigHowTo|magyar| [[::SysvconfigHowTo/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/id | • {{#if: UbuntuHelp:SysvconfigHowTo|Bahasa Indonesia| [[::SysvconfigHowTo/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/it | • {{#if: UbuntuHelp:SysvconfigHowTo|italiano| [[::SysvconfigHowTo/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/ja | • {{#if: UbuntuHelp:SysvconfigHowTo|日本語| [[::SysvconfigHowTo/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/ko | • {{#if: UbuntuHelp:SysvconfigHowTo|한국어| [[::SysvconfigHowTo/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/ksh | • {{#if: UbuntuHelp:SysvconfigHowTo|Ripoarisch| [[::SysvconfigHowTo/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/mr | • {{#if: UbuntuHelp:SysvconfigHowTo|मराठी| [[::SysvconfigHowTo/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/ms | • {{#if: UbuntuHelp:SysvconfigHowTo|Bahasa Melayu| [[::SysvconfigHowTo/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/nl | • {{#if: UbuntuHelp:SysvconfigHowTo|Nederlands| [[::SysvconfigHowTo/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/no | • {{#if: UbuntuHelp:SysvconfigHowTo|norsk| [[::SysvconfigHowTo/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/oc | • {{#if: UbuntuHelp:SysvconfigHowTo|occitan| [[::SysvconfigHowTo/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/pl | • {{#if: UbuntuHelp:SysvconfigHowTo|polski| [[::SysvconfigHowTo/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/pt | • {{#if: UbuntuHelp:SysvconfigHowTo|português| [[::SysvconfigHowTo/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/ro | • {{#if: UbuntuHelp:SysvconfigHowTo|română| [[::SysvconfigHowTo/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/ru | • {{#if: UbuntuHelp:SysvconfigHowTo|русский| [[::SysvconfigHowTo/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/si | • {{#if: UbuntuHelp:SysvconfigHowTo|සිංහල| [[::SysvconfigHowTo/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/sq | • {{#if: UbuntuHelp:SysvconfigHowTo|shqip| [[::SysvconfigHowTo/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/sr | • {{#if: UbuntuHelp:SysvconfigHowTo|српски / srpski| [[::SysvconfigHowTo/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/sv | • {{#if: UbuntuHelp:SysvconfigHowTo|svenska| [[::SysvconfigHowTo/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/th | • {{#if: UbuntuHelp:SysvconfigHowTo|ไทย| [[::SysvconfigHowTo/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/tr | • {{#if: UbuntuHelp:SysvconfigHowTo|Türkçe| [[::SysvconfigHowTo/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/vi | • {{#if: UbuntuHelp:SysvconfigHowTo|Tiếng Việt| [[::SysvconfigHowTo/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/yue | • {{#if: UbuntuHelp:SysvconfigHowTo|粵語| [[::SysvconfigHowTo/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/zh | • {{#if: UbuntuHelp:SysvconfigHowTo|中文| [[::SysvconfigHowTo/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/zh-hans | • {{#if: UbuntuHelp:SysvconfigHowTo|中文(简体)| [[::SysvconfigHowTo/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SysvconfigHowTo | UbuntuHelp:SysvconfigHowTo | {{#if: | :}}SysvconfigHowTo}}/zh-hant | • {{#if: UbuntuHelp:SysvconfigHowTo|中文(繁體)| [[::SysvconfigHowTo/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:SysvconfigHowTo|:SysvconfigHowTo|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :SysvconfigHowTo/zh | | {{#ifexist: SysvconfigHowTo/zh | | {{#ifeq: {{#titleparts:SysvconfigHowTo|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:SysvconfigHowTo|1|-1|}} | zh | | }}
This is still a work in progress.
Enable/Disable Services with sysvconfig
Install sysvconfig
System > Administration > Synaptic Package Manager
With All packages selected (the default) scroll down to sysvconfig and check the box, selecting Mark for Installation. You will be prompted to "Mark additional required changes ?" for "dialog" to be installed; click Mark.
In the menu bar of Synaptic, click Apply. When prompted to apply the changes, click the Apply button.
Wait for the software to install, then File > Quit from Synaptic.
Run sysvconfig
Start up a root terminal (Applications > System Tools > Root Terminal).
Type sysvconfig
With the blue bar on Enable/Disable a service, press the Enter key.
Move the scroll bar up and down the list of services. Use the space bar to toggle a service on or off. As of May 2005, a partial description of the services can be found at InitScriptList with other information available at UbuntuBootupHowto. When done, press the Enter key.
Scroll down to Finished and press the Enter key to save your changes. Press return again to return to the main menu, then select Quit.
-- rcs 08-May-2005