본문 바로가기
★━Server OS〃/1. Linux

[OEL7] Linux 7 GUI 설치 ("Graphical Administration Tools", "Server with GUI ")

by Raynee 2021. 4. 21.
반응형

Linux 설치시 최소 사양인 Minimal Install을 했다면 GUI방식이 아닌 CLI방식으로 접속이 됩니다. 

 

최소 사양설치에서 GUI 설치를 해보겠습니다. 

 

설치 순서는 아래와 같습니다. 

OS Vesion : OEL 7.9

 

1. Pakge 설치

  - Server with GUI 

  - Graphical Administration Tools

2. Runlevel 변경

3. Shutdown 후 GUI 확인. 

 

그룹 설치할 리스트 확인

# yum group list
Loaded plugins: ulninfo
Available Environment Groups:
   Minimal Install
   Infrastructure Server
   File and Print Server
   Basic Web Server
   Virtualization Host
   Server with GUI
Installed Groups:
   Development Tools
Available Groups:
   Compatibility Libraries
   Console Internet Tools
   Graphical Administration Tools
   Legacy UNIX Compatibility
   Scientific Support
   Security Tools
   Smart Card Support
   System Administration Tools
   System Management

 

1. GUI Pakge Install

   - Server with GUI

[root@localhost ~]# yum groupinstall "Server with GUI"

   - Graphical Administration Tools

[root@localhost ~]# yum groupinstall "Graphical Administration Tools" 
Loaded plugins: ulninfo
Warning: Group graphical-admin-tools does not have any packages to install.
Group graphical-admin-tools does have 1 conditional packages, which may get installed.
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update

설치 시 위와 같이 Pakge가 설치가 안되면 강제 설치를 해야함.

[root@localhost ~]# yum groupinstall "Graphical Administration Tools" --setopt=group_package_types=mandatory,default,optional

2. Runlevel 확인하기

현재 Runlevel 확인 및 GUI Runlevel인 5로 변경.

[root@localhost ~]# cat /etc/inittab
multi-user.target : analogous to runlevel 3
graphical.target : analogous to runlevel 5

부팅시 runlevel 확인.
[root@localhost ~]# systemctl get-default 
multi-user.target 

runlevel 5로 변경
[root@localhost ~]# ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target

바뀐 runlevel 확인.
[root@localhost ~]# systemctl get-default 

graphical.target

시스템 재부팅
[root@localhost ~]# shutdown -r now

3. GUI 화면 확인

부팅 후 GUI 화면 확인.

반응형

'★━Server OS〃 > 1. Linux' 카테고리의 다른 글

쉘 스크립트 정리  (0) 2022.03.28
[OEL7] OEL7 Single Booting 및 password 복구  (0) 2021.12.29
ssh 접속시 pw 안물어보기  (0) 2017.08.02
[Centos] Hostname 변경  (0) 2017.08.02
[Centos] man 페이지 확인  (0) 2017.08.02

댓글