Debian: Install virtualbox-Debian, the Linux release technology. For more information, see. You need to install a virtual machine for learning. Looking at the current IP technology, it seems that virtualization technology has become a trend of development, and excellent Virtual Machine Software is endless. I chose the VirtualBox virtual machine here.
Let's talk about the situation of my own machine first. My Debian system uses the unstable source, and the kernel is the 2.6.23 compiled by myself. I prefer the apt software package installation method when using the Debian system. Follow these steps:
1. Check whether the required software package exists in the source.
# Apt-cache search virtualbox
From the output result, we can see that there is a required software package in the source. Now we can use apt to install it.
2. Install VirtualBox
# Apt-get install virtualbox-ose
After successful installation, we are stealing the convenience of Debian apt software installation. Starting virtualbox, we find that the corresponding module driver is not installed and cannot be started properly. Check that the source does not have a driver module that matches your kernel version. It seems that you have to compile and install the driver on your own.
We can use the m-a tool to compile and install the module driver. If our system does not install this tool, we need to install the corresponding tool software first:
# Apt-get install module-assistant
Prepare necessary conditions for module Compilation:
# M-a prepare
Now we can install the virtualbox driver module:
3. Obtain the source code of the corresponding module.
# M-a get virtualbox-ose-source
This will download the corresponding source code file to the/usr/src directory, and the module compilation is completed in this directory.
4. Compilation Module
# M-a build virtualbox-ose-modules
After the command is executed, we will see the compiled deb module package.
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.