背景
剛裝完Centos7.x 通過yum裝包太慢了。因爲是用內置的美國源。所以我們要換成阿里雲加速下
(1)替換成阿里yum源
首先備份一下原先的yum源,避免出錯無法恢復
cd /etc/yum.repos.d/
mv CentOS-Base.repo CentOS-Base.repo.bak
然後修改base.reop源
wget -O CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
安裝epel.repo源
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
刷新緩存
yum clean all
yum makecache
刪除右鍵GIT GUI HERE
regedit--->計算機\HKEY_CLASSES_ROOT\Directory\Background\shell--->刪除GIT GUI即可