centos初始环境

2018-12-07  本文已影响7人  heliping_peter
  1. 更换镜像源
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

2.安装python3和pip3

 yum install epel-release
yum install python36
curl -O https://bootstrap.pypa.io/get-pip.py
python3.6 get-pip.py
上一篇 下一篇

猜你喜欢

热点阅读