
chkconfig 결과의 0-6은 무엇입니까?
예
chkconfig --list|grep iptables
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
답변1
다른 숫자는 해당 서비스의 다른 실행 수준에 해당합니다.
ID Name Description
---------------------------------------
0 Halt Shuts down the system.
1 Single-user Mode Mode for administrative tasks.
2 Multi-user Mode Does not configure network interfaces and does not export networks services.
3 Multi-user Mode with Networking Starts the system normally.
4 Not used/User-definable For special purposes.
5 Start the system normally with appropriate display manager. (with GUI) Same as runlevel 3 + display manager.
6 Reboot Reboots the system.
위키피디아더 구체적인 정보가 필요한 경우 다양한 런레벨에 대한 자세한 설명이 있습니다(기본 시스템에 따라 의미가 다를 수도 있음).
답변2
시스템 V입니다런레벨.
답변3
이 숫자는 시작 시 실행할 프로세스나 프로그램을 결정하는 실행 수준을 나타냅니다. 이 모든 것들은 /etc/inittab에 정의되어 있습니다. Linux 배포판에는 7개의 서로 다른 런레벨이 있으며 시작 시 init 프로세스는 어떤 런레벨이 실행되고 있는지 확인하고 이를 기반으로 프로세스와 서비스를 실행합니다. 부팅 절차에서 init는 서비스 실행을 담당하는 마지막 단계입니다.
Runlevel은 일반적으로 Linux를 전환하여 고급 관리를 수행할 수 있는 시스템 상태입니다.