마스터포유(Master4U)
Monday, 17 of January
 

제목: Centos 7 Run level 변경방법
분류: 리눅스
이름: 관리자 * http://www.master4u.net


등록일: 2023-03-24 18:51
조회수: 4263
 

Centos 7 Run level 변경방법

자주 사용하는 시스템 런레벨
런레벨  용도
0         종료
1         싱글사용자
2         다중사용자 (multi-user.target)
5         그래픽 환경 (graphic.target)
6         재부팅

Centos7에서는 아래 명령어로 변경 가능 (재부팅 후부터 반영)

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

현재환경에서 변경

[root@localhost ~]# systemctl isolate graphical.target

현재 사용중인 런레벨 확인 방법

who명령어로 확인

[root@localhost ~]# who -r run-level 3  2014-09-18 10:22

systemctl 명령어로 확인

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

<자료출처 : https://blog.naver.com/artop0420/222846406408 >
       
△ 이전글: 이벤트 뷰어(Event Viewer)를 통해 윈도우 부팅 시간 확인하기
▽ 다음글: Nvidia 설치오류 – Nouveau Kernel Driver 제거
Copyright 1999-2026 Zeroboard / skin by enFree