mirror of
https://github.com/QSCTech/zjunet.git
synced 2026-01-22 19:54:48 +08:00
Compare commits
No commits in common. "3316d0fa016747b45fe811f6881afb659df5657f" and "0b789525d1762c801088fbbe1b096021ff7b151e" have entirely different histories.
3316d0fa01
...
0b789525d1
@ -32,7 +32,7 @@ If you meet any problem during or after the installation, check Troubleshooting
|
|||||||
|
|
||||||
### Debian / Ubuntu (deb)
|
### Debian / Ubuntu (deb)
|
||||||
|
|
||||||
1. Configure ZJU mirrors from manual. [Ubuntu](https://mirror.zju.edu.cn/docs/ubuntu/)/[Debian](https://mirror.zju.edu.cn/docs/debian/)
|
1. Configure ZJU mirrors using [浙大源配置生成器](https://mirrors.zju.edu.cn/old.html#generator).
|
||||||
2. Run these command.
|
2. Run these command.
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
@ -47,7 +47,7 @@ sudo apt-get install zjunet
|
|||||||
|
|
||||||
### Fedora / CentOS (rpm)
|
### Fedora / CentOS (rpm)
|
||||||
|
|
||||||
1. Configure ZJU mirrors from manual. [Fedora](https://mirror.zju.edu.cn/docs/fedora/)/[CentOS](https://mirror.zju.edu.cn/docs/centos/)
|
1. Configure ZJU mirrors using [浙大源配置生成器](https://mirrors.zju.edu.cn/old.html#generator).
|
||||||
2. Configure [EPEL of ZJU mirrors](https://mirrors.zju.edu.cn/epel/) (Taking CentOS installation as an example)
|
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.
|
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)
|
2. Edit `/etc/yum.repos.d/epel.repo` , uncomment lines begin with `#baseurl=` (Remove leading `#` sign) and comment lines begin with `mirrorlist=` (Prepend `#` sign)
|
||||||
|
|||||||
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
### Debian / Ubuntu (deb)
|
### Debian / Ubuntu (deb)
|
||||||
|
|
||||||
1. 使用浙大源配置内网软件包镜像。 [Ubuntu](https://mirror.zju.edu.cn/docs/ubuntu/)/[Debian](https://mirror.zju.edu.cn/docs/debian/).
|
1. 使用 [浙大源配置生成器](https://mirrors.zju.edu.cn/old.html#generator) 生成需要的浙大源配置,并按照提示将 `/etc/apt/sources.list` 替换为显示的内容。
|
||||||
2. 依次输入并执行下列命令:
|
2. 依次输入并执行下列命令:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
@ -50,7 +50,7 @@ sudo apt-get install zjunet
|
|||||||
|
|
||||||
### Fedora / CentOS (rpm)
|
### Fedora / CentOS (rpm)
|
||||||
|
|
||||||
1. 使用浙大源配置内网软件包镜像。 [Fedora](https://mirror.zju.edu.cn/docs/fedora/)/[CentOS](https://mirror.zju.edu.cn/docs/centos/)
|
1. 使用 [浙大源配置生成器](https://mirrors.zju.edu.cn/old.html#generator) 生成需要的浙大源配置,并按照提示修改 `/etc/yum.repos.d` 中的文件。
|
||||||
2. 执行这些步骤以使用 [浙大源 EPEL](https://mirrors.zju.edu.cn/epel/) (以 CentOS 为例):
|
2. 执行这些步骤以使用 [浙大源 EPEL](https://mirrors.zju.edu.cn/epel/) (以 CentOS 为例):
|
||||||
1. 运行 `yum install epel-release` 以安装 EPEL 。
|
1. 运行 `yum install epel-release` 以安装 EPEL 。
|
||||||
2. 编辑 `/etc/yum.repos.d/epel.repo` ,将所有以 `#baseurl=` 开头的行取消注释(删除行首 `#` 符号)并注释以 `mirrorlist=` 开头的行(在行首添加 `#` 符号)
|
2. 编辑 `/etc/yum.repos.d/epel.repo` ,将所有以 `#baseurl=` 开头的行取消注释(删除行首 `#` 符号)并注释以 `mirrorlist=` 开头的行(在行首添加 `#` 符号)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user