Skip to content

Commit

Permalink
update help doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sihuan committed Jan 13, 2024
1 parent 4a248b0 commit 4d865f1
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 19 deletions.
20 changes: 10 additions & 10 deletions site/help/archlinux.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ prev: false
next: false
---

# [Arch Linux](/archlinux) Mirror
# [Arch Linux](https://mirrors.sdust.edu.cn/archlinux/) 源使用帮助

## Introduction

[Arch Linux](https://manjaro.org/) is a famous rolling-release Linux distribution which follows the [KISS principle](https://en.wikipedia.org/wiki/KISS_principle).
## 介绍

## Configuration
[Arch Linux](https://archlinux.org) 是一个轻量的、灵活的 Linux 发行版,遵循 K.I.S.S. 原则。

Write the following line to `/etc/pacman.d/mirrorlist`:
## 使用说明

编辑 `/etc/pacman.d/mirrorlist`,在文件的最顶端添加

``` toml
Server = http://mirrors.sdust.edu.cn/archlinux/stable/$repo/os/$arch
Server = https://mirrors.sdust.edu.cn/archlinux/$repo/os/$arch
```

## Update Repository Indexes
::: tip
国内用户,推荐另外使用 Arch Linux CN 源,请参考 [Arch Linux CN 源使用帮助](https://mirrors.sdust.edu.cn/help/archlinuxcn.html)
:::

``` sh
sudo pacman -Syy
```
18 changes: 12 additions & 6 deletions site/help/archlinuxcn.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,29 @@ prev: false
next: false
---

# [Arch Linux CN](/archlinuxcn/) Mirror
# [Arch Linux CN](https://mirrors.sdust.edu.cn/archlinuxcn/) 源使用帮助

## Introduction
## 介绍

> [Arch Linux 中文社区仓库](https://www.archlinuxcn.org/archlinux-cn-repo-and-mirror/)是由 Arch Linux 中文社区驱动的非官方软件仓库,包含许多官方仓库未提供的额外的软件包,以及已有软件的 git 版本等变种。一部分软件包的打包脚本来源于 AUR,但也有许多包与 AUR 不一样。
[Arch Linux 中文社区仓库](https://www.archlinuxcn.org/archlinux-cn-repo-and-mirror/)是由 Arch Linux 中文社区驱动的非官方软件仓库,包含许多官方仓库未提供的额外的软件包,以及已有软件的 git 版本等变种。一部分软件包的打包脚本来源于 AUR,但也有许多包与 AUR 不一样。

## Configuration
## 使用指南

使用方法:在 `/etc/pacman.conf` 文件末尾添加以下两行:

``` toml
[archlinuxcn]
Server = http://mirrors.sdust.edu.cn/archlinuxcn/$arch
Server = https://mirrors.sdust.edu.cn/archlinuxcn/$arch
```

之后安装 `archlinuxcn-keyring` 包以导入 GPG key:

``` sh
pacman -Syu archlinuxcn-keyring
```
```

::: tip
新系统中安装 `archlinuxcn-keyring` 包前需要手动信任 `farseerfc` 的 key
具体公告请见:https://www.archlinuxcn.org/archlinuxcn-keyring-manually-trust-farseerfc-key/
:::

2 changes: 1 addition & 1 deletion site/help/debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ prev: false
next: false
---

# [Debian](/debian/) 镜像
# [Debian](https://mirrors.sdust.edu.cn/debian/) 源使用帮助

## 介绍

Expand Down
4 changes: 2 additions & 2 deletions site/help/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ prev: false
next: false
---

# [Ubuntu](/ubuntu/) 镜像
# [Ubuntu](https://mirrors.sdust.edu.cn/ubuntu/) 源使用帮助

## 介绍

Expand Down Expand Up @@ -32,4 +32,4 @@ sudo sed -i "s@http://.*archive.ubuntu.com@https://mirrors.sdust.edu.cn@g" /etc/

``` sh
sudo apt-get update
```
```

0 comments on commit 4d865f1

Please sign in to comment.