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生成缓存
本文详细介绍如何将 CentOS 6.8 的软件源配置为阿里云源,包括镜像地址获取、源配置步骤、备份原配置文件、下载阿里云源配置文件等关键操作,适用于本地开发及虚拟机环境。
1534

被折叠的 条评论
为什么被折叠?



