본문 바로가기
SW LAB/Linux

Linux : Booting Mode 변경 (Centos7기준)

by 프롬스 2020. 4. 23.
반응형

[Centos 7] 부팅모드 변경 방법​​

이전 버전과 다르게 CentOS 7 에서는
/etc/inittab 에 들어가도 부팅 순서 변경이 보이질 않는다.

여기서는 systemctl을 이용한 변경을 해야 한다.

현재의 런레벨을 확인하는 방법

runlevel

who -r

런레벨 3(text mode)으로 변경

systemctl set-default multi-user.target

systemctl get-default

reboot

런레벨 5(graphic mode)으로 변경

systemctl set-default graphical.target

systemctl get-default

reboot

바꿀 수 있는 런레벨 출력

systemctl list-units --type=target

출처 : https://m.blog.naver.com/PostView.nhn?blogId=nels1004&logNo=220252554151&proxyReferer=https%3A%2F%2Fwww.google.co.kr%2F

반응형

'SW LAB > Linux' 카테고리의 다른 글

Linux : FTP 접속 관련  (0) 2020.04.23
Linux : FTP 접속 오류  (0) 2020.04.23
Linux : IP 고정방법  (0) 2020.04.23
Linux : 한글깨짐현상 수정  (0) 2020.04.23
Linux : Shell Script 정리  (0) 2020.04.23

댓글