设置 CentOS 7 的安装源(Installation Source)

605 阅读2分钟

前言

在安装 CentOS 7 时,选择合适的安装源可以显著提高安装速度和稳定性。本文将介绍如何设置阿里源和中科大源作为 CentOS 7 的安装源。

安装源介绍

阿里源(最快)

阿里源在国内拥有较快的访问速度,推荐作为首选安装源。

https://mirrors.aliyun.com/centos/7/os/x86_64

中科大源(备用)

中科大源作为备用安装源,能够在阿里源不可用时提供支持。

https://mirrors.ustc.edu.cn/centos/7/os/x86_64

步骤

Step 1: 进入安装界面

  1. 启动你的系统进入 CentOS 7 的安装界面。
  2. 选择语言和相关设置,然后继续到安装源设置界面。

Step 2: 配置安装源

  1. 在安装源设置界面,选择 Installation Source
  2. 取消勾选 Auto-detect installation media,并点击 Add a new repository

Step 3: 添加阿里源

  1. Repository name 中输入 Aliyun

  2. Base URL 中输入:

    https://mirrors.aliyun.com/centos/7/os/x86_64
    
  3. 请勿勾选 This URL refers to a mirror list.

Step 4: 添加中科大源(备用)

  1. 点击 Add a new repository

  2. Repository name 中输入 USTC

  3. Base URL 中输入:

    https://mirrors.ustc.edu.cn/centos/7/os/x86_64
    
  4. 同样,请勿勾选 This URL refers to a mirror list.

Step 5: 验证配置

  1. 确保两个源的 URL 正确无误。
  2. 点击 Done 返回安装概述界面。

Step 6: 继续安装

完成安装源设置后,继续完成其他安装步骤。系统会自动选择最快的源进行安装。

总结

通过以上步骤,我们成功配置了阿里源和中科大源作为 CentOS 7 的安装源。这将显著提高安装过程的速度和稳定性。如果在使用过程中遇到任何问题,可以随时更换或更新安装源。

希望这篇博文能帮助你顺利完成 CentOS 7 的安装。如果有任何问题或建议,请在评论区留言。