Due to work requirements, we often need to build the environment in linux. I chose to install VirtualBox in win7 and then install RedHat5.4 in VirtualBox. To enable the virtual machine to automatically adjust the display size and use the data space to share files with the host system, the enhanced package, VBOXAdditions, must be installed in RedHat. OK. Let's start the installation. Start the VM, log on as root, and then select "device"-"Install enhancement" to load
Due to work requirements, we often need to build the environment in linux. I chose to install VirtualBox in win7 and then install RedHat 5.4 in VirtualBox.
To enable the virtual machine to automatically adjust the display size and use the data space to share files with the host system, the enhanced package, VBOX Additions, must be installed in RedHat.
OK. Let's start the installation.
Start the VM, log on as root, and select "device"> "Install enhancement" to load the enhancement image.
Open the terminal, switch to the directory where the loaded image is located, and start installation:
Because RedHat is installed by default and the kernel header file is missing, the installation fails.
Install the missing package as prompted
- [Root @ www.linuxidc.com ~] # Yum install kernel-devel
If a system has a DVD disc, you can configure it as the yum source. For more information, see my other article.
RedHat 5.4 in VirtualBox uses a DVD disc as the yum source http://www.linuxidc.com/Linux/2011-12/49709.htm