Install VirtualBox 4.1.4 on Fedora 15/14, CentOS/Red Hat (RHEL) 5.6/6
2011-10-10 23:02
411 查看
InstallVirtualBox4.1.4onFedora15/14,CentOS/RedHat(RHEL)5.6/6
BYJR–PUBLISHED:FEBRUARY18,2010–LASTUPDATED:OCTOBER7,2011POSTEDIN:1.ChangetorootUser
su- ##OR## sudo-i
2.InstallFedoraorRHELRepoFiles
cd/etc/yum.repos.d/
##Fedora15/14/13/12andRHEL6users
wgethttp://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
##CentOS5.6andRHEL5.6users
wgethttp://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
3.Updatelatestpackages
yumupdateNote:Rebootifyougotkernelupdate.
4.Installfollowingdependencypackages
yuminstallgcckernel-develkernel-headers
##PAEkernelusersinstall##
yuminstallgcckernel-PAE-develkernel-headers
5.InstallVirtualBoxLatestVersion(current4.1.4)
yuminstallVirtualBox-4.1Note:ThiscommandcreateautomaticallyvboxusersgroupandVirtualBoxusermustbememberofthatgroup.Thiscommandalsobuildneededkernelmodules.
6.AddVirtualBoxUsertovboxusersGroup
usermod-a-Gvboxusersuser_name
7.StartVirtualBox
Uselauncherorsimply:VirtualBox
Troubleshooting
IfyouhaveproblemswithKERN_DIRparameteroryourkerneldirectoryisnotautomaticallydetectedthensetKERN_DIRenvironmentvariablemanually,usingfollowingmethod:##CurrentrunningkernelonFedora##
KERN_DIR=/usr/src/kernels/`uname-r`
##CurrentrunningkernelonCentOSandRedHat(RHEL)##
KERN_DIR=/usr/src/kernels/`uname-r`-`uname-m`
##Fedoraexample##
KERN_DIR=/usr/src/kernels/2.6.33.5-124.fc13.i686
##CentOSandRedHat(RHEL)example##
KERN_DIR=/usr/src/kernels/2.6.18-194.11.1.el5-x86_64
##ExportKERN_DIR##
exportKERN_DIR
相关文章推荐
- Install VirtualBox Guest Additions on Fedora 16/15, CentOS/RHEL 6/5.7
- howto install Oracle VirtualBox Guest Additions on Fedora, CentOS and Red Hat (RHEL).
- Google Chrome 35 Released – Install on RHEL/CentOS 6 and Fedora 20-15
- Install MySQL 5.5.22 on Fedora 16/15, CentOS/Red Hat (RHEL) 6.2/5.8
- Install Google Chrome on Fedora 17/16, CentOS/Red Hat (RHEL) 6.3
- VirtualBox Guest Additions on Fedora 21/20, CentOS/RHEL 7.1/6.6/5.11
- [ZZ]Install Firefox 20 on Fedora 18/17, CentOS/Red Hat (RHEL) 6.4
- Install Google Chrome on Fedora 23/22, CentOS/RHEL 7.1
- 转: How to Install MongoDB 3.2 on CentOS/RHEL & Fedora (简单易懂)
- VirtualBox Guest Additions install on Ubuntu and RHEL
- How to install MySQL Server 5.6 on CentOS 7 / RHEL 7
- Install SVN (Subversion) Server on Fedora 20/19, CentOS/Red Hat (RHEL) 6.5/5.10
- Install ImageMagick (Image Manipulation) Tool on RHEL/CentOS and Fedora 【转】
- install VirtualBox on Fedora
- Install Adobe Reader on Fedora 20/19, CentOS/RHEL 7/6.5/5.10
- Install Apache OpenOffice 3.4.1 on RHEL/CentOS 6.3/5.8 and Fedora 17/16
- How to Install PostgreSQL 9.5 on CentOS/RHEL 7/6/5 and Fedora 23/22
- How to Install LAMP (Apache 2.4, MySQL 5.6, and PHP 5.4) on CentOS/RHEL 7
- Nagios 4.0.1 Released – Install on RHEL/CentOS 6.x/5.x and Fedora 19/18/17
- Install MySQL 5.7 on Fedora 25/24, CentOS/RHEL 7.3/6.8/5.11