# IT #/Linux

# RHEL / Centos 7 버전에서 runlevel 변경하기 / 런레벨 변경

국철 2019. 3. 4. 13:22
반응형

# RHEL / Centos 7 버전에서 runlevel 변경하기 / 런레벨 변경


1. default runlevel 값 확인하기

[root@localhost ~]# systemctl get-default 

multi-user.target


2. graphical.target 으로 변경하기

[root@localhost ~]# systemctl set-default graphical.target 

Removed symlink /etc/systemd/system/default.target.

Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/graphical.target.


3. 다시 default runlevel 값 확인하기

[root@localhost ~]# systemctl get-default 

graphical.target


4. multi-user.target 으로 변경하기

[root@localhost ~]# systemctl set-default multi-user.target 

Removed symlink /etc/systemd/system/default.target.

Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/multi-user.target.


5. 다시 default runlevel 값 확인하기

[root@localhost ~]# systemctl get-default 

multi-user.target






반응형