当前位置:网站首页>-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 #重启网络服务
边栏推荐
- Google Earth engine -- a small bug in gee. Images of transcontinental boundaries cannot be obtained
- 采样和数据驱动
- 天玑820相当于骁龙多少处理器 天玑1100相当于骁龙多少 天玑820怎么样
- iQOO 10 Pro和小米12 Ultra哪个好 哪个值得买 两者配置对比
- 判断一个对象是否是空对象的处理办法
- BGP federal experiment
- 第七天笔记
- Notes on the fifth day
- Kingbasees formatting function
- Detailed understanding of GRE and mGRE; OSPF basic configuration knowledge
猜你喜欢
随机推荐
rtx3070ti显卡什么水平 rtx3070ti显卡什么级别 rtx3070ti显卡怎么样
How many processors is Tianji 820 equivalent to Xiaolong? How about Tianji 1100 equivalent to Xiaolong? How about Tianji 820
Creo 9.0 如何快速修改CAD坐标系?
Creo 9.0 中几何对象的选取方法
Creo 9.0 键鼠操作进行模型观察
Excel essay record
强化学习——策略梯度理解点
T-SEDA编码
OSPF综合实验
Medium range
GRE,MGRE的詳細了解;OSPF基礎配置知識
The difference between Celeron n4000 and Celeron n5095
锐龙R7 PRO 6850H核显性能怎么样?相当于什么水平
Day108. Shang Yitong: interface docking of hospital simulation system - query of hospital | Department | shift scheduling, addition, deletion, modification and paging conditions
BGP联邦实验
激励发生器、监测器
js 实现通过身份证获取年龄
锐龙R7 PRO 5875U性能怎么样?相当于什么水平级别
Day108.尚医通:医院模拟系统接口对接 - 医院|科室|排班 增删改分页条件查询
MySQL enables scheduled task execution









