Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if the command is missing after successful installation of CentOS 7

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you the "CentOS 7 installation after the lack of commands how to do", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "CentOS 7 installation after the lack of commands how to do" this article.

I installed CentOS 7 today, but when I wanted to check the IP address, I was prompted that I couldn't find the command.

This is because there is no ifconfig command in the / sbin/ directory, so of course command not found will be prompted. The solution is as follows:

Install with yum:

1. First use yum search ifconfig to check the ifconfig that can be found in the yum library

At this point, we see that the package that can solve the problem has been found through the yum command, so we just need to install this package to yum-y install net-tools.x86_64 (- y means to keep yes during execution, no need to ask)

Type Enter until you are finished, and the ifconfig command will work properly

Other commands are similar and can be installed through yum!

These are all the contents of this article entitled "what to do without commands after successful installation of CentOS 7". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report