centos 6.10 install virtual box

https://tecadmin.net/install-oracle-virtualbox-on-centos-redhat-and-fedora/

when install the dependency, we also need to install the following

sudo yum install kernel-devel kernel-devel-2.6.32-754.el6.x86_64

  1. virutalbox install the centos netowrk config

Without a GUI

If you're attempting to do this on a headless server you can edit the following files and reboot to get your eth0 networking device to come up enabled and acquire an IP address from a DHCP server. Change these 2 options in the file, /etc/sysconfig/network-scripts/ifcfg-eth0:

ONBOOT="yes"
NM_CONTROLLED="no"

https://unix.stackexchange.com/questions/78295/centos-no-network-interface-after-installation-in-virtualbox/78305#78305

猜你喜欢

转载自www.cnblogs.com/reycg-blog/p/11349406.html