您的位置:首页 > 其它

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

2018-11-01 13:10 489 查看

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生成缓存

阅读更多
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐