# cd /etc/yum.repos.d # wget http://public-yum.oracle.com/public-yum-el5.repo
Yum の構成ファイルをテキスト エディターで開く
更新するリポジトリのファイル内のセクションを見つけます
[el5_ga_base],[ol5_u7_base],[el5_addons],[el5_oracle_addons]
変更を有効に有効にするには 0 を = 1
対象のOSバージョンを確認してリポジトリを登録します。
# yum install gcc make kernel-uek-devel
「kernel-uek-devel」の部分は環境に依存します
# mount -o exec,remount -t iso9660 /devhdc /media/VBOXADDITIONS_4.1.6_74713/ # cd /media/VBOXADDITIONS_4.1.6_74713/ # sh VBoxLinuxAdditions.run Verifying archive integrity... All good. Uncompressing VirtualBox 4.1.6 Guest Additions for Linux......... VirtualBox Guest Additions installer Removing existing VirtualBox DKMS kernel modules [ OK ] Removing existing VirtualBox non-DKMS kernel modules [ OK ] Building the VirtualBox Guest Additions kernel modules Building the main Guest Additions module [ OK ] Building the shared folder support module [ OK ] Building the OpenGL support module [失敗] (Look at /var/log/vboxadd-install.log to find out what went wrong) Doing non-kernel setup of the Guest Additions [ OK ] Installing the Window System drivers Installing X.Org 7.1 modules [ OK ] Setting up the Window System to use the Guest Additions [ OK ] You may need to restart the hal service and the Window System (or just restart the guest system) to enable the Guest Additions. Installing graphics libraries and desktop services componen[ OK ] # reboot