勤快的小豬

          Install VirtualBox Guest Additions in CentOS (RedHat) Linux Guest

          Install VirtualBox Guest Additions in CentOS (RedHat) Linux Guest

          When you try to install the VirtualBox Guest Additions for a Linux guest system, this will fail due to some weired ‘features’ in the installation. This post is based on my experience with VirtualBox 3.0.6.

          To perform the installation do the following:
          Choose Install Guest Additions... from the VirtualBox menu. Open a terminal window in your guest system. Do a

          cd /media/VBOXADDITIONS_3.0.6_52128/
          (the foldername will change depending on the VBox version). Proceed as described below.

          1. Cannot execute .run file

          When you try to execute the installation file (e.g. VBoxLinuxAdditions-amd64.run), you get an error message like this

          [root@integration /]# cd /media/VBOXADDITIONS_3.0.6_52128/
          [root@integration VBOXADDITIONS_3.0.6_52128]# ./VBoxLinuxAdditions-amd64.run
          -bash: ./VBoxLinuxAdditions-amd64.run: /bin/sh: bad interpreter: Permission denied

          The solution is to use the command

          sh VBoxLinuxAdditions-amd64.run

          instead (choosing the right architecture, it was 64bit in this case).

          2. Installer complains about missing gcc and Linux kernel headers

          The solution to this is to update your kernel to the latest version and install headers and sources for it. VirtualBox requires to compile some drivers when it installs.

          Just execute
          yum update kernel
          yum install gcc
          yum install kernel-devel

          .
          Run the installer again and everything should be ok.

          posted on 2011-02-21 22:24 嚕嚕 閱讀(1135) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          <2011年2月>
          303112345
          6789101112
          13141516171819
          20212223242526
          272812345
          6789101112

          導航

          統計

          常用鏈接

          留言簿(2)

          隨筆檔案

          Oracle Data Mining | + KDD

          Oracle OLAP

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 牟定县| 阿尔山市| 黄龙县| 永新县| 高尔夫| 玉屏| 扶风县| 开封县| 萨嘎县| 扬州市| 莱州市| 监利县| 应城市| 遂川县| 朝阳市| 福清市| 石柱| 沽源县| 冀州市| 江孜县| 邵东县| 青冈县| 岫岩| 黑水县| 宝丰县| 浮山县| 安顺市| 平南县| 光泽县| 乌拉特后旗| 民县| 陕西省| 定西市| 嘉鱼县| 泸西县| 墨江| 寿光市| 利津县| 卫辉市| 安义县| 竹山县|