ubuntu server环境安装virtualbox增强工具
2014-10-13 23:02
387 查看
问题:是否要强制分配该介质(VERR_PDM_MEDIA_LOCKED)
Ubuntu
1. In order to fully update your guest system, open a terminal and run
apt-get update
as root followed by
apt-get upgrade
2. Install DKMS using
apt-get install dkms
sudo aptitude install build-essential
3. Reboot your guest system in order to activate the updates and then proceed as described
above.
sudo reboot
4.挂载cd-rom
sudo mount /dev/cdrom /mnt/
5.安装增强包
sudo /mnt/VBoxLinuxAdditions-x86.run
6.卸载cdrom
sudo umount /mnt/
7.共享windows中的文件,我在virtualbox中设置的共享空间叫vbshare,于是在ubuntu中输入如下命令
sudo mount -t vboxsf vbshare /mnt
http://www.haogongju.net/art/2548368
Ubuntu 12.10 Desktop
首先,通过VirtualBox菜单(设备->安装增强功能)加载增强包加载到光盘。
#安装linux-headers。
$ sudo apt-get install linux-headers-$(uname -r)
#切换到光盘路径,eugene为当前用户名
$ cd /media/eugene/VBOXADDITIONS_4.2.6_82870
#安装增强功能
$ sudo ./VBoxLinuxAdditions.run
Ubuntu 12.10 Server
首先,通过VirtualBox菜单(设备->安装增强功能)加载增强包加载到光盘。
#安装linux-headers。
$sudo apt-get install linux-headers-$(uname -r)
#安装build-essential(编译环境套件:g++,dpkg-dev,libc6-dev,make)
$sudo apt-get install build-essential
#挂载光驱
$sudo mount /dev/cdrom /media/cdrom
#安装增强功能,如果出现以下错误是因为Server未安装图形界面,不影响使用
#Installing the Window System drivers ...fail!
#(Could not find the X.Org or XFree86 Window System.)
$sudo /media/cdrom/VBoxLinuxAdditions.run
#卸载cdrom
$sudo umount /media/cdrom
#将共享文件夹(share)挂载到mnt下
$sudo mount -t vboxsf share /mnt
http://blog.csdn.net/sunjavaduke/article/details/6169141
Installing VirtualBox's "Guest Additions" is not as straight forward as I'd like it to be for an Ubuntu Server Guest but I figured out the solution.
In this tutorial I am using:
Host: Windows XP Professional
VirtualBox: 3.1.6
Guest: Ubuntu Server 10.04 (Lucid Lynx )
So say you have a host with VirtualBox installed (I have Windows XP, you have any version of Windows, Mac, Solaris, Linux, etc.) and have an Ubuntu Server installed as a guest. If you want to install "Guest Additions" for added features (such as seemless
mode, copy and paste support, or shared folders in my case), you're supposed to click
Devices > Install Guest Additions... but when I clicked the button, nothing popped up. Why doesn't anything pop-up? Did it download? Was there an error?
Unbeknown to me, VirtualBox actually downloaded an image called VBoxGuestAdditions.iso, all without telling me. Great, it's downloaded, but how do I mount and install it?
First off, let's grab some libraries we need for Guest Additions to install
Then mount it
Then run the proper executable (make sure you look for the correct one for your machine)
There will be an error that states the not all features could be installed
Installing the Window System drivers ...fail!
(Could not find the X.org or XFree86 Window System.)
But this is okay. VirtualBox's Guest Additions installs some features that we don't need on a server (seemless mode, copy and paste, etc.) If you want these features, you'll have to install 67MB+ of X.Org libraries
So it's up to you: GuestAdditions with 67MB+ of X.Org libraries or let these drivers fail and enjoy shared folders.
问题:是否要强制分配该介质(VERR_PDM_MEDIA_LOCKED)
Ubuntu
1. In order to fully update your guest system, open a terminal and run
apt-get update
as root followed by
apt-get upgrade
2. Install DKMS using
apt-get install dkms
sudo aptitude install build-essential
3. Reboot your guest system in order to activate the updates and then proceed as described
above.
sudo reboot
4.挂载cd-rom
sudo mount /dev/cdrom /mnt/
5.安装增强包
sudo /mnt/VBoxLinuxAdditions-x86.run
6.卸载cdrom
sudo umount /mnt/
7.共享windows中的文件,我在virtualbox中设置的共享空间叫vbshare,于是在ubuntu中输入如下命令
sudo mount -t vboxsf vbshare /mnt
http://www.haogongju.net/art/2548368
Ubuntu 12.10 Desktop
首先,通过VirtualBox菜单(设备->安装增强功能)加载增强包加载到光盘。
#安装linux-headers。
$ sudo apt-get install linux-headers-$(uname -r)
#切换到光盘路径,eugene为当前用户名
$ cd /media/eugene/VBOXADDITIONS_4.2.6_82870
#安装增强功能
$ sudo ./VBoxLinuxAdditions.run
Ubuntu 12.10 Server
首先,通过VirtualBox菜单(设备->安装增强功能)加载增强包加载到光盘。
#安装linux-headers。
$sudo apt-get install linux-headers-$(uname -r)
#安装build-essential(编译环境套件:g++,dpkg-dev,libc6-dev,make)
$sudo apt-get install build-essential
#挂载光驱
$sudo mount /dev/cdrom /media/cdrom
#安装增强功能,如果出现以下错误是因为Server未安装图形界面,不影响使用
#Installing the Window System drivers ...fail!
#(Could not find the X.Org or XFree86 Window System.)
$sudo /media/cdrom/VBoxLinuxAdditions.run
#卸载cdrom
$sudo umount /media/cdrom
#将共享文件夹(share)挂载到mnt下
$sudo mount -t vboxsf share /mnt
http://blog.csdn.net/sunjavaduke/article/details/6169141
Installing VirtualBox's "Guest Additions" is not as straight forward as I'd like it to be for an Ubuntu Server Guest but I figured out the solution.
In this tutorial I am using:
Host: Windows XP Professional
VirtualBox: 3.1.6
Guest: Ubuntu Server 10.04 (Lucid Lynx )
So say you have a host with VirtualBox installed (I have Windows XP, you have any version of Windows, Mac, Solaris, Linux, etc.) and have an Ubuntu Server installed as a guest. If you want to install "Guest Additions" for added features (such as seemless
mode, copy and paste support, or shared folders in my case), you're supposed to click
Devices > Install Guest Additions... but when I clicked the button, nothing popped up. Why doesn't anything pop-up? Did it download? Was there an error?
Unbeknown to me, VirtualBox actually downloaded an image called VBoxGuestAdditions.iso, all without telling me. Great, it's downloaded, but how do I mount and install it?
First off, let's grab some libraries we need for Guest Additions to install
sudo apt-get install build-essential linux-headers-`uname -r`
Then mount it
sudo mount /dev/cdrom1 /mnt
Then run the proper executable (make sure you look for the correct one for your machine)
sudo bash /mnt/VBoxLinuxAdditions-x86.run
There will be an error that states the not all features could be installed
Installing the Window System drivers ...fail!
(Could not find the X.org or XFree86 Window System.)
But this is okay. VirtualBox's Guest Additions installs some features that we don't need on a server (seemless mode, copy and paste, etc.) If you want these features, you'll have to install 67MB+ of X.Org libraries
sudo apt-get install xserver-xorg xserver-xorg-core
So it's up to you: GuestAdditions with 67MB+ of X.Org libraries or let these drivers fail and enjoy shared folders.
相关文章推荐
- 虚拟机Ubuntu server 14.04 安装 virtualbox 增强包
- 在virtualbox中安装ubuntu server 12.04,搭建嵌入式开发环境
- VirtualBox 4.3.12安装Ubuntu已安装增强工具后,仍然不能调分辨率
- VirtualBox环境下Debian安装增强工具失败
- ubuntu server 在 virtualbox中安装增强包
- 宿主系统为Ubuntu 14,CentOS 6.5 安装VirtualBox增强工具失败:Building the OpenGL support module[FAILED]
- ubuntu server 在virtualbox中安装增强包
- virtualbox(windows环境下)centos虚拟机安装增强工具
- 虚拟机Ubuntu server 14.04 安装 virtualbox 增强包
- Ubuntu server版本安装桌面环境
- 在VirtualBox中安装Ubuntu 8.04 Server(3,配置本机网络)
- 为Ubuntu Server安装gnome图形桌面环境
- virtualbox安装centos 6之增强工具
- CentOS5.5中安装VirtualBOX增强工具
- Ubuntu Server 11.10 安装 MySQL,简单配置,及图形化工具
- ubuntu 64 server 干净环境安装php5.3.10+mysql5.5.20+apache2.2.22
- Ubuntu server 10.04安装apache+passenger+ruby+rails+mysql环境
- virtualbox centos安装增强工具
- 在VirtualBox中安装Ubuntu 的增强工具包
- virtualbox安装ubuntu server