当前位置:网站首页>-bash: ifconfig: command not found
-bash: ifconfig: command not found
2022-07-23 08:00:00 【超凡脫俗】
使用vmware 最小化安装centos7系统后,进入系统使用ifconfig命令报错“-bash: ifconfig: command not found,”尝试用yum install net-tools 也同样报错:
Loading mirror speeds from cached hostfile
There are no enabled repos.
Run “yum repolist all” to see the repos you have.
To enable Red Hat Subscription Management repositories:
subscription-manager repos --enable
To enable custom repositories:
yum-config-manager --enable
需要进入vim /etc/sysconfig/network-scripts/ifcfg-ens33修改文件,将ONBOOT=no改为yes,并且配置可以上网的IP,重启网络服务即可。
systemctl restart network #重启网络服务
边栏推荐
- pingbanceshi
- 静态综合实验(HCIA)
- Several methods of transferring parameters from child components to parent components
- What's the difference between core i9 12950hx and i9 12900hx
- GRE,MGRE的詳細了解;OSPF基礎配置知識
- Static comprehensive experiment (HCIA)
- Principle of container network
- OSPF comprehensive experiment
- 记一次Vulnhub靶机练习成功拿下root权限
- How about Celeron n5095 Processor? What is the equivalent level of Intel n5095 core display
猜你喜欢

The difference between Celeron n4000 and Celeron n5095

OSPF experiment in mGRE environment:

rtx3080相当于gtx什么显卡 rtx3080显卡什么水平 rtx3080显卡怎么样

Which is the difference between iqoo 10 pro and vivo X80 pro? Detailed parameter configuration comparison

T-SEDA编码

达人评测酷睿i7 12850hx和i7 12700h选哪个

静态综合实验(HCIA)

MGRE环境下的OSPF实验:

Is there a big gap between core i5 12490f and i5 12600K

Is machine learning difficult to get started? Tell me how I started machine learning quickly!
随机推荐
强化学习——策略梯度理解点
PyTorch到底好用在哪里?
Is there a big gap between core i5 12490f and i5 12600K
Google Earth engine -- a small bug in gee. Images of transcontinental boundaries cannot be obtained
HCIA的复习
overlayfs源代码解析
记一次Vulnhub靶机练习成功拿下root权限
UIScrollView(UICollectionView)禁止横向和竖向同时滑动
How to open the thought map pdf of postgraduate entrance examination in the small program of postgraduate entrance examination question bank
Detailed understanding of GRE and mGRE; OSPF basic configuration knowledge
Comment creo 9.0 modifie - t - il rapidement le système de coordonnées Cao?
《乔布斯传》英文原著重点词汇笔记(十五)【 chapter fourteen】
酷睿i7 1165g7相当于什么水平 i71165g7属于哪个档次
Rtx3080ti and rtx3080 gap 3080 and 3080ti parameter comparison
天玑720相当于骁龙多少处理器 天玑720相当于骁龙多少 天玑720怎么样
How about Celeron n5095 Processor? What is the equivalent level of Intel n5095 core display
rtx3070ti显卡什么水平 rtx3070ti显卡什么级别 rtx3070ti显卡怎么样
天玑1100相当于骁龙多少处理器 天玑1100相当于骁龙多少 天玑1100怎么样
AppScan的安装与使用
Which is the difference between iqoo 10 pro and vivo X80 pro? Detailed parameter configuration comparison