From 2bfab862d5d2f647464403a996da1cd3b8e32953 Mon Sep 17 00:00:00 2001 From: Azuk 443 Date: Fri, 24 Feb 2023 15:15:36 +0800 Subject: [PATCH] fix ZJU mirror repository setup instructions --- README.md | 4 ++-- README.zh.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8ac74b0..04dd8b8 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ If you meet any problem during or after the installation, check Troubleshooting ### Debian / Ubuntu (deb) -1. Configure ZJU mirrors using [浙大源配置生成器](https://mirrors.zju.edu.cn/old.html#generator). +1. Configure ZJU mirrors from manual. [Ubuntu](https://mirror.zju.edu.cn/docs/ubuntu/)/[Debian](https://mirror.zju.edu.cn/docs/debian/) 2. Run these command. ``` bash @@ -47,7 +47,7 @@ sudo apt-get install zjunet ### Fedora / CentOS (rpm) -1. Configure ZJU mirrors using [浙大源配置生成器](https://mirrors.zju.edu.cn/old.html#generator). +1. Configure ZJU mirrors from manual. [Fedora](https://mirror.zju.edu.cn/docs/fedora/)/[CentOS](https://mirror.zju.edu.cn/docs/centos/) 2. Configure [EPEL of ZJU mirrors](https://mirrors.zju.edu.cn/epel/) (Taking CentOS installation as an example) 1. Run `yum install epel-release` to install EPEL. 2. Edit `/etc/yum.repos.d/epel.repo` , uncomment lines begin with `#baseurl=` (Remove leading `#` sign) and comment lines begin with `mirrorlist=` (Prepend `#` sign) diff --git a/README.zh.md b/README.zh.md index 846100e..437b012 100644 --- a/README.zh.md +++ b/README.zh.md @@ -35,7 +35,7 @@ ### Debian / Ubuntu (deb) -1. 使用 [浙大源配置生成器](https://mirrors.zju.edu.cn/old.html#generator) 生成需要的浙大源配置,并按照提示将 `/etc/apt/sources.list` 替换为显示的内容。 +1. 使用浙大源配置内网软件包镜像。 [Ubuntu](https://mirror.zju.edu.cn/docs/ubuntu/)/[Debian](https://mirror.zju.edu.cn/docs/debian/). 2. 依次输入并执行下列命令: ``` bash @@ -50,7 +50,7 @@ sudo apt-get install zjunet ### Fedora / CentOS (rpm) -1. 使用 [浙大源配置生成器](https://mirrors.zju.edu.cn/old.html#generator) 生成需要的浙大源配置,并按照提示修改 `/etc/yum.repos.d` 中的文件。 +1. 使用浙大源配置内网软件包镜像。 [Fedora](https://mirror.zju.edu.cn/docs/fedora/)/[CentOS](https://mirror.zju.edu.cn/docs/centos/) 2. 执行这些步骤以使用 [浙大源 EPEL](https://mirrors.zju.edu.cn/epel/) (以 CentOS 为例): 1. 运行 `yum install epel-release` 以安装 EPEL 。 2. 编辑 `/etc/yum.repos.d/epel.repo` ,将所有以 `#baseurl=` 开头的行取消注释(删除行首 `#` 符号)并注释以 `mirrorlist=` 开头的行(在行首添加 `#` 符号)