1は、インストールwgetの、コマンドを実行します。 " yumのwgetのインストール-yを。"
2、オープンアリミラー:https://developer.aliyun.com/mirror/
3. 新しいダウンロードのCentOS-Base.repoをする/etc/yum.repos.d/ 。
wgetの-O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 若しくは -oカール/etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo |
図4に示すように、更新された画像ソース。
#キャッシュをクリア |