버추얼박스(VirtualBox)에 데비안 Lenny를 인스톨 한 후에 Guest Additions를 설치하자.
게스트 에디션을 설치하면 해상도 자동조절, 마우스 자유이동 등 편리해진다..
<설치 방법>
데비안 부팅 후, VirtualBox의 '장치' 메뉴에서 '게스트 확장설치'를 클릭한다.
바탕화면에 CD-ROM 드라이브가 표시된다.
터미털 실행해서 root 권한으로 아래 명령어를 실행한다.
# cd /cdrom
# sh VBoxLinuxAdditions-x86.run
# sh VBoxLinuxAdditions-x86.run
아마,,, 에러가 났을 것이다.
# Verifying archive integrity... All good.
# Uncompressing VirtualBox 2.2.2 Guest Additions for Linux installation......
# ...........................................................................
# ...........................................................................
# ..................................................................
# VirtualBox 2.2.2 Guest Additions installation
# Please install GNU make.
# Please install the build and header files for your current Linux kernel.
# The current kernel version is 2.6.26-2-686
# Please install the GNU compiler.
# This system does not seem to have support for OpenGL direct rendering.
# VirtualBox requires Linux 2.6.27 or later for this. Please see the log
# file /var/log/vboxadd-install.log if your guest uses Linux 2.6.27 and you still
# see this message.
# Problems were found which would prevent the Guest Additions from installing.
# Please correct these problems and try again.
# Uncompressing VirtualBox 2.2.2 Guest Additions for Linux installation......
# ...........................................................................
# ...........................................................................
# ..................................................................
# VirtualBox 2.2.2 Guest Additions installation
# Please install GNU make.
# Please install the build and header files for your current Linux kernel.
# The current kernel version is 2.6.26-2-686
# Please install the GNU compiler.
# This system does not seem to have support for OpenGL direct rendering.
# VirtualBox requires Linux 2.6.27 or later for this. Please see the log
# file /var/log/vboxadd-install.log if your guest uses Linux 2.6.27 and you still
# see this message.
# Problems were found which would prevent the Guest Additions from installing.
# Please correct these problems and try again.
에러난 이유는....
필요한 패키지가 설치 안되어 있어서이다..
GNU make、Linux kernel header、GNU compiler
그리고 OpenGL 다이렉트렌더링을 실행하려면 커널 2.6.27이상이어야 한다.
<해결 방법>
# aptitude install make linux-headers-2.6-686 gcc
여기서 gcc대신 g++ 설치해도 상관없다.aptitude 대신 apt-get 을 쓰는 방법도 있다.
다시 한번 시도 해 보자~!!!
# cd /cdrom
# sh VBoxLinuxAdditions-x86.run
# sh VBoxLinuxAdditions-x86.run
이번엔 성공이다^^
# Verifying archive integrity... All good.
# Uncompressing VirtualBox 2.2.2 Guest Additions for Linux installation.......
# ............................................................................
# ............................................................................
# ...............................................................
# VirtualBox 2.2.2 Guest Additions installation
# This system does not seem to have support for OpenGL direct rendering.
# VirtualBox requires Linux 2.6.27 or later for this. Please see the log
# file /var/log/vboxadd-install.log if your guest uses Linux 2.6.27 and you still
# see this message.
# Building the VirtualBox Guest Additions kernel module...
# Building the shared folder support kernel module...
# Installing the VirtualBox Guest Additions...
#
# Successfully installed the VirtualBox Guest Additions.
# You must restart your guest system in order to complete the installation.
재부팅하면 게스트 에디션이 작동한다.~# Uncompressing VirtualBox 2.2.2 Guest Additions for Linux installation.......
# ............................................................................
# ............................................................................
# ...............................................................
# VirtualBox 2.2.2 Guest Additions installation
# This system does not seem to have support for OpenGL direct rendering.
# VirtualBox requires Linux 2.6.27 or later for this. Please see the log
# file /var/log/vboxadd-install.log if your guest uses Linux 2.6.27 and you still
# see this message.
# Building the VirtualBox Guest Additions kernel module...
# Building the shared folder support kernel module...
# Installing the VirtualBox Guest Additions...
#
# Successfully installed the VirtualBox Guest Additions.
# You must restart your guest system in order to complete the installation.
'Linux > debian/ubuntu' 카테고리의 다른 글
Let’s Encrypt 무료 SSL 인증서 자동 갱신하기 (1) | 2017.01.19 |
---|---|
Let's encrypt 를 이용하여 Nginx 서버에서 무료로 https 설정하기 (0) | 2016.12.14 |
우분투에서 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 에러 해결법 (1) | 2016.04.20 |
Debian / Ubuntu 에서 사용자 계정 추가/삭제 (0) | 2013.12.06 |
SVN 서버 설치 (0) | 2011.12.14 |
MySQL 외부접속 허용하기 (0) | 2011.12.14 |
리눅스(데비안)에서 SSH 설치, 설정하기 (0) | 2009.07.26 |
댓글