I am trying to perform a fresh CentOS 6.3 installation then run various
yum commands such as
yum install httpd.
The installation runs fine, however I cannot run any network based commands like
I am aware the default installation has networking disabled. I have amended the
/etc/sysconfig/network-scripts/ifcfg-eth0 file in accordance with this guide, but keep receiving the error
Could not retrieve mirrorlist http://mirrorlist.centos.org?release=6arch=i1386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
I have since amended the
/etc/resolv.conf file to include Google's nameserver 220.127.116.11 but this hasn't changed anything.
I have amended
/etc/sysconfig/network changing the
local.igoo.net (a made up but fully qualified domain?).
I did have it working yesterday then tried to install WHM/cPanel which went fine. I then decided I didn't need WHM/cPanel so fresh insatlled CentOS and now cannot recreate the steps I took to get networking working. When I run
/etc/init.d/network restart the error message:
Bringing up interface eth0:
Determining IP information for eth0... failed; no link present. Check cable?
(The cable is not unplugged)
I'm not sure what to try next! Can anyone suggest what I've missed out?