Prior to the installation of CentOS Mirror, did not try to use the network function, today just again using CentOS, and then ping the network, found that the failure, using Ifconfig to view the network card, found the network card IPAs: 127.0.0.1, we all know that this IP address is obviously unable to connect to the Internet, and then you find the problem by viewing/etc/sysconfig/network-scripts/ifcfg-eth0
When centos is installed in virtualbox, the "Enhancement Tool" cannot be installed normally, mainly because the kernel library cannot be found.
The error message is as follows:
View the log file:
CAT/var/log/vboxadd-install.log
From the log display, we can find the problem.
Step 2: Install the GCC g ++ Compiler
(If your centos is fully installed, it
If centos is installed in virtualbox and you want to install the enhancement function, the system prompts:
Building the main guest additions module failed
So I tried the following two steps:
(1)Yum install GCC kernel-devel kernel-headers
(2)Yum update Kernel
When Autorun. Sh in the enhancement package is re-run, an error is prompted:
The missing package can be probably installedYum install kerne
File Sharing between virtualbox and centos
Implementation Method: attach the file to be shared to the optical drive first and then enable centos to mount the optical drive. The details are as follows:
1. FirstDevice-assign optical drive-choose a virtual CD/DVD file select the image file to attach to the optical drive (General. ISO suffix)
2. Use the mount comm
VirtualBox installs the newest CentOS6.4, installs the enhancement component but discovers
Building the OpenGL support module [FAILED]
Finally on the Internet to find a solution
cd/media/vboxadditions_4.1.8_75467/Export make= '/usr/bin/gmake-i './vboxlinuxadditions.run
When installing, use "make-i",-I,--ignore-errors ignore errors from commands. Ignore the error.
Happy infinite prompts you: The default installation of
Use putty to connect to CentOS 7 on VirtualBox
Idea: ensure that the host and virtual machine can be pinged before using putty to connect to the virtual machine through ssh.
There are two ways to search online.
One is to set the IP address of the VM to be in the same network segment as the host.
The other is relatively simple. You can addhost-onlyNic. After adding the NIC, the ip host and virtual machine ca
VirtualBox in Centos 7 to install the enhanced feature (shared folder), virtualboxcentos
1. Allocate an optical drive
2. Install related dependency packages
Yum install-y bzip2 gcc-devel gcc-c ++-devel make kernel-d
3. Create a Temporary Folder
Mkdir/mnt/cdrom
4. Mount and install
Mount-t auto-r/dev/cdrom/mnt/cdrom
Cd/mnt/cdrom
./VBoxLinuxAdditions. run
5. Shut down and add a shared fold
VirtualBox installs the newest CentOS6.4, installs the enhancement component but discovers
Building the OpenGL support module [FAILED]
Finally on the Internet to find a solution
cd/media/vboxadditions_4.1.8_75467/
Export make= '/usr/bin/gmake-i '
./vboxlinuxadditions.run
When installing, use "make-i",-I,--ignore-errors ignore errors from commands. Ignore the error.
CentOS installed by default, you will
Tags: nbsp references inux no environment cat tables reference
Installing virtual machines
Reference: https://opensourcedbms.com/dbms/installing-cent-os-6-3-linux-in-oracle-virtual-box-ssh-access/To set up network port forwarding:Note: If the port mapping does not take effect, the executable command iptables-f
Installing Java
Using Yum installation, reference: http://blog.csdn.net/onepiecehuiyu/article/details/17189571
Installing Tomcat
Installing with wget
Inst
liunx Mounting U-DiskEnvironment: Virtual machine virtualBox5.2.8 Linux centos6.5 64bitFirst step: Insert the U-diskStep Two: VirtualBox settings enable U-Disktip: If you do not know which is your U-disk, you can view the properties of the U-Disk under Windows, or unplug, reinsert,USB Settings One more thing here is the U-disk just inserted.Step Three: Mount the U-disk1) Check which device the U disk isfdisk-lfind the ' device Boot ' entry for the U-d
An error occurred during the installation process:Bulding the VirtualBox Guest additions Kernel modules failedYour system does not seem to is set to build kernel modules.Look At/var/log/vboxadd-install.log-Find out-what went worg. Once you have corrected it,you run/etc/init.d/vboxadd SetupTo build themWorkaround:Yum Install gcc Kernel-develLn-s/usr/src/kernels/2.6.32-573.7.1.el6.i686//usr/src/linux #这步一定要, otherwise the error will still beReinstall, e
Set the shared folder, click devices, and select the shared folder menu, as shown in. Click to add a shared folder. the fixed and temporary options indicate whether the folder is persistent. Share names can be obtained at will, such as share1. try to use English names without spaces. select the folder location, for example, E: \ share1. Click OK, as shown in. Open the terminal and create
Set shared folders
Click devices and select the shared folder menu, as shown in.
Click to add a shared folde
After the system is complete, you need to configure the following: 1: modify the configuration information of the network adapter eth0 VI/etc/sysconfig/network-scripts/ifcfg-eth0 modify onboot = "no" onboot = "yes" 2: Start the DBCP service of visual box, assign the IP address dhclient eth0 to eth0 3: restart the network to make the configuration take effect. Service Network restart 4: Test Ping www.baidu.com and modify virtualbox
Then you can use se
I used a virtual machine during this time. I chose the NAT mode to access the Internet, but the IP address is fixed and cannot be accessed outside. But I want to ssh in, but I have to think about other methods:1. In hostonly mode, share the internet;2. port forwarding under NAT;Method 1 is often used when I use VMware. I have never succeeded in VirtualBox and pass it out. method 2 has never tried. I mentioned port redirection in a previous article, it
First, use the root user to log on, or obtain the root permission in the terminal. Then install the gcc compiler. By default, the gcc compiler is not installed in CentOS. If it is already installed, ignore this step.
# Yum install gcc
Install the kernel-devel of the kernel version.
# Version = 'uname-a | awk' {print $3 }''
# Yum install kernel-devel-$ {version}
After the installation is complete, click "device"> "Install enhancement" in the menu
First, use the root user to log on, or obtain the root permission in the terminal. Then install the GCC compiler. By default, the GCC compiler is not installed in centos. If it is already installed, ignore this step. # Yum install gcc Install the kernel-devel of the kernel version. # Version = 'uname-A | awk' {print $3 }'' # Yum install kernel-devel-$ {version} After the installation is complete, click "device"> "Install enhancement" in the men
encountering the failed has given us the prompt, tells us to need installs the kernel-devel, we only need to follow the prompt to do.
2.kernel and Kernel-devel versions are inconsistent
Some children's shoes may be depressed, obviously has installed the kernel-devel, why also reported the above diagram error. In fact, the reason is particularly simple, is the version of kernel and kernel-devel inconsistent, under normal circumstances kernel is installed in the installation of
Since the system was upgraded to win7 a few days ago, the previously installed Linux virtual machines do not exist. Based on learning, this installation selects centos 6.3.The installation steps are as follows:You can enter the name as needed, select Linux as the type, and select Linux 2.6 as the version. I tried to install another version, such as ubuntu. The installation was not successful and I don't know what went wrong. After a lot of detours, I
The installation steps are as follows: 1. Perform installation enhancements:
The error "Building the main Guest addtional module [Failed]" appears, and the following illustration shows that the installation failed ...
To view the installation log information:
2, according to the picture of the hint information and error message "Yum install kernel-devel-2.6.32-431.el6.x86_64" to install.
The message "No package ..." may be prompted, where "2.6.32-431.el6.x86_64" is the version number of the cu
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.