安装centos7之后问题解决

1. 上网上不了

配置网卡ifcfg-ens33

2.yum仓库问题

[root@localhost yum.repos.d]# yum update yum
已加载插件:fastestmirror
http://mirrors.aliyun.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to : 网络不可达"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; 未知的错误"
Cannot find a valid baseurl for repo: extras/7/x86_64

更新CentOS-Base.repo  yum源为阿里云的:

mirrors.aliyun.com

3.  

root@localhost yum.repos.d]# wget
-bash: wget: 未找到命令

安装wget

yum install wget

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值