How to enable network in CentOS in Virtual box

AlchemistikO

Honorable
Jan 10, 2014
6
0
10,510
I am a newb with Linux to give you an idea of my skill level with it lol. So I am trying to use CentOS in Virtual box and I have it all installed. But I am trying to install the GUI rpm files and I can't get the network to work on it ( I have Virtual box set up as a bridged network). Or could someone tell me how to pull the file from my PC (windows 7) to CentOS?
 
First check your network interfaces type ip link show
The first one "lo" will be your loopback,
The second one should be the name of your first enthernet device

then you need to make sure that the ethernet device is active by typing ifconfig name_of_device up

If the device is missing you can add a shared folder from the host, mount it, manually install rpms and create a lot of problems for yourself with dependencies, the easiest way to fix it is to reinstall centos and make sure that network is enabled when you install, then use yum to install your gui

 
I noticed that when I Network and Internet>Network connection>properties>sharing it say's "Internet Connection Sharing has been disabled by the Network Administrator" Which I am thinking is why I can't get the adapter to even show up. It here isn't sure. What do you think?