LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CentOS 7 minimal install (https://www.linuxquestions.org/questions/linux-newbie-8/centos-7-minimal-install-4175550831/)

harunaadoga 08-15-2015 10:28 AM

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?

273 08-15-2015 10:44 AM

Have you tried running it as root?

DavidMcCann 08-15-2015 10:46 AM

All good things come to an end, and that goes for ifconfig. The new tool is ip: see the man page.

harunaadoga 08-15-2015 10:47 AM

Yes I am running as root.

ugjka 08-15-2015 10:50 AM

Code:

yum install net-tools

michaelk 08-15-2015 11:02 AM

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

harunaadoga 08-15-2015 11:31 AM

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?

ugjka 08-15-2015 11:42 AM

Yum is not working because you are not connected to the internet

harunaadoga 08-15-2015 11:43 AM

I am connected... Ping to www.google.com is successful

harunaadoga 08-15-2015 05:13 PM

Thanks guys for all the help, everything working fine now.


All times are GMT -5. The time now is 11:02 PM.