일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- ubuntu
- port forwarding
- postgres
- perfect
- ssh
- SWIFT
- appium server
- insert
- STF_PortForwarding
- create table
- mysql
- nmap
- Jupyter
- STF
- rethinkdb
- appium
- nGrinder
- postgresql
- ftp
- centos
- 28015
- openpyxl
- nohup
- GoCD
- 실행권한
- kitura
- Materials
- Jupyter Notebook
- sshpass
- PYTHON
- Today
- Total
don't stop believing
CentOS 7 GUI 설치 (GNOME Desktop) 본문
CentOS를 설치하고 터미널을 이용해 사용하다 GUI 툴을 볼 일이 있었습니다.
Ubuntu의 경우 설치하면 GUI 툴이 기본으로 실행되지만 CentOS는 터미널이 기본인 것 같습니다.
CentOS에 GUI를 설치해 보겠습니다.
CentOS를 설치하면 기본 까만 터미널이 보입니다.
버전부터 확인하고 가겠습니다.
12345678910111213141516$ cat /etc/os-releaseNAME="CentOS Linux"VERSION="7 (Core)"ID="centos"ID_LIKE="rhel fedora"VERSION_ID="7"PRETTY_NAME="CentOS Linux 7 (Core)"ANSI_COLOR="0;31"CPE_NAME="cpe:/o:centos:centos:7"HOME_URL="https://www.centos.org/"BUG_REPORT_URL="https://bugs.centos.org/"CENTOS_MANTISBT_PROJECT="CentOS-7"CENTOS_MANTISBT_PROJECT_VERSION="7"REDHAT_SUPPORT_PRODUCT="centos"REDHAT_SUPPORT_PRODUCT_VERSION="7"
먼저 yum을 업데이트 해줍니다.
1$ sudo yum update
GUI 툴은 yum으로 설치합니다. group list로 설치할 수 있는 group을 확인합니다.
명령은 yum group list 입니다.
1234567891011121314151617181920212223242526272829303132333435363738394041424344$ yum group listLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile* base: centos.mirror.moack.net* epel: mirror.premi.st* extras: centos.mirror.moack.net* ius: hkg.mirror.rackspace.com* updates: centos.mirror.moack.netAvailable Environment Groups:최소 설치계산 노드인프라 서버파일 및 프린트 서버Cinnamon DesktopMATE Desktop기본 웹 서버가상화 호스트서버 - GUI 사용GNOME 데스크탑KDE Plasma Workspaces개발 및 창조를 위한 워크스테이션Installed Groups:개발용 도구Available Groups:CinnamonFedora PackagerHaskellMATEMilkymistTurboGears 애플리케이션 프레임워크Xfce과학기술 지원교육용 소프트웨어그래픽기반 관리 도구레거시 UNIX 호환성보안 도구스마트카드 지원시스템 관리시스템 관리 도구일반적인 목적의 데스크탑전자 실습콘솔 인터넷 도구호환성 라이브러리Done
명령을 실행했는데 한글로 나와서 뜻밖이네요.
영어로 바꿔줍시다.
먼저 CentOS의 언어 설정을 확인해 보겠습니다. echo로 $LANG을 확인합니다.
12$ echo $LANGko_KR.UTF-8
역시 ko_KR.UTF-8로 나오네요. 영어로 바꿔줍니다.
1$ LANG=en_US.UTF-8
그리고 다시 yum group list를 확인합니다.
1234567891011121314151617181920212223242526272829303132333435363738394041424344$ yum group listLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile* base: centos.mirror.moack.net* epel: mirror.premi.st* extras: centos.mirror.moack.net* ius: hkg.mirror.rackspace.com* updates: centos.mirror.moack.netAvailable Environment Groups:Minimal InstallCompute NodeInfrastructure ServerFile and Print ServerCinnamon DesktopMATE DesktopBasic Web ServerVirtualization HostServer with GUIGNOME DesktopKDE Plasma WorkspacesDevelopment and Creative WorkstationInstalled Groups:Development ToolsAvailable Groups:CinnamonCompatibility LibrariesConsole Internet ToolsEducational SoftwareElectronic LabFedora PackagerGeneral Purpose DesktopGraphical Administration ToolsHaskellLegacy UNIX CompatibilityMATEMilkymistScientific SupportSecurity ToolsSmart Card SupportSystem Administration ToolsSystem ManagementTurboGears application frameworkXfceDone
CentOS 7일 경우 설치할 group은 'Server with GUI', 'GNOME Desktop' 이렇게 두 개 입니다.
아래 yum 명령으로 group을 설치합니다.
1$ sudo yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
명령을 실행하면 group에 포함된 패키지들이 설치됩니다. 설치되는 패키지들이 983개나 되네요. 시간이 좀 걸립니다.
그리고 GUI로 system을 시작하기 위해 runlevel 변경해 줍니다.
1$ sudo ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
참고로 runlevel에 대해서는 아래 링크에서 확인하세요.
설치는 이제 끝났습니다. reboot 명령으로 CentOS를 재시작 합니다.
1$ sudo reboot
재시작하면 GNOME Desktop이 실행되고 로그인 화면이 나옵니다.
로그인을 해줍니다.
로그인 후 몇가지 체크를 하면 설정이 완료되었다고 나옵니다.
Start Using CentOS Linux 버튼을 클릭합니다
이제 CentOS의 GUI Tool (GNOME Desktop)을 사용하시면 됩니다.
'Linux > CentOS' 카테고리의 다른 글
go 설치 (on CentOS7) (3) | 2019.02.13 |
---|---|
CentOS TimeZone 변경하기 (0) | 2018.11.30 |
일반 user 계정 suder 추가하기 (0) | 2018.11.23 |
CentOS 설치 후 yum 이 안될 때 (4) | 2018.09.21 |
CentOS dmidecode 설치 (0) | 2017.10.16 |