[root@localhost ~]# init 3 |
# # inittab This file describes how the INIT
process should set up # the system in a certain
run-level. # # Author: Miquel van Smoorenburg,
<miquels@drinkel.nl.mugnet.org> # Modified for RHS Linux by Marc
Ewing and Donnie Barnes # # Default runlevel. The runlevels used by
RHS are: #
0 - halt (Do NOT set initdefault to this) #
1 - Single user mode #
2 - Multiuser, without NFS (The same as 3, if you do not have
networking) #
3 - Full multiuser mode #
4 - unused #
5 - X11 #
6 - reboot (Do NOT set initdefault to this) # id:5:initdefault: # 부팅시 기본적으로 적용되는 RunLevel # System initialization. si::sysinit:/etc/rc.d/rc.sysinit l1:1:wait:/etc/rc.d/rc 1 l2:2:wait:/etc/rc.d/rc 2 l3:3:wait:/etc/rc.d/rc 3 l4:4:wait:/etc/rc.d/rc 4 |
[root@localhost ~]# chkconfig --list |
[root@localhost ~]# chkconfig --list httpd |
[root@localhost ~]# chkconfig --level 2345 httpd on |
Linux 를 부팅시 커널 버전을 선택할수 있는 Grub 화면이 뜨면 부팅 하고자 하는 커널 버전을 선택한후 'e'를 입력하면 RunLevel을 수정할수 있는 화면이 나온다.. kernel /vmlinuz-2.6.9-34.EL ro root=LABEL=/ 1 여기서 위와 같이 "root=LABEL=/" 뒤에 원하는 RunLevel "1"을 추가한후 부팅하면 된다 |