[root@localhost ~]# vi /etc/yum
yum/ yum.conf yum.repos.d/
[root@localhost ~]# vi /etc/yum.conf
[root@localhost ~]# yum install VirtualBox-1.6.0_30421_rhel5-1.x86_64.rpm
Loading "kernel-module" plugin
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Examining VirtualBox-1.6.0_30421_rhel5-1.x86_64.rpm: VirtualBox - 1.6.0_30421_rhel5-1.x86_64
Marking VirtualBox-1.6.0_30421_rhel5-1.x86_64.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package VirtualBox.x86_64 0:1.6.0_30421_rhel5-1 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
VirtualBox x86_64 1.6.0_30421_rhel5-1 VirtualBox-1.6.0_30421_rhel5-1.x86_64.rpm 52 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 52 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: VirtualBox ######################### [1/1]
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.
Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute
/etc/init.d/vboxdrv setup
as root.
Installed: VirtualBox.x86_64 0:1.6.0_30421_rhel5-1
Complete!
[root@localhost ~]# vi /etc/group
[root@localhost ~]# vi /etc/yum.conf
[root@localhost ~]# yum install kernel-devel.x86_64
Loading "kernel-module" plugin
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel-devel to pack into transaction set.
kernel-devel-2.6.18-53.1. 100% |=========================| 766 kB 00:00
---> Package kernel-devel.x86_64 0:2.6.18-53.1.14.el5 set to be installed
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
kernel-devel x86_64 2.6.18-53.1.14.el5 updates 4.9 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 4.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): kernel-devel-2.6.1 100% |=========================| 4.9 MB 00:03
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: kernel-devel ######################### [1/1]
Installed: kernel-devel.x86_64 0:2.6.18-53.1.14.el5
Complete!
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-53.1.14.el5 #1 SMP Wed Mar 5 11:37:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]#
[root@localhost ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [ OK ]
Starting VirtualBox kernel module [??]
(Cannot create device /dev/vboxdrv with major 10 and minor 62)
[root@localhost ~]#
[root@localhost ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Removing old VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [ OK ]
Starting VirtualBox kernel module [ OK ]
[root@localhost ~]#
0 件のコメント:
コメントを投稿