Download the latest version from here
https://www.virtualbox.org/wiki/Downloads
Download the latest version of dkms from here
http://rpmfind.net/linux/rpm2html/search.php?query=dkms
I have already download and kept these two file in a directory virutalbox_setupfile
[root@station1 samba]# cd virutalbox_setupfile/
[root@station1 virutalbox_setupfile]# ls
dkms-2.1.1.2-1.el6.rf.noarch.rpm VirtualBox-4.1-4.1.10_76795_rhel6-1.x86_64.rpm
[root@station1 virutalbox_setupfile]# yum install -y gcc
[root@station1 virutalbox_setupfile]# yum install -y kernel-devel
[root@station1 virutalbox_setupfile]# rpm -ivh dkms-2.1.1.2-1.el6.rf.noarch.rpm
warning: dkms-2.1.1.2-1.el6.rf.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing... ########################################### [100%]
1:dkms ########################################### [100%]
[root@station1 virutalbox_setupfile]# ls
dkms-2.1.1.2-1.el6.rf.noarch.rpm VirtualBox-4.1-4.1.10_76795_rhel6-1.x86_64.rpm
[root@station1 virutalbox_setupfile]# rpm -ivh VirtualBox-4.1-4.1.10_76795_rhel6-1.x86_64.rpm
warning: VirtualBox-4.1-4.1.10_76795_rhel6-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
Preparing... ########################################### [100%]
1:VirtualBox-4.1 ########################################### [100%]
Creating group 'vboxusers'. VM users must be member of that group!
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS [ OK ]
Starting VirtualBox kernel modules [ OK ]
[root@station1 virutalbox_setupfile]#
thats all now click applications->system tools->oracle vm virtualbox
i have installed rhel5 see the screen shot below
https://www.virtualbox.org/wiki/Downloads
Download the latest version of dkms from here
http://rpmfind.net/linux/rpm2html/search.php?query=dkms
I have already download and kept these two file in a directory virutalbox_setupfile
[root@station1 samba]# cd virutalbox_setupfile/
[root@station1 virutalbox_setupfile]# ls
dkms-2.1.1.2-1.el6.rf.noarch.rpm VirtualBox-4.1-4.1.10_76795_rhel6-1.x86_64.rpm
[root@station1 virutalbox_setupfile]# yum install -y gcc
[root@station1 virutalbox_setupfile]# yum install -y kernel-devel
[root@station1 virutalbox_setupfile]# rpm -ivh dkms-2.1.1.2-1.el6.rf.noarch.rpm
warning: dkms-2.1.1.2-1.el6.rf.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing... ########################################### [100%]
1:dkms ########################################### [100%]
[root@station1 virutalbox_setupfile]# ls
dkms-2.1.1.2-1.el6.rf.noarch.rpm VirtualBox-4.1-4.1.10_76795_rhel6-1.x86_64.rpm
[root@station1 virutalbox_setupfile]# rpm -ivh VirtualBox-4.1-4.1.10_76795_rhel6-1.x86_64.rpm
warning: VirtualBox-4.1-4.1.10_76795_rhel6-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
Preparing... ########################################### [100%]
1:VirtualBox-4.1 ########################################### [100%]
Creating group 'vboxusers'. VM users must be member of that group!
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS [ OK ]
Starting VirtualBox kernel modules [ OK ]
[root@station1 virutalbox_setupfile]#
thats all now click applications->system tools->oracle vm virtualbox
i have installed rhel5 see the screen shot below
No comments:
Post a Comment