Virtual box installation on CentOS 7

Source: Internet
Author: User

1. First, we need to download the CENTOS7 version of Virtual box on the Oracle website:

is: http://download.virtualbox.org/virtualbox/5.0.12/VirtualBox-5.0-5.0.12_104815_el7-1.x86_64.rpm

2. Install VirtualBox using RPM:

  

RPM-IVH virtualbox-5.0-5.0.12_104815_el7-1.x86_64.rpm

An error appears, displaying the following information:

Warning: virtualbox-5.0-5.0.12_104815_el7-1.x86_64.rpm: header V4 dsa/SHA1 Signature, key ID 98ab5139:nokey Error: Dependency detection failed:        Libqtgui.so. 4 () (64bit) is virtualbox-5.0-5.0.12_104815_el7-1. x86_64 needs        libqtopengl.so. 4 () (64bit) required by virtualbox-5.0-5.0.12_104815_el7-1.x86_64

This is because there are two dependent packages that are not installed and we need to install the following, using an online installation, to execute two commands:

Yum install Qtyum install qt-x11

An error appears, displaying the following information:

 

recompiling VirtualBox kernel modules                      [Failed]   /var/log/vbox-Install.log to find out what went wrong) ln: target "setup" is not a directory

To view the error log:

Cat  /var/log/vbox-install.logmakefile: and run make again. Stop it.

It is learned from the Internet that some dependent software is not updated to the latest and needs to be updated:

  

" Development Tools "

Perform the installation again:

RPM-IVH virtualbox-5.0-5.0.12_104815_el7-1.x86_64.rpm

You're done, check out the VirtualBox on the graphical interface!

Virtual box installation on CentOS 7

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.