CentOS 7 minimal install
After installing CentOS 7 using minimal install, running ifconfig to see network interfaces does not work gives the message:
-bash: ifconfig: command not found. please what else do I need to do after the installation? |
Have you tried running it as root?
|
All good things come to an end, and that goes for ifconfig. The new tool is ip: see the man page.
|
Yes I am running as root.
|
Code:
yum install net-tools |
As stated ifconfig is deprecated and not installed by default. You can use the ip command or install the net-tools package. In addition /sbin is not in the users path. To run either command include the full path or run the command as root.
/sbin/ip addr show |
1 Attachment(s)
Yum install net-tools gives the error: Can not find a valid base url for repo:base/7/x86_64.
I think it's safe to say yum isn't working, please what do I need to do? |
Yum is not working because you are not connected to the internet
|
I am connected... Ping to www.google.com is successful
|
Thanks guys for all the help, everything working fine now.
|
All times are GMT -5. The time now is 03:59 PM. |