1, vbox installation 1, to the virtualBox official homepage http://www.virtualbox.org download Virtu... Ra9-1.i586.rpm for installation. Rpm-UvhVirtualBox-1.6.2_31466_Fedora9-1.i586.rpm2, configure 2.1 Add package: Install the kernel-devel package. Note: Do not use yuminstallkernel-devel during installation. If
I. vbox Installation
1. Go to the virtualBox official homepage http://www.virtualbox.org to download Virtu... Ra9-1.i586.rpm for installation.
Rpm-Uvh VirtualBox-1.6.2_31466_Fedora9-1.i586.rpm
2. Configuration
2.1 Add a software package: Install the kernel-devel package.
Note: Do not use yum install kernel-devel during installation. If you use yum to obtain the kernel package, it is the latest kernel package. The version may be different from the system version, which may cause the third step to fail.
First use uname-rm to check your kernel version. My results are as follows:
[Root @ localhost ~] # Uname-rm
2.6.25-14. fc9.i686 i686
Go to http://rpmfind.net/find the corresponding software and download it.
I downloaded the kernel-devel-2.6.25-14.fc9.i686.rpm and then installed:
[Root @ localhost ~] # Rpm-Uvh kernel-devel-2.6.25-14.fc9.i686.rpm and then in
You can see the kernel code in the/usr/src/kernels/2.6.25-14. fc9.i686 directory.
2.2 Add yourself to the vboxusers group: sudo/usr/sbin/usermod-a-G vboxusers yourname.
2.3 re-compile and start vboxdrv: sudo/etc/init. d/vboxdrv setup.
[OrientSun @ localhost ~] $ Sudo/etc/init. d/vboxdrv setup
Stopping VirtualBox kernel module [OK]
Recompiling VirtualBox kernel module [OK]
Starting VirtualBox kernel module [OK]
Now you have installed it successfully. Next, install your system. I installed windows xp
Ii. file sharing between vbox and host machine.
After installing vbox, you will immediately think of file sharing with the host machine. Friends who have used vmware and vitualpc will immediately find that vbox cannot build a samba server like the previous two types of software, or use an ftp server. Because the virtual machine and the host machine are not in a CIDR block at all. I tried to configure them in the same CIDR block, but I didn't do it well. I hope to enlighten you if you have any experts.
Vbox comes with a data space, which is called file sharing in previous versions. Now 1.6.2 is changed to data space. However, you must install the VirtualBox Guest Addition package.
The installation steps for file sharing are listed below:
Note: Do not underestimate the following steps. If you install it for the first time, you will not pay attention to many details. Because you will spend a lot of time solving these details. Just like the kernel version in the previous installation, If you directly run yum, you certainly cannot install it successfully.
1. Start virtual windows xp to install VirtualBox Guest Addition.
After you click the install enhancement function under the device menu, you will find no response. Don't worry.
Click "release" under the device menu, and then click "Install enhancement" under the device menu. Check whether your optical drive is activated again. What is the response. Don't worry about it. Take a closer look at what file is in your optical drive. There is an ISO. Go to the Virtual Machine System and install the software in the optical drive.
2. Click Allocate data space under the device menu to add the folder path you want to share
3. Follow the instructions on the Internet to enter your VM System, right-click my computer- ing network drive. When you choose to browse, you may be dizzy, which clearly shows vitualbox shared folders. however, the folder you set in the previous step is not added. To be honest, this place is really abnormal.
In the dos window, I used the net use x: \ vboxsvr \ sharename they mentioned. It's a bit difficult to handle. It's almost a success. Don't worry.
4. install VirtualBox Guest Addition in step 1, restart your Vm, and then go to the VM, right-click ing network drive, check if there is any shared folder you have added. If there is no shared folder, I don't know how to solve it. Anyway, the operation is successful by following the above steps. I am not sure why I want to install VirtualBox Guest Addition twice.
It's done.