From 0c7dd83932feb93a4769c08bdc4f8498462f52c3 Mon Sep 17 00:00:00 2001 From: TechCiel Date: Tue, 31 Oct 2023 02:51:48 +0800 Subject: [PATCH] help: remove docs replaced by helpz --- help/_posts/1970-01-01-adoptium.md | 172 ------- help/_posts/1970-01-01-archlinux.md | 104 ----- help/_posts/1970-01-01-archlinuxarm.md | 91 ---- help/_posts/1970-01-01-archlinuxcn.md | 77 --- help/_posts/1970-01-01-binutils-gdb.git.md | 89 ---- help/_posts/1970-01-01-centos-vault.md | 88 ---- help/_posts/1970-01-01-centos.md | 85 ---- help/_posts/1970-01-01-chef.md | 97 ---- help/_posts/1970-01-01-crates.io-index.git.md | 85 ---- help/_posts/1970-01-01-debian.md | 136 ------ help/_posts/1970-01-01-docker-ce.md | 306 ------------ help/_posts/1970-01-01-elrepo.md | 122 ----- help/_posts/1970-01-01-epel.md | 124 ----- help/_posts/1970-01-01-fdroid.md | 72 --- help/_posts/1970-01-01-fedora.md | 180 ------- help/_posts/1970-01-01-flutter-sdk.git.md | 76 --- help/_posts/1970-01-01-gcc.git.md | 89 ---- help/_posts/1970-01-01-gitlab-ce.md | 153 ------ help/_posts/1970-01-01-gitlab-runner.md | 155 ------- help/_posts/1970-01-01-glibc.git.md | 89 ---- help/_posts/1970-01-01-linux-firmware.git.md | 89 ---- help/_posts/1970-01-01-linux-next.git.md | 89 ---- help/_posts/1970-01-01-linux-stable.git.md | 89 ---- help/_posts/1970-01-01-linux.git.md | 113 ----- help/_posts/1970-01-01-linuxmint.md | 71 --- help/_posts/1970-01-01-lxc-images.md | 75 --- help/_posts/1970-01-01-mariadb.md | 88 ---- help/_posts/1970-01-01-mongodb.md | 178 ------- help/_posts/1970-01-01-msys2.md | 83 ---- help/_posts/1970-01-01-mysql.md | 146 ------ help/_posts/1970-01-01-proxmox.md | 147 ------ help/_posts/1970-01-01-qemu.git.md | 99 ---- help/_posts/1970-01-01-raspbian.md | 139 ------ help/_posts/1970-01-01-repo-ck.md | 68 --- help/_posts/1970-01-01-ros.md | 89 ---- help/_posts/1970-01-01-ros2.md | 90 ---- help/_posts/1970-01-01-rpmfusion.md | 171 ------- help/_posts/1970-01-01-rudder.md | 116 ----- help/_posts/1970-01-01-stackage.md | 129 ----- help/_posts/1970-01-01-ubuntu-ports.md | 114 ----- help/_posts/1970-01-01-ubuntu.md | 116 ----- help/_posts/1970-01-01-voidlinux.md | 75 --- help/_posts/2016-06-19-virtualbox.md | 250 ---------- help/_posts/2016-08-18-rubygems.md | 99 ---- help/_posts/2017-01-12-bioconductor.md | 88 ---- help/_posts/2017-01-17-CRAN.md | 169 ------- help/_posts/2018-09-28-anthon.md | 119 ----- help/_posts/2019-02-15-grafana.md | 168 ------- help/_posts/2019-02-15-rustup.md | 91 ---- help/_posts/2019-02-17-nix.md | 97 ---- help/_posts/2019-02-25-dart-pub.md | 79 ---- help/_posts/2019-03-18-arch4edu.md | 86 ---- help/_posts/2019-05-03-qubesos.md | 69 --- help/_posts/2019-06-25-solus.md | 96 ---- help/_posts/2019-07-23-kicad.md | 121 ----- help/_posts/2020-03-06-tlpretest.md | 77 --- help/_posts/2020-09-10-llvm-project.git.md | 99 ---- help/_posts/2021-01-01-ceph.md | 75 --- help/_posts/2021-03-11-opensuse.md | 193 -------- help/_posts/2021-05-25-influxdata.md | 129 ----- help/_posts/2021-07-14-ubuntu-cloud-images.md | 56 --- help/_posts/2021-12-23-qt.md | 74 --- help/_posts/2022-01-07-erlang-solutions.md | 166 ------- help/_posts/2022-01-08-ohmyzsh.git.md | 74 --- help/_posts/2022-07-23-llvm-apt.md | 147 ------ help/_posts/2022-08-03-bazel-apt.md | 72 --- help/_posts/2022-08-03-wine-builds.md | 122 ----- help/_posts/2022-08-22-elasticsearch.md | 68 --- help/_posts/2022-09-05-entware.md | 75 --- help/_posts/2022-09-22-pkgsrc.git.md | 95 ---- help/_posts/2022-11-14-kali.md | 85 ---- help/_posts/2023-01-23-openbsd.md | 51 -- help/_posts/2023-01-30-netbsd.md | 57 --- help/_posts/2023-02-08-crates.io-index.md | 89 ---- help/_posts/2023-03-10-armbian.md | 77 --- help/_posts/2023-03-10-blackarch.md | 80 ---- help/_posts/2023-03-10-clojars.md | 110 ----- help/_posts/2023-03-10-debian-multimedia.md | 108 ----- help/_posts/2023-03-10-eclipse.md | 65 --- help/_posts/2023-03-10-kodi.md | 166 ------- help/_posts/2023-03-10-manjaro.md | 96 ---- help/_posts/2023-03-10-nix-channels.md | 210 --------- help/_posts/2023-03-19-nixpkgs.git.md | 54 --- help/_posts/2023-03-30-raspberrypi.md | 65 --- help/_posts/2023-05-17-centos-stream.md | 439 ------------------ 85 files changed, 9570 deletions(-) delete mode 100644 help/_posts/1970-01-01-adoptium.md delete mode 100644 help/_posts/1970-01-01-archlinux.md delete mode 100644 help/_posts/1970-01-01-archlinuxarm.md delete mode 100644 help/_posts/1970-01-01-archlinuxcn.md delete mode 100644 help/_posts/1970-01-01-binutils-gdb.git.md delete mode 100644 help/_posts/1970-01-01-centos-vault.md delete mode 100644 help/_posts/1970-01-01-centos.md delete mode 100644 help/_posts/1970-01-01-chef.md delete mode 100644 help/_posts/1970-01-01-crates.io-index.git.md delete mode 100644 help/_posts/1970-01-01-debian.md delete mode 100644 help/_posts/1970-01-01-docker-ce.md delete mode 100644 help/_posts/1970-01-01-elrepo.md delete mode 100644 help/_posts/1970-01-01-epel.md delete mode 100644 help/_posts/1970-01-01-fdroid.md delete mode 100644 help/_posts/1970-01-01-fedora.md delete mode 100644 help/_posts/1970-01-01-flutter-sdk.git.md delete mode 100644 help/_posts/1970-01-01-gcc.git.md delete mode 100644 help/_posts/1970-01-01-gitlab-ce.md delete mode 100644 help/_posts/1970-01-01-gitlab-runner.md delete mode 100644 help/_posts/1970-01-01-glibc.git.md delete mode 100644 help/_posts/1970-01-01-linux-firmware.git.md delete mode 100644 help/_posts/1970-01-01-linux-next.git.md delete mode 100644 help/_posts/1970-01-01-linux-stable.git.md delete mode 100644 help/_posts/1970-01-01-linux.git.md delete mode 100644 help/_posts/1970-01-01-linuxmint.md delete mode 100644 help/_posts/1970-01-01-lxc-images.md delete mode 100644 help/_posts/1970-01-01-mariadb.md delete mode 100644 help/_posts/1970-01-01-mongodb.md delete mode 100644 help/_posts/1970-01-01-msys2.md delete mode 100644 help/_posts/1970-01-01-mysql.md delete mode 100644 help/_posts/1970-01-01-proxmox.md delete mode 100644 help/_posts/1970-01-01-qemu.git.md delete mode 100644 help/_posts/1970-01-01-raspbian.md delete mode 100644 help/_posts/1970-01-01-repo-ck.md delete mode 100644 help/_posts/1970-01-01-ros.md delete mode 100644 help/_posts/1970-01-01-ros2.md delete mode 100644 help/_posts/1970-01-01-rpmfusion.md delete mode 100644 help/_posts/1970-01-01-rudder.md delete mode 100644 help/_posts/1970-01-01-stackage.md delete mode 100644 help/_posts/1970-01-01-ubuntu-ports.md delete mode 100644 help/_posts/1970-01-01-ubuntu.md delete mode 100644 help/_posts/1970-01-01-voidlinux.md delete mode 100644 help/_posts/2016-06-19-virtualbox.md delete mode 100644 help/_posts/2016-08-18-rubygems.md delete mode 100644 help/_posts/2017-01-12-bioconductor.md delete mode 100644 help/_posts/2017-01-17-CRAN.md delete mode 100644 help/_posts/2018-09-28-anthon.md delete mode 100644 help/_posts/2019-02-15-grafana.md delete mode 100644 help/_posts/2019-02-15-rustup.md delete mode 100644 help/_posts/2019-02-17-nix.md delete mode 100644 help/_posts/2019-02-25-dart-pub.md delete mode 100644 help/_posts/2019-03-18-arch4edu.md delete mode 100644 help/_posts/2019-05-03-qubesos.md delete mode 100644 help/_posts/2019-06-25-solus.md delete mode 100644 help/_posts/2019-07-23-kicad.md delete mode 100644 help/_posts/2020-03-06-tlpretest.md delete mode 100644 help/_posts/2020-09-10-llvm-project.git.md delete mode 100644 help/_posts/2021-01-01-ceph.md delete mode 100644 help/_posts/2021-03-11-opensuse.md delete mode 100644 help/_posts/2021-05-25-influxdata.md delete mode 100644 help/_posts/2021-07-14-ubuntu-cloud-images.md delete mode 100644 help/_posts/2021-12-23-qt.md delete mode 100644 help/_posts/2022-01-07-erlang-solutions.md delete mode 100644 help/_posts/2022-01-08-ohmyzsh.git.md delete mode 100644 help/_posts/2022-07-23-llvm-apt.md delete mode 100644 help/_posts/2022-08-03-bazel-apt.md delete mode 100644 help/_posts/2022-08-03-wine-builds.md delete mode 100644 help/_posts/2022-08-22-elasticsearch.md delete mode 100644 help/_posts/2022-09-05-entware.md delete mode 100644 help/_posts/2022-09-22-pkgsrc.git.md delete mode 100644 help/_posts/2022-11-14-kali.md delete mode 100644 help/_posts/2023-01-23-openbsd.md delete mode 100644 help/_posts/2023-01-30-netbsd.md delete mode 100644 help/_posts/2023-02-08-crates.io-index.md delete mode 100644 help/_posts/2023-03-10-armbian.md delete mode 100644 help/_posts/2023-03-10-blackarch.md delete mode 100644 help/_posts/2023-03-10-clojars.md delete mode 100644 help/_posts/2023-03-10-debian-multimedia.md delete mode 100644 help/_posts/2023-03-10-eclipse.md delete mode 100644 help/_posts/2023-03-10-kodi.md delete mode 100644 help/_posts/2023-03-10-manjaro.md delete mode 100644 help/_posts/2023-03-10-nix-channels.md delete mode 100644 help/_posts/2023-03-19-nixpkgs.git.md delete mode 100644 help/_posts/2023-03-30-raspberrypi.md delete mode 100644 help/_posts/2023-05-17-centos-stream.md diff --git a/help/_posts/1970-01-01-adoptium.md b/help/_posts/1970-01-01-adoptium.md deleted file mode 100644 index 0fb0838..0000000 --- a/help/_posts/1970-01-01-adoptium.md +++ /dev/null @@ -1,172 +0,0 @@ ---- -category: help -layout: help -mirrorid: Adoptium ---- - - - -# Adoptium 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -### Windows/macOS 用户 - -通过以下链接打开下载页面,选择所需的版本,下载独立安装包。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### Debian/Ubuntu 用户 - -首先请安装依赖: - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -然后信任 GPG 公钥: - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -随后执行以下命令来添加 apt 存储库: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -再执行 - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -之后可以使用 `apt-get install temurin--jdk` 安装软件包,例如 `temurin-17-jdk` 和 `temurin-8-jdk`。 - -### CentOS/RHEL/Fedora 用户 - -执行以下命令来添加 rpm 存储库: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -再执行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -之后可以使用 `yum install temurin--jdk` 安装软件包,例如 `temurin-17-jdk` 和 `temurin-8-jdk`。 - diff --git a/help/_posts/1970-01-01-archlinux.md b/help/_posts/1970-01-01-archlinux.md deleted file mode 100644 index c544c41..0000000 --- a/help/_posts/1970-01-01-archlinux.md +++ /dev/null @@ -1,104 +0,0 @@ ---- -category: help -layout: help -mirrorid: archlinux ---- - - - -# Arch Linux 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -Arch Linux 是通用 x86-64 GNU/Linux 发行版。Arch 采用滚动升级模式,尽全力提供最新的稳定版软件。初始安装的 Arch 只是一个基本系统,随后用户可以根据自己的喜好安装需要的软件并配置成符合自己理想的系统。 - -Pacman 以 `mirrorlist` 中 Server 的顺序作为优先级,因此添加镜像需要在文件的最顶端添加;您可以同时注释掉其它所有镜像。 - -有关 Arch Linux 使用镜像的详细说明请见[官方文档](https://wiki.archlinux.org/title/mirrors) - -编辑 `/etc/pacman.d/mirrorlist`,在文件的最顶端添加: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -更新软件包缓存: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -两次 `y` 能避免从**损坏的**镜像切换到**正常的**镜像时出现的问题。 - -如果您从一个较新的镜像切换到较旧的镜像,以下命令可以降级部分包,以避免系统的部分更新。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -## Arch Linux Rollback Machine 使用帮助 - -因为 Arch Linux 的软件仓库和 iso 列表是不维护旧版本的,在少数情况下可能会需要安装旧版本的软件或系统, -因此镜像站维护了一个 [Arch Linux Rollback Machine](https://{{ site.arch_archive }}/)来满足这种情况。 - -Arch Linux Rollback Machine 的使用方法请参照 [wiki](https://wiki.archlinux.org/index.php/Arch_Linux_Archive)。 - -**需要注意的是,本镜像站的 Rollback Machine 的目录结构与 wiki 中的目录结构并不相同,配置时请自行替代。** - diff --git a/help/_posts/1970-01-01-archlinuxarm.md b/help/_posts/1970-01-01-archlinuxarm.md deleted file mode 100644 index 7ecde26..0000000 --- a/help/_posts/1970-01-01-archlinuxarm.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -category: help -layout: help -mirrorid: archlinuxarm ---- - - - -# Arch Linux ARM 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -### 软件源 - -编辑 `/etc/pacman.d/mirrorlist`,在文件的最顶端添加以下配置;您可以同时注释掉其它所有镜像。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -更新软件包缓存: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### 系统镜像 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -请访问 [https://archlinuxarm.org/platforms](https://archlinuxarm.org/platforms),阅读硬件平台对应的安装指引并下载对应的系统镜像。 - diff --git a/help/_posts/1970-01-01-archlinuxcn.md b/help/_posts/1970-01-01-archlinuxcn.md deleted file mode 100644 index 5b38999..0000000 --- a/help/_posts/1970-01-01-archlinuxcn.md +++ /dev/null @@ -1,77 +0,0 @@ ---- -category: help -layout: help -mirrorid: archlinuxcn ---- - - - -# Arch Linux CN 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -Arch Linux 中文社区仓库 是由 Arch Linux -中文社区驱动的非官方用户仓库。包含中文用户常用软件、工具、字体/美化包等。 - -完整的包信息列表(包名称/架构/维护者/状态)请[点击这里](https://github.com/archlinuxcn/repo)查看。 - -*  官方仓库地址:https://repo.archlinuxcn.org - -使用方法:在 `/etc/pacman.conf` 文件末尾添加以下两行: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -之后通过一下命令安装 `archlinuxcn-keyring` 包导入 GPG key。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-binutils-gdb.git.md b/help/_posts/1970-01-01-binutils-gdb.git.md deleted file mode 100644 index d9a2139..0000000 --- a/help/_posts/1970-01-01-binutils-gdb.git.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -category: help -layout: help -mirrorid: binutils-gdb.git ---- - - - -# GDB Git 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -如需克隆 Binutils 等项目的代码,使用 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -若要将 mirror 加入已有代码库,可在已有仓库中运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -或运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -将默认上游设置为镜像站 - diff --git a/help/_posts/1970-01-01-centos-vault.md b/help/_posts/1970-01-01-centos-vault.md deleted file mode 100644 index 74e7329..0000000 --- a/help/_posts/1970-01-01-centos-vault.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -category: help -layout: help -mirrorid: centos-vault ---- - - - -# CentOS Vault 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -该文件夹提供较早版本的 CentOS,例如 CentOS 6;同时提供当前 CentOS 大版本的历史小版本的归档; -还提供 CentOS 各个版本的源代码和调试符号。 - -需要确定您所需要的小版本,如无特殊需要则使用该大版本的最后一个小版本,比如 6.10,5.11,我们将其标记为 `$minorver`,需要您在之后的命令中替换。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -注意其中的`*`通配符,如果只需要替换一些文件中的源,请自行增删。 - -注意,如果需要启用其中一些 repo,需要将其中的 `enabled=0` 改为 `enabled=1`。 - -最后,更新软件包缓存 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-centos.md b/help/_posts/1970-01-01-centos.md deleted file mode 100644 index 596c1b3..0000000 --- a/help/_posts/1970-01-01-centos.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -category: help -layout: help -mirrorid: centos ---- - - - -# CentOS 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -**请注意,CentOS 8(非 Stream 版)已提前进入 EOL 停止服务阶段,因此镜像已被官方移动。如果您正在寻找关于这些系统的镜像,请参考 centos-vault 的帮助。** - -该文件夹只提供 CentOS 7 与 8,架构仅为 `x86_64` ,如果需要较早版本的 CentOS,请参考 centos-vault 的帮助,若需要其他架构,请参考 centos-altarch 的帮助。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -注意其中的`*`通配符,如果只需要替换一些文件中的源,请自行增删。 - -注意,如果需要启用其中一些 repo,需要将其中的 `enabled=0` 改为 `enabled=1`。 - -最后,更新软件包缓存 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-chef.md b/help/_posts/1970-01-01-chef.md deleted file mode 100644 index cb7509f..0000000 --- a/help/_posts/1970-01-01-chef.md +++ /dev/null @@ -1,97 +0,0 @@ ---- -category: help -layout: help -mirrorid: chef ---- - - - -# Chef 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -Chef 是一套自动化运维工具。 - -### Debian/Ubuntu 用户 - -再选择你的 Debian/Ubuntu 版本,文本框中内容写进 `/etc/apt/sources.list.d/chef.list` - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -### RHEL/CentOS 用户 - -新建 `/etc/yum.repos.d/chef.repo`,内容为: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-crates.io-index.git.md b/help/_posts/1970-01-01-crates.io-index.git.md deleted file mode 100644 index 5e3429a..0000000 --- a/help/_posts/1970-01-01-crates.io-index.git.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -category: help -layout: help -mirrorid: crates.io-index.git ---- - - - -# Rust crates.io 索引镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -编辑 `$CARGO_HOME/config` 文件,添加以下内容: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -注:`$CARGO_HOME`:在 Windows 系统默认为:`%USERPROFILE%\.cargo`,在类 Unix 系统默认为:`$HOME/.cargo` - -在 Linux 环境可以使用下面的命令完成: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -在可能的情况下推荐使用 [Rust crates.io 稀疏索引镜像](/help/crates.io-index) - diff --git a/help/_posts/1970-01-01-debian.md b/help/_posts/1970-01-01-debian.md deleted file mode 100644 index 852f5bf..0000000 --- a/help/_posts/1970-01-01-debian.md +++ /dev/null @@ -1,136 +0,0 @@ ---- -category: help -layout: help -mirrorid: debian ---- - - - -# Debian 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -一般情况下,将 `/etc/apt/sources.list` 文件中 Debian 默认的源地址 `http://deb.debian.org/` 替换为镜像地址即可。 - -Debian Buster 以上版本默认支持 HTTPS 源。如果遇到无法拉取 HTTPS 源的情况,请先使用 HTTP 源并安装: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - - -
-
- - -
-
- -
-
- - -
-
- -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -不过,一般来说,为了更及时地获得安全更新,不推荐使用镜像站安全更新软件源,因为镜像站往往有同步延迟。参考 https://www.debian.org/security/faq.en.html#mirror - -> The purpose of security.debian.org is to make security updates available as quickly and easily as possible. -> -> Encouraging the use of unofficial mirrors would add extra complexity that is usually not needed and that can cause frustration if these mirrors are not kept up to date. - -### Connection reset by peer - -在 apt 2.1.9 及以后的版本中,apt 的 HTTP Pipelining 特性与 Nginx 服务器疑似存在一定的不兼容问题,可能导致高带宽从镜像站下载大量软件包 -(例如系统升级)时出现偶发的 Connection reset by peer 错误 -(详见 [Debian bug #973581](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973581))。 - -目前,用户可以通过关闭 HTTP Pipelining 特性解决此问题。 -如果需要关闭,可以在使用 `apt` 命令时加上 `-o Acquire::http::Pipeline-Depth=0` 参数, -或使用以下命令将相关设置加入 apt 系统配置中: - -```bash -echo "Acquire::http::Pipeline-Depth \"0\";" > /etc/apt/apt.conf.d/99nopipelining -``` - diff --git a/help/_posts/1970-01-01-docker-ce.md b/help/_posts/1970-01-01-docker-ce.md deleted file mode 100644 index a9f6ca5..0000000 --- a/help/_posts/1970-01-01-docker-ce.md +++ /dev/null @@ -1,306 +0,0 @@ ---- -category: help -layout: help -mirrorid: docker-ce ---- - - - -# Docker CE 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -**注意:本镜像只提供 Debian/Ubuntu/Fedora/CentOS/RHEL 的 docker 软件包,非 dockerhub** - -### 自动安装 - -Docker 提供了一个自动配置与安装的脚本,支持 Debian、RHEL、SUSE 系列及衍生系统的安装。 - -以下内容假定 - -- 您为 root 用户,或有 sudo 权限,或知道 root 密码; -- 您系统上有 curl 或 wget - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### Debian/Ubuntu/Raspbian 用户 - -以下内容根据 [官方文档](https://docs.docker.com/engine/install/debian/) 修改而来。 - -如果你过去安装过 docker,先删掉: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -首先安装依赖: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -信任 Docker 的 GPG 公钥并添加仓库: - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -最后安装 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### Fedora - -以下内容根据 [官方文档](https://docs.docker.com/engine/install/fedora/) 修改而来。 - -如果你之前安装过 docker,请先删掉 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -安装依赖,下载 repo 文件,并把软件仓库地址替换为镜像站: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -最后安装: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### CentOS/RHEL - -以下内容根据 [官方文档](https://docs.docker.com/engine/install/centos/) 修改而来。 - -如果你之前安装过 docker,请先删掉 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -安装依赖,下载 repo 文件,并把软件仓库地址替换为镜像站: - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -最后安装: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-elrepo.md b/help/_posts/1970-01-01-elrepo.md deleted file mode 100644 index 8ce0df2..0000000 --- a/help/_posts/1970-01-01-elrepo.md +++ /dev/null @@ -1,122 +0,0 @@ ---- -category: help -layout: help -mirrorid: elrepo ---- - - - -# ELRepo 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -首先按照[官网的安装说明](https://elrepo.org/tiki/tiki-index.php),配置 ELRepo: - -```bash -rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org -``` - -接着,按照你的系统版本,运行: - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -接下来是换源,建议先备份 `/etc/yum.repos.d/elrepo.repo` : - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -然后编辑 /etc/yum.repos.d/elrepo.repo 文件,在 `mirrorlist=` 开头的行前面加 `#` 注释掉;并将 `http://elrepo.org/linux` 替换为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -最后,更新软件包缓存 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-epel.md b/help/_posts/1970-01-01-epel.md deleted file mode 100644 index cdfda8d..0000000 --- a/help/_posts/1970-01-01-epel.md +++ /dev/null @@ -1,124 +0,0 @@ ---- -category: help -layout: help -mirrorid: epel ---- - - - -# EPEL 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -EPEL(Extra Packages for Enterprise Linux) 是由 Fedora Special Interest Group 维护的 Enterprise Linux(RHEL、CentOS)中经 -常用到的包。 - - -下面以 CentOS 7 为例讲解如何使用本镜像站的 epel 镜像。CentOS 8 或 CentOS Stream 同样可用该方法。 - -首先从 CentOS Extras 这个源里安装 epel-release: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -用如下命令自动替换:(来自 [https://github.com/tuna/issues/issues/687](https://github.com/tuna/issues/issues/687)) - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -修改结果如下:(仅供参考,不同版本可能不同) - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -运行 `yum update` 测试一下吧。 - diff --git a/help/_posts/1970-01-01-fdroid.md b/help/_posts/1970-01-01-fdroid.md deleted file mode 100644 index a01e117..0000000 --- a/help/_posts/1970-01-01-fdroid.md +++ /dev/null @@ -1,72 +0,0 @@ ---- -category: help -layout: help -mirrorid: fdroid ---- - - - -# F-Droid 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - - -用 F-Droid 客户端打开此链接: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -或复制此链接后在客户端中添加存储库,可以将此镜像添加为用户镜像。 - -如果需要添加 Archive 库,可以使用如下链接: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-fedora.md b/help/_posts/1970-01-01-fedora.md deleted file mode 100644 index 6a122d6..0000000 --- a/help/_posts/1970-01-01-fedora.md +++ /dev/null @@ -1,180 +0,0 @@ ---- -category: help -layout: help -mirrorid: fedora ---- - - - -# Fedora 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -Fedora 默认使用 [Metalink](https://zh.fedoracommunity.org/2018/04/05/fedora-secures-package-delivery.html) 给出推荐的镜像列表,保证用户使用的镜像仓库足够新,并且能够尽快拿到安全更新,从而提供更好的安全性。所以通常情况下使用默认配置即可,无需更改配置文件。 - -由于 Metalink 需要从国外的 Fedora 项目服务器上获取元信息,所以对于校园内网、无国外访问等特殊情况,metalink 并不适用,此时可以如下修改配置文件。 - -Fedora 的软件源配置文件可以有多个,其中: -系统默认的 `fedora` 仓库配置文件为 `/etc/yum.repos.d/fedora.repo`,系统默认的 `updates` 仓库配置文件为 `/etc/yum.repos.d/fedora-updates.repo` 。将上述两个文件先做个备份,根据 Fedora 系统版本分别替换为下面内容,之后通过 `sudo dnf makecache` 命令更新本地缓存,即可使用所选择的软件源镜像。 - -## Fedora 29 或更旧版本 - -Fedora 29 及更旧版本已不再受官方支持,Fedora 官方已将 Fedora 29 及更旧版本的软件仓库从主镜像中移除,并转移至了 archive 镜像中。故 Fedora 29 及更旧版本无法使用所选择的镜像。请使用默认配置文件,以使 `yum` / `dnf` 自动获取可用的镜像源。 - -## Fedora 30 或更新版本 - -### 命令替换 - -用以下命令替换 `/etc/yum.repos.d` 下的文件 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -### 手动替换 - -**`fedora` 仓库 (/etc/yum.repos.d/fedora.repo)** - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -**`updates` 仓库 (/etc/yum.repos.d/fedora-updates.repo)** - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -**`fedora-modular` 仓库 (/etc/yum.repos.d/fedora-modular.repo)** - - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -**`updates-modular` 仓库 (/etc/yum.repos.d/fedora-updates-modular.repo)** - - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-flutter-sdk.git.md b/help/_posts/1970-01-01-flutter-sdk.git.md deleted file mode 100644 index 7ad8366..0000000 --- a/help/_posts/1970-01-01-flutter-sdk.git.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -category: help -layout: help -mirrorid: flutter-sdk.git ---- - - - -# Flutter SDK 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -Flutter SDK 默认从 Github 获取更新,如您访问 Github 速度慢,可以在 Flutter 目录下运行命令: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -将上游设置为镜像站。 - -或者通过下面的命令,直接从 Master 构建渠道检出 Flutter 的 SDK: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -您也可以替换上述代码中 `git clone -b` 之后的 `master` 为 `beta` 获取 Beta 渠道的构建、替换为 `dev` 获取 Dev 渠道的构建。 - -Flutter 镜像使用方法参见 [Flutter 镜像安装帮助](/help/flutter)。 - diff --git a/help/_posts/1970-01-01-gcc.git.md b/help/_posts/1970-01-01-gcc.git.md deleted file mode 100644 index 8c5da1f..0000000 --- a/help/_posts/1970-01-01-gcc.git.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -category: help -layout: help -mirrorid: gcc.git ---- - - - -# GCC Git 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -如需克隆 GCC 代码,使用 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -若要将 mirror 加入已有代码库,可在已有仓库中运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -或运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -将默认上游设置为镜像站 - diff --git a/help/_posts/1970-01-01-gitlab-ce.md b/help/_posts/1970-01-01-gitlab-ce.md deleted file mode 100644 index a184f5d..0000000 --- a/help/_posts/1970-01-01-gitlab-ce.md +++ /dev/null @@ -1,153 +0,0 @@ ---- -category: help -layout: help -mirrorid: gitlab-ce ---- - - - -# GitLab CE 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -**注意:gitlab-ce 镜像仅支持 x86-64 架构** - -### Debian/Ubuntu 用户 - -首先信任 GitLab 的 GPG 公钥: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -再选择你的 Debian/Ubuntu 版本,文本框中内容写进 `/etc/apt/sources.list.d/gitlab-ce.list` - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -安装 gitlab-ce: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### RHEL/CentOS 用户 - - -新建 `/etc/yum.repos.d/gitlab-ce.repo`,内容为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -再执行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-gitlab-runner.md b/help/_posts/1970-01-01-gitlab-runner.md deleted file mode 100644 index bce2ce6..0000000 --- a/help/_posts/1970-01-01-gitlab-runner.md +++ /dev/null @@ -1,155 +0,0 @@ ---- -category: help -layout: help -mirrorid: gitlab-runner ---- - - - -# GitLab Runner 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -**注意:gitlab-runner 镜像支持 x86-64 和 ARM64(aarch64) 架构** - -### Debian/Ubuntu 用户 - -首先信任 GitLab 的 GPG 公钥: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -再选择你的 Debian/Ubuntu 版本,文本框中内容写进 `/etc/apt/sources.list.d/gitlab-runner.list` - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -安装 gitlab-runner: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### CentOS/RHEL - -新建 `/etc/yum.repos.d/gitlab-runner.repo`,内容为 - - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -再执行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-glibc.git.md b/help/_posts/1970-01-01-glibc.git.md deleted file mode 100644 index 15c30c6..0000000 --- a/help/_posts/1970-01-01-glibc.git.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -category: help -layout: help -mirrorid: glibc.git ---- - - - -# GNU C Library (glibc) Git 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -如需克隆 GNU C Library 代码,使用 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -若要将 mirror 加入已有代码库,可在已有仓库中运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -或运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -将默认上游设置为镜像站 - diff --git a/help/_posts/1970-01-01-linux-firmware.git.md b/help/_posts/1970-01-01-linux-firmware.git.md deleted file mode 100644 index ad97968..0000000 --- a/help/_posts/1970-01-01-linux-firmware.git.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -category: help -layout: help -mirrorid: linux-firmware.git ---- - - - -# Linux Firmware Git 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -如需克隆 Linux Firmware 代码,使用 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -若要将 mirror 加入已有代码库,可在已有仓库中运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -或运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -将默认上游设置为镜像站 - diff --git a/help/_posts/1970-01-01-linux-next.git.md b/help/_posts/1970-01-01-linux-next.git.md deleted file mode 100644 index b9bdff3..0000000 --- a/help/_posts/1970-01-01-linux-next.git.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -category: help -layout: help -mirrorid: linux-next.git ---- - - - -# Linux Next Git 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -如需克隆 Linux Next 代码,使用 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -若要将 mirror 加入已有代码库,可在已有仓库中运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -或运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -将默认上游设置为镜像站 - diff --git a/help/_posts/1970-01-01-linux-stable.git.md b/help/_posts/1970-01-01-linux-stable.git.md deleted file mode 100644 index 0fe0976..0000000 --- a/help/_posts/1970-01-01-linux-stable.git.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -category: help -layout: help -mirrorid: linux-stable.git ---- - - - -# Linux Stable Git 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -如需克隆 Linux Stable 代码,使用 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -若要将 mirror 加入已有代码库,可在已有仓库中运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -或运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -将默认上游设置为镜像站 - diff --git a/help/_posts/1970-01-01-linux.git.md b/help/_posts/1970-01-01-linux.git.md deleted file mode 100644 index 3e17fe8..0000000 --- a/help/_posts/1970-01-01-linux.git.md +++ /dev/null @@ -1,113 +0,0 @@ ---- -category: help -layout: help -mirrorid: linux.git ---- - - - -# Linux Git 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -如需克隆 Linux 代码,使用 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -若要将 mirror 加入已有代码库,可在已有仓库中运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -或运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -将默认上游设置为镜像站 - -### 增量下载 - -如果需要其它 linux 分支的代码(如树莓派内核代码),可以在 clone 本项目基础上增量下载分支的代码,从而加速下载 - -以树莓派为例,具体操作为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-linuxmint.md b/help/_posts/1970-01-01-linuxmint.md deleted file mode 100644 index de756c2..0000000 --- a/help/_posts/1970-01-01-linuxmint.md +++ /dev/null @@ -1,71 +0,0 @@ ---- -category: help -layout: help -mirrorid: linuxmint ---- - - - -# Linux Mint 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -Linux Mint 也采用 apt 作为包管理器,与 Ubuntu 和 Debian 类似,你需要编辑 `/etc/apt/sources.list` 和 `/etc/apt/sources.list.d/*` 中的路径。对于来自 Ubuntu 与 Debian 的部分源,可以参考 [Ubuntu 帮助](/help/ubuntu)与 [Debian 帮助](/help/debian)进行修改。 - -需要修改 `/etc/apt/sources.list.d/official-package-repositories.list`(注意备份),把 `packages.linuxmint.com` 替换为镜像源 - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -然后运行 `apt update` 即可。 - -注:完成后请不要再使用 mintsources(自带的图形化软件源设置工具)进行任何操作,因为在操作后,无论是否有按“确定”,mintsources 均会复写 `/etc/apt/sources.list.d/official-package-repositories.list`。 - diff --git a/help/_posts/1970-01-01-lxc-images.md b/help/_posts/1970-01-01-lxc-images.md deleted file mode 100644 index 0013b93..0000000 --- a/help/_posts/1970-01-01-lxc-images.md +++ /dev/null @@ -1,75 +0,0 @@ ---- -category: help -layout: help -mirrorid: lxc-images ---- - - - -# LXC Images 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -LXC 1.0 以上版本增加了 `download` 模版,支持下载定义好的系统镜像。 - -欲使用镜像站进行下载加速,可以在 `lxc-create -t download` 的选项部分, -增加 `--server` 即可,例如: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -**LXD/LXC 2.0 及以上版本使用镜像加速的方法**: - -创建一个 remote 链接,指向镜像站即可,或替换掉默认的 images 链接。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-mariadb.md b/help/_posts/1970-01-01-mariadb.md deleted file mode 100644 index 8abd8ba..0000000 --- a/help/_posts/1970-01-01-mariadb.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -category: help -layout: help -mirrorid: mariadb ---- - - - -# MariaDB 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -由于 MariaDB 版本较多,建议在[官方页面](https://downloads.mariadb.org/mariadb/repositories)上生成配置文件内容。 - -### Debian/Ubuntu 等基于 apt 的系统 - - -新建 `/etc/apt/sources.list.d/MariaDB.list`,填入工具生成的配置内容,并将其中的地址部分,例如: - -``` -https://apt.mariadb.org/mariadb/repo -``` - -换为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### RHEL/CentOS 等基于 yum 的系统 - -新建 `/etc/yum.repos.d/MariaDB.repo`,填入工具生成的配置内容,并将`baseurl=`后的地址部分,例如: - -``` -http://yum.mariadb.org -``` - -换为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-mongodb.md b/help/_posts/1970-01-01-mongodb.md deleted file mode 100644 index b28abe0..0000000 --- a/help/_posts/1970-01-01-mongodb.md +++ /dev/null @@ -1,178 +0,0 @@ ---- -category: help -layout: help -mirrorid: mongodb ---- - - - -# MongoDB 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -MongoDB 镜像自 MongoDB [官方仓库](https://repo.mongodb.org/),目前有 RHEL/CentOS, Ubuntu, Debian 的镜像,支持 amd64, i386, arm64 架构。 - -更详细的内容,可以参考 [官方文档](https://docs.mongodb.org/master/administration/install-on-linux/) - -### Debian/Ubuntu 用户 - -首先信任 MongoDB 的 GPG 公钥: - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -再选择你的 Debian / Ubuntu 版本,文本框中内容写进 `/etc/apt/sources.list.d/mongodb.list` - - - -
-
- - -
-
- -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -安装 `mongodb-org` 即可 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### RHEL/CentOS 用户 - - -新建 `/etc/yum.repos.d/mongodb.repo`,内容为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -刷新缓存并安装 `mongodb-org` 即可。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-msys2.md b/help/_posts/1970-01-01-msys2.md deleted file mode 100644 index e4f54c4..0000000 --- a/help/_posts/1970-01-01-msys2.md +++ /dev/null @@ -1,83 +0,0 @@ ---- -category: help -layout: help -mirrorid: msys2 ---- - - - -# MSYS2 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -## 收录架构 - -* MINGW: i686, x86_64, ucrt64, clang64 -* MSYS: i686, x86_64 - -## 安装 - -请访问镜像目录下的 `distrib/` 目录 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -找到名为 `msys2-<架构>-<日期>.exe` 的文件(如 `msys2-x86_64-20141113.exe`),下载安装即可。 - -## pacman 的配置 - -直接运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-mysql.md b/help/_posts/1970-01-01-mysql.md deleted file mode 100644 index 3a005b8..0000000 --- a/help/_posts/1970-01-01-mysql.md +++ /dev/null @@ -1,146 +0,0 @@ ---- -category: help -layout: help -mirrorid: mysql ---- - - - -# MySQL 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -### Debian/Ubuntu 用户 - -再选择你的 Debian/Ubuntu 版本,文本框中内容写进 `/etc/apt/sources.list.d/mysql-community.list` - - - -
-
- - -
-
- -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -参考文档:https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/ - -### RHEL/CentOS 用户 - -新建 `/etc/yum.repos.d/mysql-community.repo`,内容如下: - -注:`mysql-8.0`, `mysql-connectors` 和 `mysql-tools` 在 RHEL 7/8 上还提供了 `aarch64` 版本。 - - - - -
-
- - -
-
- -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -参考文档:https://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/ - diff --git a/help/_posts/1970-01-01-proxmox.md b/help/_posts/1970-01-01-proxmox.md deleted file mode 100644 index 35438ca..0000000 --- a/help/_posts/1970-01-01-proxmox.md +++ /dev/null @@ -1,147 +0,0 @@ ---- -category: help -layout: help -mirrorid: proxmox ---- - - - -# Proxmox 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -### Debian 软件源 - -参考 [Debian 帮助](/help/debian) 修改 `/etc/apt/sources.list`。 - -### 软件源 - -新建 `/etc/apt/sources.list.d/pve-no-subscription.list`(如果选择的不是 pve,需要使用另一个文件名),内容为: - - - -
-
- - -
-
- -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -注意快速配置中的文件名需要根据需求而修改。 - -### ISO 安装文件下载 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### CT Templates - -如果你需要加速 Proxmox 网页端下载 CT Templates,可以替换 CT Templates 的源。 - -具体方法:将 `/usr/share/perl5/PVE/APLInfo.pm` 文件中默认的源地址 `http://download.proxmox.com` -替换为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -可以使用如下命令修改: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -针对 `/usr/share/perl5/PVE/APLInfo.pm` 文件的修改,重启后生效。 - diff --git a/help/_posts/1970-01-01-qemu.git.md b/help/_posts/1970-01-01-qemu.git.md deleted file mode 100644 index f09bd76..0000000 --- a/help/_posts/1970-01-01-qemu.git.md +++ /dev/null @@ -1,99 +0,0 @@ ---- -category: help -layout: help -mirrorid: qemu.git ---- - - - -# QEMU Git 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -## 实验性脚本(仅 TUNA 提供) - -如需克隆 QEMU 代码及其子模块,使用以下脚本 - -``` -curl https://mirrors.tuna.tsinghua.edu.cn/git/qemu/qemu.sh | bash -``` - -## 手动克隆 - -如仅需克隆 QEMU 代码,使用 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -若要将 mirror 加入已有代码库,可在已有仓库中运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -或运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -将默认上游设置为镜像站 - diff --git a/help/_posts/1970-01-01-raspbian.md b/help/_posts/1970-01-01-raspbian.md deleted file mode 100644 index 0389f44..0000000 --- a/help/_posts/1970-01-01-raspbian.md +++ /dev/null @@ -1,139 +0,0 @@ ---- -category: help -layout: help -mirrorid: raspbian ---- - - - -# Raspbian 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -### Raspbian 简介 - -Raspbian 是专门用于 ARM 卡片式计算机 Raspberry Pi® “树莓派”的操作系统, -其基于 Debian 开发,针对 Raspberry Pi 硬件优化。 - -Raspbian 并非由树莓派的开发与维护机构 The Raspberry Pi Foundation -“树莓派基金会”官方支持。其维护者是一群 Raspberry Pi 硬件和 Debian 项目的爱好者。 - -注:Raspbian 系统由于从诞生开始就基于(为了 armhf,也必须基于)当时还是 -testing 版本的 7.0/wheezy,所以 Raspbian 不倾向于使用 stable/testing -表示版本。 - -### 使用说明 - -首先通过 `uname -m` 确定你使用的系统的架构。 - -编辑镜像站后,请使用`sudo apt-get update`命令,更新软件源列表,同时检查您的编辑是否正确。 - -#### armv7l - - - -
-
- - -
-
- -
-
- - -
-
- -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -注意:网址末尾的`raspbian`重复两次是必须的。因为 Raspbian 的仓库中除了 APT 软件源还包含其他代码。APT 软件源不在仓库的根目录,而在`raspbian/`子目录下。 - -#### aarch64 - -aarch64 用户可直接参考 [Debian 帮助](/help/debian) - -#### raspberry 镜像 - -对于两个架构,编辑 `/etc/apt/sources.list.d/raspi.list` 文件,这需要查看 [Raspberrypi 帮助](/help/raspberrypi)。 - - -### 相关链接 - -#### Raspbian 链接 - -*  Raspbian 主页:[https://www.raspbian.org](https://www.raspbian.org) -* 文档:[https://www.raspbian.org/RaspbianDocumentation](https://www.raspbian.org/RaspbianDocumentation) -* Bug 反馈:[https://www.raspbian.org/RaspbianBugs](https://www.raspbian.org/RaspbianBugs) -*  镜像列表: [https://www.raspbian.org/RaspbianMirrors](https://www.raspbian.org/RaspbianMirrors) - -#### 树莓派链接 - -* 树莓派基金会主页:[https://www.raspberrypi.org/](https://www.raspberrypi.org/) -* 树莓派基金会论坛 Raspberry Pi OS 版块:[https://raspberrypi.org/forums/viewforum.php?f=66](https://raspberrypi.org/forums/viewforum.php?f=66) - -### 关于本文档 - -本文档内容的原始版本由 Raspberry Pi -中文社区“树莓爱好者论坛”提供。按照 [知识共享署名 - 非商业性使用 -3.0 -中国大陆许可协议](http://creativecommons.org/licenses/by-nc/3.0/cn/) 授权清华大学镜像站使用。 - -TUNA 提供的修改版本同样使用 [知识共享署名 - 非商业性使用 -3.0 -中国大陆许可协议](http://creativecommons.org/licenses/by-nc/3.0/cn/)。 - diff --git a/help/_posts/1970-01-01-repo-ck.md b/help/_posts/1970-01-01-repo-ck.md deleted file mode 100644 index 894481d..0000000 --- a/help/_posts/1970-01-01-repo-ck.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -category: help -layout: help -mirrorid: repo-ck ---- - - - -# Repo-ck 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -[repo-ck](http://repo-ck.com/) 是 -[Arch](https://archlinux.org/) 的非官方仓库,内有包含 ck -补丁、BFS -调度器等,通用或为特定 CPU 架构优化过的内核,以及内核相关的软件包,是居家旅行,优化折腾的必备良药。更多内容,参考 -[ArchWiki](https://wiki.archlinux.org/index.php/repo-ck)。 - -### 食用方法 - -在 `/etc/pacman.conf` 里添加 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -再增加 GPG 信任: - -```bash -pacman-key -r 5EE46C4C && pacman-key --lsign-key 5EE46C4C -``` - -之后 `pacman -Sy` 即可。 - diff --git a/help/_posts/1970-01-01-ros.md b/help/_posts/1970-01-01-ros.md deleted file mode 100644 index 92ee750..0000000 --- a/help/_posts/1970-01-01-ros.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -category: help -layout: help -mirrorid: ros ---- - - - -# ROS 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -新建 `/etc/apt/sources.list.d/ros-latest.list`,内容为: - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -然后再输入如下命令,信任 ROS 的 GPG Key,并更新索引: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### rosdep - -参考 [ROS Distro 帮助](/help/rosdistro) - diff --git a/help/_posts/1970-01-01-ros2.md b/help/_posts/1970-01-01-ros2.md deleted file mode 100644 index 2cb6b42..0000000 --- a/help/_posts/1970-01-01-ros2.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -category: help -layout: help -mirrorid: ros2 ---- - - - -# ROS2 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -输入如下命令,下载 ROS 的 GPG Key: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -Reference: https://docs.ros.org/en/iron/Installation/Ubuntu-Install-Debians.html - -### rosdep - -参考 [ROS Distro 帮助](/help/rosdistro) - diff --git a/help/_posts/1970-01-01-rpmfusion.md b/help/_posts/1970-01-01-rpmfusion.md deleted file mode 100644 index 6eae596..0000000 --- a/help/_posts/1970-01-01-rpmfusion.md +++ /dev/null @@ -1,171 +0,0 @@ ---- -category: help -layout: help -mirrorid: rpmfusion ---- - - - -# RPMFusion 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -### 安装基础包 - -首先安装提供基础配置文件和 GPG 密钥的 `rpmfusion-*.rpm`。 - -#### Fedora 用户 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -或者如下直接用镜像中的 rpm 包: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -#### CentOS/RHEL 用户 - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -注意:没有将当前用户设为管理员的用户,需要将 `sudo CMD` 替换为 `su -c 'CMD'`,并输入 root 密码。 - -### 修改链接指向镜像站 - -安装成功后,修改 `/etc/yum.repos.d/` 目录下以 `rpmfusion` 开头,以 `.repo` 结尾的文件。具体而言,需要将文件中的 `baseurl=` 开头的行等号后面链接中的 `http://download1.rpmfusion.org/` 替换为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -替换后的文件类似如下: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### 更多 - -RHEL/CentOS 用户请参考 [RPMFusion 官方指南](http://rpmfusion.org/Configuration)。 - diff --git a/help/_posts/1970-01-01-rudder.md b/help/_posts/1970-01-01-rudder.md deleted file mode 100644 index 2c7c791..0000000 --- a/help/_posts/1970-01-01-rudder.md +++ /dev/null @@ -1,116 +0,0 @@ ---- -category: help -layout: help -mirrorid: rudder ---- - - - -# Rudder 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -### Debian/Ubuntu 用户 - - -选择你的 Debian/Ubuntu 版本,文本框中内容写进 `/etc/apt/sources.list.d/rudder.list` - - - -
-
- - -
-
- -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### RHEL/CentOS 用户 - -新建 `/etc/yum.repos.d/rudder.repo`,内容为: - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-stackage.md b/help/_posts/1970-01-01-stackage.md deleted file mode 100644 index a2a2b5f..0000000 --- a/help/_posts/1970-01-01-stackage.md +++ /dev/null @@ -1,129 +0,0 @@ ---- -category: help -layout: help -mirrorid: stackage ---- - - - -# Stackage 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -本镜像推荐与[Hackage 镜像](/help/hackage)配合使用。 - -### stack >= v2.5.1 - -修改`~/.stack/config.yaml`(在 Windows 下是 `%APPDATA%\stack\config.yaml`), 加上: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -此外,还需要手动下载 global-hints.yaml(参考 [GitHub RAW 帮助](/help/github-raw) 中 stackage global-hints-cache.yaml 一节)到 `~/.stack/pantry/global-hints-cache.yaml`(在 Windows 下是 `%APPDATA%\stack\pantry\global-hints-cache.yaml`)。注意文件名不同。这是由于 `stack` 暂时不支持配置该文件的上游地址。该文件需要在每当第一次用到新版本的 GHC 时更新。 - -### stack >= v2.3.1 - -修改`~/.stack/config.yaml`(在 Windows 下是 `%APPDATA%\stack\config.yaml`), 加上: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### stack >= v2.1.1 - -修改`~/.stack/config.yaml`(在 Windows 下是 `%APPDATA%\stack\config.yaml`), 加上: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### stack 小于 v2.1.1 - -修改`~/.stack/config.yaml`(在 Windows 下是 `%APPDATA%\stack\config.yaml`), 加上: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/1970-01-01-ubuntu-ports.md b/help/_posts/1970-01-01-ubuntu-ports.md deleted file mode 100644 index db6b4ef..0000000 --- a/help/_posts/1970-01-01-ubuntu-ports.md +++ /dev/null @@ -1,114 +0,0 @@ ---- -category: help -layout: help -mirrorid: ubuntu-ports ---- - - - -# Ubuntu Ports 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -Ubuntu 的软件源配置文件是 `/etc/apt/sources.list`。将系统自带的该文件做个备份,将该文件替换为下面内容,即可使用选择的软件源镜像。 - - - -
-
- - -
-
- -
-
- - -
-
- -
-
- - -
-
- -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -因镜像站同步有延迟,可能会导致生产环境系统不能及时检查、安装上最新的安全更新,不建议替换 security 源。 - diff --git a/help/_posts/1970-01-01-ubuntu.md b/help/_posts/1970-01-01-ubuntu.md deleted file mode 100644 index f6ea06c..0000000 --- a/help/_posts/1970-01-01-ubuntu.md +++ /dev/null @@ -1,116 +0,0 @@ ---- -category: help -layout: help -mirrorid: ubuntu ---- - - - -# Ubuntu 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -本镜像仅包含 32/64 位 x86 架构处理器的软件包,在 ARM(arm64, armhf)、PowerPC(ppc64el)、RISC-V(riscv64) 和 S390x 等架构的设备上(对应官方源为 ports.ubuntu.com)请使用 [ubuntu-ports 镜像](/help/ubuntu-ports)。 - -Ubuntu 的软件源配置文件是 `/etc/apt/sources.list`。将系统自带的该文件做个备份,将该文件替换为下面内容,即可使用选择的软件源镜像。 - - - -
-
- - -
-
- -
-
- - -
-
- -
-
- - -
-
- -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -因镜像站同步有延迟,可能会导致生产环境系统不能及时检查、安装上最新的安全更新,不建议替换 security 源。 - diff --git a/help/_posts/1970-01-01-voidlinux.md b/help/_posts/1970-01-01-voidlinux.md deleted file mode 100644 index 56e9b45..0000000 --- a/help/_posts/1970-01-01-voidlinux.md +++ /dev/null @@ -1,75 +0,0 @@ ---- -category: help -layout: help -mirrorid: voidlinux ---- - - - -# Void Linux 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -使用如下命令替换为本镜像: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -若报错可尝试 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -之后可用 `xbps-query -L` 检查是否正确替换。 - -参考[官方教程](https://docs.voidlinux.org/xbps/repositories/mirrors/changing.html)。 - diff --git a/help/_posts/2016-06-19-virtualbox.md b/help/_posts/2016-06-19-virtualbox.md deleted file mode 100644 index f05c0d3..0000000 --- a/help/_posts/2016-06-19-virtualbox.md +++ /dev/null @@ -1,250 +0,0 @@ ---- -category: help -layout: help -mirrorid: virtualbox ---- - - - -# VirtualBox 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -[Oracle Virtualbox](https://www.virtualbox.org/) VirtualBox 是一款开源虚拟机软件。由德国 Innotek 公司开发,Sun Microsystems 公司出品。使用 Qt 编写,在 Sun 被 Oracle 收购后正式更名成 Oracle VM VirtualBox。采用 GPL 协议开源。 - -## Microsoft Windows - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -## Macintosh OS X - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -# Linux - -## 通过编译好的二进制包安装 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -访问该镜像下最新的目录(例如`5.0.24`),找到名为 发行版名称~发行代号~架构 的文件。 -如 `virtualbox-5.0_5.0.24-108355~Ubuntu~xenial_i386.deb` 下载安装即可。 - -目前支持的系统有: - -* Ubuntu -* Debian -* Fedora -* openSUSE -* SUSE Linux Enterprise Server -* Oracle Linux / Red Hat Enterprise Linux / CentOS - -如果您所使用的发行版不在上述列表之内,请下载通用的`run`文件(例如`VirtualBox-5.0.24-108355-Linux_x86.run`),然后使用 `chmod +x` 给予执行权限后,直接安装即可。 - -### 通过包管理器安装 - -#### Debian / Ubuntu 用户 - -首先信任 Virtualbox 的 GPG 公钥: - -对于 Debian 8 和 Ubuntu 16.04 及以上: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -其他版本 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -再选择你的 Debian/Ubuntu 版本,将文本框中内容写进`/etc/apt/sources.list.d/virtualbox.list` - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -安装 VirtualBox: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### RHEL/CentOS 用户 - - -新建 `/etc/yum.repos.d/virtualbox.repo`,内容为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -刷新缓存并安装 `virtualbox` 即可。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2016-08-18-rubygems.md b/help/_posts/2016-08-18-rubygems.md deleted file mode 100644 index e5ffed8..0000000 --- a/help/_posts/2016-08-18-rubygems.md +++ /dev/null @@ -1,99 +0,0 @@ ---- -category: help -layout: help -mirrorid: rubygems ---- - - - -# Ruby Gems 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -## gem - -使用以下命令替换 gems 默认源 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -或者,编辑 `~/.gemrc`,将 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -加到 `sources` 字段。 - -## bundler - -使用以下命令替换 bundler 默认源 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -官方文档:http://bundler.io/v1.16/man/bundle-config.1.html#MIRRORS-OF-GEM-SOURCES - diff --git a/help/_posts/2017-01-12-bioconductor.md b/help/_posts/2017-01-12-bioconductor.md deleted file mode 100644 index e5143c9..0000000 --- a/help/_posts/2017-01-12-bioconductor.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -category: help -layout: help -mirrorid: bioconductor ---- - - - -# Bioconductor 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -Bioconductor 为高通量基因组数据的分析和可视化提供开源工具。Bioconductor 多数软件包采用 R 统计编程语言开发。Bioconductor 每年释出两个版本,并有活跃的用户社区。 - -使用方法:[Bioconductor](https://www.bioconductor.org) 镜像源配置文件之一是 `.Rprofile`(linux 下位于 `~/.Rprofile`, Windows 下位于 `~\library\base\R\Rprofile`)。 - -在文末添加如下语句或在 R/RStudio 终端下键入: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -即可使用该 Bioconductor 镜像源安装 Bioconductor 软件包。命令如下: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -### 离线使用 - -如果您只能访问内网镜像站,在完成下列步骤后,依然可以正常使用 Bioconductor 镜像。 -1. 确保 BiocManager 的版本不低于 `1.30.12`。 -2. 使用一台可以访问公网的设备,访问 [https://bioconductor.org/config.yaml](https://bioconductor.org/config.yaml) 下载 `config.yaml`,并将该文件拷贝到 BiocManager 所在的内网设备上。然后,在 `~/.Rprofile` 添加如下配置: - -```r -options( - BIOCONDUCTOR_CONFIG_FILE = "file:///path/to/config.yaml" # config.yaml 所在的路径 -) -``` - diff --git a/help/_posts/2017-01-17-CRAN.md b/help/_posts/2017-01-17-CRAN.md deleted file mode 100644 index a42e522..0000000 --- a/help/_posts/2017-01-17-CRAN.md +++ /dev/null @@ -1,169 +0,0 @@ ---- -category: help -layout: help -mirrorid: CRAN ---- - - - -# CRAN 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -### 长期使用 - -[CRAN](https://cran.r-project.org/) (The Comprehensive R Archive Network) 镜像源配置文件之一是 `.Rprofile` (linux 下位于 `~/.Rprofile` )。 - -在文末添加如下语句: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -打开 R 即可使用该 CRAN 镜像源安装 R 软件包。 - -### 临时使用 - -在安装时指定 repo。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -## Debian/Ubuntu 下添加 CRAN 镜像安装 R - -参考如下链接中 README 里的步骤 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -编辑 `/etc/apt/sources.list.d/r-mirror.list` - - - -
-
- - -
-
- -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -然后运行 - - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2018-09-28-anthon.md b/help/_posts/2018-09-28-anthon.md deleted file mode 100644 index b0ce585..0000000 --- a/help/_posts/2018-09-28-anthon.md +++ /dev/null @@ -1,119 +0,0 @@ ---- -category: help -layout: help -mirrorid: anthon ---- - - - -# Anthon 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -AOSC OS 是一个由[安同开源社区](https://aosc.io) 开发的半滚动 Linux 发行版,支持多种处理器架构。 - -### 自动替换 - -AOSC OS 内置 `apt-gen-list` 工具来切换社区提供的可用镜像源。 - -列出可用镜像源,执行: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -要启用某一镜像源,执行: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -其中 `{mirror}` 替换为所列出的简称。 - -要仅启用某一源,执行: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -其中 `` 替换为所列出的简称。 - -关于 `apt-gen-list` 的语义和详细用法,请执行 `apt-gen-list help` 查看帮助。 - -### 手动修改 - -修改 `/etc/apt/sources.list`,内容为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2019-02-15-grafana.md b/help/_posts/2019-02-15-grafana.md deleted file mode 100644 index c1a9b0f..0000000 --- a/help/_posts/2019-02-15-grafana.md +++ /dev/null @@ -1,168 +0,0 @@ ---- -category: help -layout: help -mirrorid: grafana ---- - - - -# Grafana 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - -### Debian / Ubuntu 用户 - -首先信任 https://apt.grafana.com/ 的 GPG 公钥: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -确保你的 apt 支持 HTTPS: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -选择你希望安装的 Grafana 版本(与你的 Debian/Ubuntu 系统版本无关),文本框中内容写进 `/etc/apt/sources.list.d/grafana.list` - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -安装 Grafana - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### Centos / Redhat 用户 - -新建 `/etc/yum.repos.d/grafana.repo`,内容为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -如果要避免安装 beta 版本,需要新增一行 - -```ini -exclude=*beta* -``` - -再执行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2019-02-15-rustup.md b/help/_posts/2019-02-15-rustup.md deleted file mode 100644 index ba5df9b..0000000 --- a/help/_posts/2019-02-15-rustup.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -category: help -layout: help -mirrorid: rustup ---- - - - -# Rustup 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -[Rustup](https://rustup.rs/) 是 Rust 官方的跨平台 Rust 安装工具。 - -镜像站只会保留一段时间的 nightly,如果在安装时出现错误,请用 `RUSTUP_DIST_SERVER= rustup ...` 来使用官方源。 - -使用 rustup 安装 rust 时,若要启用镜像源,执行: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -若要长期启用镜像源,执行: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -注:rustup 在判断是否需要更新时依赖于 toml 的 sha256,由于 toml 内容中相关链接被替换为镜像源,第一次切换到镜像源时各个 channel 会被认为需要更新。 - diff --git a/help/_posts/2019-02-17-nix.md b/help/_posts/2019-02-17-nix.md deleted file mode 100644 index 3819ac2..0000000 --- a/help/_posts/2019-02-17-nix.md +++ /dev/null @@ -1,97 +0,0 @@ ---- -category: help -layout: help -mirrorid: nix ---- - - - -# Nix 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -[Nix](https://nixos.org/nix) 是一个支持 Linux 和 macOS 的独特的“函数式包管理器”,具有原子更新、依赖隔离、构建尽可能可复现等特点。 - -[Nixpkgs](https://nixos.org/nixpkgs) 是 Nix 包管理器对应的软件发行版,使用 Nix 函数式语言编写,除软件包外提供用于软件定制、构建、开发环境配置的工具。 - -[NixOS](https://nixos.org) 是一个基于 Nix 和 Nixpkgs 的 GNU/Linux 发行版。在 Nixpkgs 中的软件之上 NixOS 使用 Nix 语言提供了声明式的系统配置,实现系统完整可复现、版本快速切换等功能。 - -### Nix - -细节内容,请参见 Nix 文档中的 [Installing a Binary Distribution](https://nixos.org/nix/manual/#ch-installing-binary) 一节。 - -- 单用户安装 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -- 多用户安装: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -如果需要,可以在文件列表中手动挑选需要的版本 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2019-02-25-dart-pub.md b/help/_posts/2019-02-25-dart-pub.md deleted file mode 100644 index ffd91d1..0000000 --- a/help/_posts/2019-02-25-dart-pub.md +++ /dev/null @@ -1,79 +0,0 @@ ---- -category: help -layout: help -mirrorid: dart-pub ---- - - - -# Dart Pub 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -[Pub](https://pub.dartlang.org/) 是 Dart 官方的包管理器。跨平台的前端应开发 -框架 [Flutter](https://flutter.dev/) 也基于 Dart 并且可以使用大部分 Pub 中的 -库。 - -如果希望通过 pub 镜像安装软件,只需要设置 [PUB_HOSTED_URL](https://www.dartlang.org/tools/pub/environment-variables) - -以 bash 为例,临时使用镜像来安装依赖: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -若希望长期使用镜像: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -Flutter 镜像使用方法参见 [Flutter 镜像安装帮助](/help/flutter)。 - diff --git a/help/_posts/2019-03-18-arch4edu.md b/help/_posts/2019-03-18-arch4edu.md deleted file mode 100644 index cfaec27..0000000 --- a/help/_posts/2019-03-18-arch4edu.md +++ /dev/null @@ -1,86 +0,0 @@ ---- -category: help -layout: help -mirrorid: arch4edu ---- - - - -# Arch4edu 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -Arch4edu 是面向高校用户推出的非官方软件仓库, -支持 Arch Linux 和 Arch Linux ARM, -主要包含高校用户常用的科研、教学及开发软件。 - -### 使用方法 - -* 导入 GPG key - -``` -pacman-key --recv-keys 7931B6D628C8D3BA -pacman-key --finger 7931B6D628C8D3BA -pacman-key --lsign-key 7931B6D628C8D3BA -``` - -* 在 `/etc/pacman.conf` 文件末尾添加以下内容: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -* [**不推荐**] 不导入 GPG key,并直接在 `/etc/pacman.conf` 文件末尾添加以下内容: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2019-05-03-qubesos.md b/help/_posts/2019-05-03-qubesos.md deleted file mode 100644 index e41e9d6..0000000 --- a/help/_posts/2019-05-03-qubesos.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -category: help -layout: help -mirrorid: qubesos ---- - - - -# Qubes OS 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -[Qubes OS](https://www.qubes-os.org/) 是一个面向安全的操作系统。 -它使用一种叫做*隔离保证安全* (security by compartmentalization) 的理念,采用虚拟化技术隔离各个应用来保证安全。 - -### 使用方法 - -#### R4.1 及以上 - -在 `/etc/dnf/dnf.conf` 中添加 `fastestmirror=True` - -#### R4.0 及以下 - -每次使用 `qubes-dom0-update --setopt=fastestmirror=True` 更新 - -或者不想使用上述命令,您可以使用如下方法 -对于 `/etc/yum.repos.d` 下的 `qubes-*.repo`: -1. 用`#`注释掉所有的 `metalink` -2. 将 `baseurl` 中的 `https://yum.qubes-os.org/` 替换为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -并取消这些 `baseurl` 的注释 - diff --git a/help/_posts/2019-06-25-solus.md b/help/_posts/2019-06-25-solus.md deleted file mode 100644 index bfd2c05..0000000 --- a/help/_posts/2019-06-25-solus.md +++ /dev/null @@ -1,96 +0,0 @@ ---- -category: help -layout: help -mirrorid: solus ---- - - - -# Solus 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -Solus 是一个界面美观,对新手友好的 Linux 发行版,使用 `eopkg` 作为包管理器。 - -* 项目地址:https://getsol.us - -### 使用方法 - -执行以下命令 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -此后,之行以下命令以启用 Mirror 源,禁用官方源 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -或者用 Mirror 源直接覆盖官方源 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -关于 `eopkg` 命令的详细用法,请执行 `eopkg help` 查看帮助。 - diff --git a/help/_posts/2019-07-23-kicad.md b/help/_posts/2019-07-23-kicad.md deleted file mode 100644 index 387fd4d..0000000 --- a/help/_posts/2019-07-23-kicad.md +++ /dev/null @@ -1,121 +0,0 @@ ---- -category: help -layout: help -mirrorid: kicad ---- - - - -# KiCad 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -[KiCad](http://kicad.org/) 一个跨平台的开源电子设计自动化套件。 - -### KiCad 镜像目录使用说明 - -#### KiCad 镜像目录说明 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -目录 | 说明 | 备注 ------------|----------|--------- -appimage/ |appimage 安装包|chmod +x \*.AppImage && ./*.AppImage -archive/ |压缩文件 | 旧文件 -docs/ |发行版的文档手册 | 包含 HTML、PDF、EPUB -doxygen/ |KiCad 开发配置 | 详细开发手册 -doxygen-python/ |KiCad Python 开发配置 | 详细开发手册 -libraries/ |封装库和集成库 | 发行版本的封装库和集成库 -osx/ | KiCad OSX 版本目录 | 包含稳定版、夜间版和测试版 -windows/ | KiCad Windows 版本目录 | 包含稳定版、夜间版和测试版 -cleanup.sh | 清理脚本 |无 -favicon.ico |图标 |无 -list.js |JS 脚本 |无 - - -#### Windows 下载安装 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -目录 | 说明 | 备注 ------------|----------|--------- -nightly/ | 夜间构建版本 | 无 -stable/ | 发行版本 | 看版本号选择合适的下载 -testing/ | 测试版本 | 选择对应分支下载测试 - -#### OS X 下载安装 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -目录 | 说明 | 备注 ------------|----------|--------- -nightly/ | 夜间构建版本 | 无 -stable/ | 发行版本 | 看版本号选择合适的下载 -testing/ | 测试版本 | 选择对应分支下载测试 - - - diff --git a/help/_posts/2020-03-06-tlpretest.md b/help/_posts/2020-03-06-tlpretest.md deleted file mode 100644 index 070bd7b..0000000 --- a/help/_posts/2020-03-06-tlpretest.md +++ /dev/null @@ -1,77 +0,0 @@ ---- -category: help -layout: help -mirrorid: tlpretest ---- - - - -# TeXLive Pretest 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -tlpretest 是 TeX Live 在官方镜像之外发布的测试版本,详情可见 [官方介绍](https://www.tug.org/texlive/pretest.html)。 - -在 TeX Live 官方版更新冻结期间(通常为每年 2 到 4 月),用户可以通过 tlpretest 提前获得新版本的 TeX Live 及其包含的宏包更新。 - -在命令行中执行: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -即可永久更改镜像源。 - -如果只需要临时切换,可以用如下命令: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -其中的 `update --all` 指令可根据需要修改。 - diff --git a/help/_posts/2020-09-10-llvm-project.git.md b/help/_posts/2020-09-10-llvm-project.git.md deleted file mode 100644 index e7bb179..0000000 --- a/help/_posts/2020-09-10-llvm-project.git.md +++ /dev/null @@ -1,99 +0,0 @@ ---- -category: help -layout: help -mirrorid: llvm-project.git ---- - - - -# LLVM Project Git 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -本镜像镜像了如下仓库: - -``` -https://github.com/llvm/llvm-project.git -``` - -如需克隆代码,使用 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -由于仓库体积均较大,执行`git clone`可能需要较长时间,并且没有进度提示,请耐心等候。 - -若要将 mirror 加入已有代码库,可在已有仓库中运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -或运行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -将默认上游设置为镜像站 - -注:如需要各个子项目的发布版本代码,请至 [GitHub Release 镜像](/help/github-release) 中 llvm-project 一节。 - diff --git a/help/_posts/2021-01-01-ceph.md b/help/_posts/2021-01-01-ceph.md deleted file mode 100644 index 06bdffe..0000000 --- a/help/_posts/2021-01-01-ceph.md +++ /dev/null @@ -1,75 +0,0 @@ ---- -category: help -layout: help -mirrorid: ceph ---- - - - -# Ceph 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -[Ceph](https://ceph.io/) 是一个开源软件存储平台,在单个分布式计算机集群上实现对象存储。 - - -请参考[Ceph 官方安装教程](https://docs.ceph.com/en/latest/install/get-packages/),只需要把文档中出现的 `download.ceph.com` 替换为以下链接即可。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -以 Debian Buster 为例,举例如下: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2021-03-11-opensuse.md b/help/_posts/2021-03-11-opensuse.md deleted file mode 100644 index 48fa23c..0000000 --- a/help/_posts/2021-03-11-opensuse.md +++ /dev/null @@ -1,193 +0,0 @@ ---- -category: help -layout: help -mirrorid: opensuse ---- - - - -# openSUSE 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -openSUSE 项目是一个由 Novell 赞助的社区项目。该项目旨在推进 Linux 的广泛应用,提供自由、易于入手和美观实用的 openSUSE Linux 发行版。openSUSE 使用 `zypper` 作为包管理器。 - -openSUSE 默认使用 [MirrorBrain](https://zh.opensuse.org/MirrorBrain) 技术统一镜像入口,通过在下载时自动分配镜像站点,从而给用户提供更好的安全性,通常情况下使用默认配置即可。 - -由于使用 MirrorBrain 需要从位于德国的 openSUSE 主服务器上获取元信息,所以若在使用默认软件源时获取元信息较慢,可以使用镜像软件源替换默认软件源。 - -### openSUSE Leap 15.2 或更新版本使用方法 - -禁用官方软件源 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -添加镜像源 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -Leap 15.3 用户还需添加 sle 和 backports 源 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -Leap 15.3 注:若在安装时**没有**启用在线软件源,sle 源和 backports 源将在系统首次更新后引入,请确保系统在更新后仅启用了**六个**所需软件源。可使用 `zypper lr` 检查软件源状态,并使用 `zypper mr -d` 禁用多余的软件源。 - -### openSUSE Tumbleweed 使用方法 - -禁用官方软件源 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -添加镜像源 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -刷新软件源 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -Tumbleweed 注:Tumbleweed 安装后默认会启用 oss, non-oss, update, 3 个官方软件源, -其中 oss 及 non-oss 源用于发布 Tumbleweed 的每日构建快照,快照中已包含系统所需的全部软件包及更新。 -update 源仅用于推送临时安全补丁,如当日快照已发布但仍有临时安全补丁时,会首先推送至 update 源,并在次日合入下一版快照。 -由于 update 源存在较强的时效性,上游镜像并未同步 update 源,镜像源亦无法提供该源的镜像。 -禁用 update 源并不会使系统缺失任何功能或安全更新,仅会导致极少数更新晚些推送,如有需求可以重新启用官方 update 源。 - -## 图形界面下配置方法 - -以 openSUSE Leap 15.3 为例: - -1. 打开 YaST; -2. 点击 Software 分组中的 Software Repositories; -3. 在打开的窗口上方的列表中点击 Main Repository,点击 Edit; -4. 将 download.opensuse.org 替换为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - 点 OK; -5. 再用同样的方法编辑 Non-OSS Repository, Main Update Repository, Update Repository (Non-Oss) 和 Update repository with updates from SUSE Linux Enterprise 15。 - - diff --git a/help/_posts/2021-05-25-influxdata.md b/help/_posts/2021-05-25-influxdata.md deleted file mode 100644 index dae9f63..0000000 --- a/help/_posts/2021-05-25-influxdata.md +++ /dev/null @@ -1,129 +0,0 @@ ---- -category: help -layout: help -mirrorid: influxdata ---- - - - -# Influxdata 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -本目录是 `influxdb` , `telegraf` 等时序型数据库的相关组件的镜像软件源。 - -### Debian / Ubuntu 用户 - -首先信任来自 [influxdata](https://docs.influxdata.com/telegraf/v1.18/introduction/installation/) 的 PGP 公钥: - -_注:Influxdata 在 2023-01-26 使用了新的 GPG 密钥,详情可参考[此处](https://www.influxdata.com/blog/linux-package-signing-key-rotation/)_ - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -将下方文本框中的内容写入 `/etc/apt/sources.list.d/influxdata.list` - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -即可安装相关软件,如: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### CentOS / RedHat 用户 - -新建 `/etc/yum.repos.d/influxdata.repo`,内容为 - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2021-07-14-ubuntu-cloud-images.md b/help/_posts/2021-07-14-ubuntu-cloud-images.md deleted file mode 100644 index f426b59..0000000 --- a/help/_posts/2021-07-14-ubuntu-cloud-images.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -category: help -layout: help -mirrorid: ubuntu-cloud-images ---- - - - -# Ubuntu Cloud Images 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -收录官方的云 Ubuntu 镜像,由 Canonical 定制,提供 Ubuntu 认证镜像,可 Openstack、LXD 等的公共云上运行。 - -收录官方对 KVM,Hyper-v,XEN 等虚拟结构的官方定制镜像 - -使用以下链接进行查找所需要的镜像 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - diff --git a/help/_posts/2021-12-23-qt.md b/help/_posts/2021-12-23-qt.md deleted file mode 100644 index 2b5be2a..0000000 --- a/help/_posts/2021-12-23-qt.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -category: help -layout: help -mirrorid: qt ---- - - - -# Qt 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -通过以下链接下载在线安装器 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -通过 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -使用该镜像。 - diff --git a/help/_posts/2022-01-07-erlang-solutions.md b/help/_posts/2022-01-07-erlang-solutions.md deleted file mode 100644 index cb53c1d..0000000 --- a/help/_posts/2022-01-07-erlang-solutions.md +++ /dev/null @@ -1,166 +0,0 @@ ---- -category: help -layout: help -mirrorid: erlang-solutions ---- - - - -# Erlang Solutions 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -### Debian/Ubuntu 用户 - -首先信任 erlang-solutions 的 GPG 公钥: - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -再选择你的 Debian / Ubuntu 版本,文本框中内容写进 `/etc/apt/sources.list.d/erlang-solutions.list` - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -安装 `erlang` 即可 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### CentOS 用户 - -首先信任 erlang-solutions 的 GPG 公钥: - -```bash -{{sudo}}rpm --import https://packages.erlang-solutions.com/rpm/erlang_solutions.asc -``` - -新建 `/etc/yum.repos.d/erlang-solutions.repo`,内容为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -刷新缓存并安装 `erlang` 即可。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2022-01-08-ohmyzsh.git.md b/help/_posts/2022-01-08-ohmyzsh.git.md deleted file mode 100644 index db9cc91..0000000 --- a/help/_posts/2022-01-08-ohmyzsh.git.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -category: help -layout: help -mirrorid: ohmyzsh.git ---- - - - -# ohmyzsh Git 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -### 安装 - -在本地克隆后获取安装脚本。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### 切换已有 ohmyzsh 至镜像源 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2022-07-23-llvm-apt.md b/help/_posts/2022-07-23-llvm-apt.md deleted file mode 100644 index cef3716..0000000 --- a/help/_posts/2022-07-23-llvm-apt.md +++ /dev/null @@ -1,147 +0,0 @@ ---- -category: help -layout: help -mirrorid: llvm-apt ---- - - - -# LLVM APT 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -### 安装脚本 - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### 手动启用 - -首先信任来自 https://apt.llvm.org/ 的 PGP 公钥: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -新增 `/etc/apt/sources.list.d/llvm-apt.list`,内容为 - - - -
-
- - -
-
- -
-
- - -
-
- -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - diff --git a/help/_posts/2022-08-03-bazel-apt.md b/help/_posts/2022-08-03-bazel-apt.md deleted file mode 100644 index afe806f..0000000 --- a/help/_posts/2022-08-03-bazel-apt.md +++ /dev/null @@ -1,72 +0,0 @@ ---- -category: help -layout: help -mirrorid: bazel-apt ---- - - - -# Bazel APT 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -使用以下命令启用 bazel-apt 仓库 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -使用以下命令安装 bazel - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2022-08-03-wine-builds.md b/help/_posts/2022-08-03-wine-builds.md deleted file mode 100644 index b23b202..0000000 --- a/help/_posts/2022-08-03-wine-builds.md +++ /dev/null @@ -1,122 +0,0 @@ ---- -category: help -layout: help -mirrorid: wine-builds ---- - - - -# Wine builds 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -由于上游并未提供 rsync,镜像站只同步了 ubuntu/debian 部分。 - -首先启用 32 位架构 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -之后信任来自 https://dl.winehq.org/ 的公钥 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -新增 `/etc/apt/sources.list.d/winehq.list`,内容为 - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -通过以下命令安装 winehq - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2022-08-22-elasticsearch.md b/help/_posts/2022-08-22-elasticsearch.md deleted file mode 100644 index ffb392e..0000000 --- a/help/_posts/2022-08-22-elasticsearch.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -category: help -layout: help -mirrorid: elasticstack ---- - - - -# Elastic Stack 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -[Elasticsearch](https://www.elastic.co/cn/what-is/elasticsearch) 是位于 Elastic Stack 核心的分布式搜索和分析引擎。 - -请参考[elasticsearch 官方安装教程](https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html)。 - -以 Debian/Ubuntu 安装为例,举例如下: - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2022-09-05-entware.md b/help/_posts/2022-09-05-entware.md deleted file mode 100644 index ac9eef8..0000000 --- a/help/_posts/2022-09-05-entware.md +++ /dev/null @@ -1,75 +0,0 @@ ---- -category: help -layout: help -mirrorid: entware ---- - - - -# Entware 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -Entware 使用 opkg 来管理其软件包,只需修改 opkg 配置文件中的软件源地址,就可以使用镜像来下载软件包。 - -按照官方 Wiki 中的教程安装好 entware 后,使用 `sed` 命令即可将软件源地址替换为本镜像站。 - -替换后,请运行 `opkg update` 命令,更新软件包 feed。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -如果系统没有 sed 命令,可以手动编辑 `/opt/etc/opkg.conf` 文件,编辑时请注意自己设备的处理器架构。 -例如: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2022-09-22-pkgsrc.git.md b/help/_posts/2022-09-22-pkgsrc.git.md deleted file mode 100644 index 67ab634..0000000 --- a/help/_posts/2022-09-22-pkgsrc.git.md +++ /dev/null @@ -1,95 +0,0 @@ ---- -category: help -layout: help -mirrorid: pkgsrc.git ---- - - - -# pkgsrc Git 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -**注:该镜像是 pkgsrc 源码安装的镜像。本镜像站同时提供 pkgsrc 其他功能的镜像(如二进制包,distfile 等,不包含 joyent 内容),请参考 [pkgsrc 镜像使用帮助](/help/pkgsrc)。** - -### 源码安装 - -对应[官方文档 getting-via-cvs](https://www.netbsd.org/docs/pkgsrc/pkgsrc.html#getting-via-cvs),本镜像站中 pkgsrc.git 镜像与官方文档中源的 CVS 架构不同,与[官方 git 镜像](https://github.com/NetBSD/pkgsrc)架构类似,故使用命令有所调整。 - -拉取特定稳定版镜像分支 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -拉取当前镜像分支 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### 源码更新 - -对应[官方文档 uptodate-cvs](https://www.netbsd.org/docs/pkgsrc/pkgsrc.html#uptodate-cvs),切换到 pkgsrc 目录,执行 - -```bash -git pull -``` - -#### 源码切换分支 -对应[官方文档 uptodate-cvs-switch](https://www.netbsd.org/docs/pkgsrc/pkgsrc.html#uptodate-cvs-switch),切换到 pkgsrc 目录 - -切换特定稳定版镜像分支 -```bash -git checkout pkgsrc-2021Q4 -``` -切换当前镜像分支 -```bash -git checkout trunk -``` - diff --git a/help/_posts/2022-11-14-kali.md b/help/_posts/2022-11-14-kali.md deleted file mode 100644 index f2e3100..0000000 --- a/help/_posts/2022-11-14-kali.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -category: help -layout: help -mirrorid: kali ---- - - - -# Kali 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -本镜像包含 amd64, arm64, armel, armhf, i386 架构处理器的软件包。 - -### 手动替换 -编辑 `/etc/apt/sources.list` 文件,在文件最前面添加以下条目: - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### sed 替换 - -执行如下命令 sed 替换 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2023-01-23-openbsd.md b/help/_posts/2023-01-23-openbsd.md deleted file mode 100644 index 914b262..0000000 --- a/help/_posts/2023-01-23-openbsd.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -category: help -layout: help -mirrorid: OpenBSD ---- - - - -# OpenBSD 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -编辑 `/etc/installurl` 文件为以下内容: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2023-01-30-netbsd.md b/help/_posts/2023-01-30-netbsd.md deleted file mode 100644 index d96d8b3..0000000 --- a/help/_posts/2023-01-30-netbsd.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -category: help -layout: help -mirrorid: NetBSD ---- - - - -# NetBSD 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -## pkgsrc - -参考 [pkgsrc 帮助](/help/pkgsrc)。 - -## sysupgrade - -升级 NetBSD 时,指定 sysupgrade 的下载地址为镜像源,以 NetBSD 9.3 amd64 为例: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2023-02-08-crates.io-index.md b/help/_posts/2023-02-08-crates.io-index.md deleted file mode 100644 index 1bf391b..0000000 --- a/help/_posts/2023-02-08-crates.io-index.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -category: help -layout: help -mirrorid: crates.io-index ---- - - - -# Rust crates.io 稀疏索引镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -编辑 `$CARGO_HOME/config` 文件,添加以下内容: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -注:`sparse+` 表示在使用稀疏索引,链接末尾的 `/` 不能缺少。 - -注:`$CARGO_HOME`:在 Windows 系统默认为:`%USERPROFILE%\.cargo`,在类 Unix 系统默认为:`$HOME/.cargo` - -在 Linux 环境可以使用下面的命令完成: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -截至目前,可以通过 `cargo +nightly -Z sparse-registry update` 使用稀疏索引。 - -cargo 1.68 版本开始支持稀疏索引:不再需要完整克隆 crates.io-index 仓库,可以加快获取包的速度。如果您的 cargo 版本大于等于 1.68,可以直接使用而不需要开启 nightly。 - diff --git a/help/_posts/2023-03-10-armbian.md b/help/_posts/2023-03-10-armbian.md deleted file mode 100644 index 0e7962f..0000000 --- a/help/_posts/2023-03-10-armbian.md +++ /dev/null @@ -1,77 +0,0 @@ ---- -category: help -layout: help -mirrorid: armbian ---- - - - -# Armbian 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -Armbian 是为 ARM 单板机提供的基于 Debian 和 Ubuntu 的操作系统。Armbian 仓库包括专用的 u-boot、内核及各种支持文件。 - -可以使用以下方法更换软件源: - -* 运行 `armbian-config` -> Personal -> Mirrors -> 选择镜像站。 -* 编辑 `/etc/apt/sources.list.d/armbian.list`,将 `http://apt.armbian.com` 替换为以下链接 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - 然后执行 `apt update`。 - - 这可以被以下命令完成 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2023-03-10-blackarch.md b/help/_posts/2023-03-10-blackarch.md deleted file mode 100644 index 77ea459..0000000 --- a/help/_posts/2023-03-10-blackarch.md +++ /dev/null @@ -1,80 +0,0 @@ ---- -category: help -layout: help -mirrorid: blackarch ---- - - - -# Black Arch 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -BlackArch 是一款基于 ArchLinux 的为渗透测试及安全研究人员开发的发行版,相当于 Arch 版的 BackTrack/Kali。 - -仓库地址:https://blackarch.org/blackarch/ - -## 使用说明 - -在 `/etc/pacman.conf` 文件末尾添加两行: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -由于一些软件依赖 32 位的库,需要取消掉 `/etc/pacman.conf` 中 `multilib` 的注释,详见 https://wiki.archlinux.org/index.php/Official_repositories#Enabling_multilib - -然后请安装 ``blackarch-keyring`` 包以导入 GPG key。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -注:Black Arch 软件源仅包含其打包的工具等软件。如果需要更换 Arch Linux 基础系统的软件源,请查看 [Arch Linux 帮助](/help/archlinux)。 - diff --git a/help/_posts/2023-03-10-clojars.md b/help/_posts/2023-03-10-clojars.md deleted file mode 100644 index 9ef1ca7..0000000 --- a/help/_posts/2023-03-10-clojars.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -category: help -layout: help -mirrorid: clojars ---- - - - -# Clojars 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -以 leiningen 为例,在项目根目录的 `project.clj` 中自己添加关键字 `:mirrors` - -然后以如下 map 格式添加源: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -### 极简示例 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -配置好后,在项目的根目录下运行 `lein run`,从输出中可以看到一些包是从镜像站下载的。 - -### 注意事项 - -此镜像源替换的只是 clojars 这个仓库,一些 maven 的包依然会从 central maven 仓库下载。 - -上述方法只针对单个项目生效。如果要针对所有项目进行全局配置,需修改 leiningen 的 `profiles` 。 - -在 `~/.lein/projfiles.clj` 中添加: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -leiningen 会提示说 `:repositories` 写在了 `:user` 中,不过不影响使用。 - diff --git a/help/_posts/2023-03-10-debian-multimedia.md b/help/_posts/2023-03-10-debian-multimedia.md deleted file mode 100644 index 291a4ed..0000000 --- a/help/_posts/2023-03-10-debian-multimedia.md +++ /dev/null @@ -1,108 +0,0 @@ ---- -category: help -layout: help -mirrorid: debian-multimedia ---- - - - -# Deb Multimedia 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -Debian 第三方多媒体软件源 - -该项目以前的名字为 Debian Multimedia,现改名为 Deb Multimedia。注意这不是 Debian 官方项目, -是为 deb-multimedia.org 的镜像,与 Debian 官方的 Multimedia 小组的区别见 -https://wiki.debian.org/DebianMultimedia/FAQ - -在 `/etc/apt/sources.list` 中加入 - - - -
-
- - -
-
- -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -更改完 `sources.list` 文件后请导入 deb-multimedia-keyring - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -然后更新索引以生效。 - - diff --git a/help/_posts/2023-03-10-eclipse.md b/help/_posts/2023-03-10-eclipse.md deleted file mode 100644 index 9c8e450..0000000 --- a/help/_posts/2023-03-10-eclipse.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -category: help -layout: help -mirrorid: eclipse ---- - - - -# Eclipse 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -以 Luna 为例,点击 `Help` → `Install New Software...` → -`Available Software Sites` 可以看到所有的更新源,将其中的 -`https://download.eclipse.org` 全部替换成以下链接即可。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - -### 基本配置 - -#### Vim-like 快捷键绑定 - -详见 http://vrapper.sourceforge.net/home/ - -#### 离线 Java API - -详见 -http://stackoverflow.com/questions/4664007/off-line-java-api-documentation-in-eclipse - diff --git a/help/_posts/2023-03-10-kodi.md b/help/_posts/2023-03-10-kodi.md deleted file mode 100644 index 34a0c30..0000000 --- a/help/_posts/2023-03-10-kodi.md +++ /dev/null @@ -1,166 +0,0 @@ ---- -category: help -layout: help -mirrorid: kodi ---- - - - -# Kodi 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -## 镜像目录结构 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -* `addons` 官方插件库 -* `apt` iOS 版 Kodi 安装源 -* `build-deps` 编译 Kodi 依赖的其他开源项目代码 -* `nightlies` 与 Kodi 开发主分支同步编译的每日开发版安装包下载目录 -* `releases` Kodi 稳定版安装包下载目录(含 Beta 版和 RC 版) -* `snapshots` Kodi 每月发布的 Alpha 版安装包下载目录 -* `tools` Kodi 相关的工具软件(Kora 遥控软件) - -## Kodi 简介 - -Kodi(前身是 -XBMC)媒体中心,是一个屡获殊荣的自由和开源的跨平台媒体播放器和用于 -HTPC(Home theater PC,家庭影院 -PC)的数字媒体娱乐中心软件。它使用遥控器作为主输入设备,针对 3 -米左右观看距离而设计的用户界面,成为适应客厅使用的媒体播放器。它的图形用户界面让用户轻按遥控,就能方便地从硬盘、光盘、局域网和互联网浏览和观看视频、图片,收听广播和音乐。Kodi -项目由非营利的 XBMC -基金会管理,并由分布在世界各地的志愿者参与开发。自从它于 2003 -年诞生以来,超过 500 名软件开发人员对 Kodi 作出贡献,并有 60 -名核心开发人员。另外,还有 200 -多名翻译人员在帮助它扩大影响范围,使它支持多达 72 种语言。 - -Kodi(当时叫“Xbox Media Center”)最初是作为第一代 Xbox -游戏机(现在已不支持)的一个媒体中心应用而开发的,而现在已经正式以原生应用运行于 -Android、Linux、Mac OS X、iOS 和 Windows -操作系统,并支持主流的处理器架构。 - -## 使用说明 - -### Kodi 安装 - -#### Windows、Android 平台 - -从镜像站相应目录下载你所需要版本的安装包安装即可。 - -#### Mac OSX 平台 - -从镜像站相应目录下载 `.dmg` 磁盘镜像文件,在 OSX -系统下装载此镜像文件后,可用鼠标将 Kodi 应用拖到“应用”文件夹即完成安装。 - -#### iOS 平台 - -需要先越狱,然后通过 Cydia 安装。 - -- 第一步:在已越狱的 iPhone 手机或 iPad 主屏幕上点击 Cydia 图标 - -- 第二步:选择“软件源 → 编辑 → 添加” - -- 第三步:在弹出的录入框输入 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -- 第四步:点击刚增加的 teamKodi 源 - -- 第五步:选择安装 Kodi-iOS - -### 插件库使用 - -可以使用此镜像服务器来访问 Kodi -官方插件库,避免因网络访问的问题而无法正常安装使用插件。需要编辑 Kodi -安装目录中的 addons/repository.xbmc.org/addon.xml 文件。将其中所有 -`http://mirrors.kodi.tv/` 替换为 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -### 编译依赖项目下载 - -开发人员或者想自行从源代码编译 Kodi -的,可以使用此镜像服务器下载依赖项目。方法是在运行 DownloadBuildDeps.bat -批处理文件前先在命令行执行 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - diff --git a/help/_posts/2023-03-10-manjaro.md b/help/_posts/2023-03-10-manjaro.md deleted file mode 100644 index ff2046d..0000000 --- a/help/_posts/2023-03-10-manjaro.md +++ /dev/null @@ -1,96 +0,0 @@ ---- -category: help -layout: help -mirrorid: manjaro ---- - - - -# Manjaro 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -包含架构:`i686`, `x86_64`, `aarch64` - -目前 AArch64 (ARM) 架构的 manjaro 源位于主源,manjaro-arm 镜像上游已不再更新。 - -使用说明 -======== - -生成可用中国镜像站列表: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -勾选 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -然后按 ``OK`` 键两次。 - -最后刷新缓存: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2023-03-10-nix-channels.md b/help/_posts/2023-03-10-nix-channels.md deleted file mode 100644 index ec7c4dc..0000000 --- a/help/_posts/2023-03-10-nix-channels.md +++ /dev/null @@ -1,210 +0,0 @@ ---- -category: help -layout: help -mirrorid: nix-channels ---- - - - -# Nix Channels 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -### Nixpkgs binary cache - -目前并未提供 nix-darwin 的 binary cache,请使用官方源或 SJTUG。 - -#### 持久配置 - -以优先选择镜像,备选源站为例,选择以下配置之一: - -- 单独安装的 Nix:编辑配置文件添加或修改如下项(多用户安装修改 `/etc/nix/nix.conf`,单用户安装修改 `~/.config/nix/nix.conf`): - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -- NixOS 21.11 及之前的版本在 `configuration.nix` 中使用如下配置(https://cache.nixos.org 会被自动添加) - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -- NixOS 22.05 及之后的版本在 `configuration.nix` 中使用如下配置(https://cache.nixos.org 会被自动添加): - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - 如果因为无法访问 https://cache.nixos.org 等原因,希望避免自动添加该默认地址,请在配置中使用`lib.mkForce`。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -#### 临时使用 - -在安装 NixOS 时临时使用: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -在 NixOS 切换配置时临时使用: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -临时关闭可以通过清空 substituters 实现: - -```shell -nixos-rebuild --options substituters "" -``` - -### Nixpkgs channel - -单独安装的 Nix 替换 `nixpkgs-unstable` 命令如下: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -替换 NixOS channel 命令如下(以 root 执行): - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2023-03-19-nixpkgs.git.md b/help/_posts/2023-03-19-nixpkgs.git.md deleted file mode 100644 index e4e72dd..0000000 --- a/help/_posts/2023-03-19-nixpkgs.git.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -category: help -layout: help -mirrorid: nixpkgs.git ---- - - - -# Nixpkgs 镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -nixpkgs 镜像,同步源为 [https://github.com/NixOS/nixpkgs](https://github.com/NixOS/nixpkgs). - -### 克隆仓库 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - - diff --git a/help/_posts/2023-03-30-raspberrypi.md b/help/_posts/2023-03-30-raspberrypi.md deleted file mode 100644 index 1dd92df..0000000 --- a/help/_posts/2023-03-30-raspberrypi.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -category: help -layout: help -mirrorid: raspberrypi ---- - - - -# Raspberrypi 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -主要参考 [Raspbian 帮助](/help/raspbian) - -编辑 `/etc/apt/sources.list.d/raspi.list` 文件。 - - - -
-
- - -
-
- -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - diff --git a/help/_posts/2023-05-17-centos-stream.md b/help/_posts/2023-05-17-centos-stream.md deleted file mode 100644 index 871281c..0000000 --- a/help/_posts/2023-05-17-centos-stream.md +++ /dev/null @@ -1,439 +0,0 @@ ---- -category: help -layout: help -mirrorid: centos-stream ---- - - - -# CentOS Stream 软件仓库镜像使用帮助 - -
-
- - -
-
- - -
-
- - -
-
- - - -该文件夹只提供 CentOS Stream 9,如果需要非 Stream 版的 CentOS,请参考 [centos 的帮助](/help/centos)。 - -CentOS Stream 9 默认启用了包管理工具 dnf,其是 yum 包管理工具的替代品。dnf 与 yum 大部分的命令都是通用的,dnf 也使用 `/etc/yum.repos.d/` 进行镜像配置。 - -CentOS Stream 9 中源被整合入两个文件 `centos.repo` 和 `centos-addons.repo`,由于文件中不包含 `baseurl` 字段,需要手动插入,通过文本替换修改源的方法较为复杂,也可以选择直接复制最后的替换结果覆盖源文件。 - -### 文本替换 - -将这段代码保存为一个文件,例如 `update_mirror.pl`。 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -然后,在命令行中使用以下命令来执行它: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -注意将 `/tmp/update_mirror.pl` 替换为脚本实际保存的路径。其中的 `*` 通配符,如果只需要替换一些文件中的源,请自行增删。 - -另外,请确保已经安装了 Perl 解释器,并将 `perl` 命令添加到系统的 `PATH` 环境变量中。这样才能在命令行中运行 Perl 脚本。 - -对于大部分 CentOS Stream 9 镜像,应该已经包含了 Perl 解释器,如果你的镜像没有包含,你可以使用以下命令简单的安装: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -最后,更新软件包缓存 - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -注意,如果需要启用其中一些 repo,需要将其中的 `enabled=0` 改为 `enabled=1`。 - -**注:截至 2023-05-16,并未在官方源与镜像源中发现 nfv-source,建议不要开启 nfv-source。** - -### 修改结果 - -你可以对照替换结果是否准确,或直接复制结果覆盖源文件。 - -`centos.repo`: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- - -`centos-addons.repo`: - - - -{% raw %} - -{% endraw %} - -

- -
-
-
-
- -