::: Zany's Homepage ::: Zany Wiki | »çÀÌÆ® ÅëÇÕ °Ë»ö
 
 
 

[CentOS v7] centos 7, systemctl vs chkconfig

°Ô½ÃÆÇ
Unix/Linux
ÀÛ¼ºÀÚ
helix
ÀÛ¼ºÀÏ
2016-09-20 10:58:23
ÀÐÀº¼ö
3519
ÆòÁ¡
   
Ç¥½Ã¿É¼Ç
HTML»ç¿ë | ÀÚµ¿BRűנ| °ø¹é¹®ÀÚÇã¿ë | °¡¿îµ¥Á¤·Ä | °íÁ¤Æø±Û²Ã | ÀÚµ¿URL¸µÅ© | ¸¶¿ì½º¼±ÅÃ
°ü·Ã¸µÅ©01
http://bencane.com/2012/01/19/cheat-sheet-systemctl-vs-chkconfig 
¡Ü chkconfig - updates and queries runlevel information for system services (CentOS 6 ÀÌÇÏ SysV - /etc/init.d)
¡Ü systemd, init - systemd system and service manager (CentOS 7 ÀÌ»ó systemd - /etc/systemd)

¡Ü List processes
¡Û chkconfig:
    # chkconfig --list
¡Û systemd:
    # systemctl list-units
    # systemctl list-unit-files

¡Ü Enable a service
¡Û chkconfig:
    # chkconfig [¼­ºñ½º¸í] on
¡Û systemd:
    # systemctl enable [¼­ºñ½º¸í].service

¡Ü Disable a service
¡Û chkconfig:
    # chkconfig [¼­ºñ½º¸í] off
¡Û systemd:
    # systemctl disable [¼­ºñ½º¸í].service

¡Ü Start a service
¡Û chkconfig:
    # service [¼­ºñ½º¸í] start
¡Û systemd:
    # systemctl start [¼­ºñ½º¸í].service

¡Ü Stop a service
¡Û chkconfig:
    # service [¼­ºñ½º¸í] stop
¡Û systemd:
    # systemctl stop [¼­ºñ½º¸í].service

¡Ü Check the status of a service
¡Û chkconfig:
    # service [¼­ºñ½º¸í] status
¡Û systemd:
    # systemctl status [¼­ºñ½º¸í].service



 °Ô½ÃÆÇ ±Û ¸ñ·Ï
No Subject Poster Hits Posted
13932 helix 10142 2017-02-10 15:49:55
13879 helix 4804 2016-12-02 20:08:18
13865 helix 2816 2016-11-23 16:19:36
13732 helix 2477 2016-09-27 16:22:05
13731 helix 1971 2016-09-27 13:25:23
helix 3519 2016-09-20 10:58:23
13707 helix 1784 2016-09-20 10:34:52
13678 helix 3211 2016-09-13 14:36:17
13677 helix 5237 2016-09-13 10:33:50
13498 helix 5511 2016-07-08 00:48:24
13493 helix 1621 2016-07-06 02:46:55
ÄÚ¸àÆ®
ÀÛ¼ºÀÚ
                       
 
zany.kr
  Copyright ¨Ï 2002-2010 Zany's Programming Lab. All Rights Not Reserved.
temporary This Page loads on 0.016 Secs