aliyun服务器安装git,g++

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/CosmopolitanMe/article/details/87967634
1.更新yum源为aliyun
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
yum makecache //更新缓存
2yum install -y git //安装git
3.yum install gcc-c++ //安装g++

猜你喜欢

转载自blog.csdn.net/CosmopolitanMe/article/details/87967634