本站致力于分享与传播互联网创业相关的知识内容,包括站长原创录制的教程以及通过公开渠道合法采集整理的网络创业类课程资料。
免责声明:
版权保护:
感谢您的理解与支持,共同营造良好的网络创业学习环境!
[root@localhost /]# yum install wgetLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfileThere 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 <repo>
To enable custom repositories: yum-config-manager --enable <repo>
在终端运行以下内容后即可正常安装wget:
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
[root@localhost /]# curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
% Total % Received % Xferd Average Speed Time Time Time Current Dload
Upload Total Spent Left Speed100 2523 100 2523 0 0 169k 0 --:--:-- --:--:-- --:--:-- 175k
默认源无法下载,从阿里云更新下载源