从搭建开发环境到发布线上项目的企业级流程之软件源配置

1:操作系统:centOs6.8:(镜像地址)http://mirrors.aliyun.com/centos/6.8/isos/x86_64/CentOS-6.8-x86_64-bin-DVD1.iso

  2:linux软件源配置:

    因为这个项目是想搭建一个自己的网站,并且在阿里云租一台廉价服务器,预估服务器系统为centOs6.8,所以在本地开发,以及虚拟机的使用过程中,现将软件源配置同步成阿里云的软件源。(阿里云源配置官网)http://mirrors.aliyun.com/ (centos源配置教程地址)http://mirrors.aliyun.com/help/centos

    源配置步骤:

      1)备份

      mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

      2)下载

      wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo

      或者

      curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo

      3)运行yum makecache生成缓存

猜你喜欢

转载自blog.csdn.net/ATadpole/article/details/83618676
今日推荐