Recently, I want to install MailArchiva software on Linux platform for testing replaced bad disk. I will use the virtualization and select the Virtualbox application because it is free on commercial environment. After installing CentOS 6.3 x64 version as Guest VM, I find out the file shared function is not working because the VirtualBox Guest Additions need to be installed on Guest VM.
How to install VirtualBox Guest Additions on CentOS 6.3 x64?At first, switch to yum repository for adding Virtualbox repository
Install wget by yum if it never is installedHow to install VirtualBox Guest Additions on CentOS 6.3 x64?At first, switch to yum repository for adding Virtualbox repository
Get Virtualbox repository
In VirtualBox management, click Devices –> Install Guest Additions… in menu
Make and mount VirtualBox Guest Additions device next to begin to install Guest Additions
The installation result will fail and it give us some informationWe also can look at /var/log/vboxadd-install.log in detail.
Make sure it is the up-to-date kernel so that update Kernel next to reboot it (# 1)Install the related packages as make, gcc, kernel, perl and so on.
Add KERN_DIR environment variable
Install Guest Additions again and the result is successful. (# 2)
Reboot guest system so that the VirtualBox Guest Additions installation is ready now.
Reference:
(#1) What version is before update Kernel
What version is after update Kernel
(#2) Due to never install GUI mode so that the window system drivers don’t need to be installed now.
沒有留言:
張貼留言