1. X윈도우를 보기위한 패키지 설치
yum groupinstall "X Window System" "GNOME Desktop Environment"
yum install fonts-korean
2. 원격에서 x윈도우에 접속하기위한 vnc 설치
yum install vnc-server
vi /etc/sysconfig/vncservers
#####################
VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 1280x800"
#####################
vncpasswd
service vncserver start
chkconfig vncserver on
netstat -an
vi /root/.vnc/xstartup
#####################
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
#####################
service vncserver restart
3. VirtualBox 패키지 설치
vi /etc/yum.repos.d/virtualbox.repo
#####################
[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
#####################
yum install VirtualBox-5.2
4. x윈도우 접속하여 프로그램 → 시스템도구 → Oracle VM VirtualBox 실행
5. 즐겁게 이용.
'리눅스 문서' 카테고리의 다른 글
[MongoDB] 관리자 계정 추가/삭제하기 (4) | 2018.01.31 |
---|---|
mongoDB 인증설정하기 (4) | 2018.01.30 |
MySQL 소스설치(5.7.x) (4) | 2017.11.23 |
MySQL 5.7.x Configure시 CMake Boost 오류 처리 방법 (4) | 2017.11.23 |
CentOS 5.x Error: Cannot find a valid baseurl for repo: extras (4) | 2017.10.26 |