使用yum安装wget:
yum install -y wget
遇到问题:
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 <repo>
To enable custom repositories:
yum-config-manager --enable <repo>
查看/etc/yum.repos.d/CentOS-Base.repo文件是否正常存在