Skip to content

Commit

Permalink
contents(loongarch): Add
Browse files Browse the repository at this point in the history
Closes: #143
  • Loading branch information
taoky committed Sep 15, 2024
1 parent ddebe7f commit 6907034
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
29 changes: 29 additions & 0 deletions contents/loongarch.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: Loong Arch Linux 软件仓库镜像使用帮助
cname: 'loongarch'
---

Loong Arch Linux 是为 LoongArch 架构移植的 ArchLinux 发行版,它遵循 Arch 的 K.I.S.S.原则,采用滚动升级模式,尽力为大多数软件提供最新的稳定版本。

Loong Arch Linux 可运行在龙芯 3A5000、3C5000(L)、3D5000 等处理器的机器上。以下帮助修改自 [Loong Arch Linux 镜像列表](https://loongarchlinux.org/pages/mirrorlist/)

软件包 `pacman-mirrorlist` 提供了预配置好的仓库镜像,您可通过以下命令来安装/升级:

<CodeBlock>
```bash
{{sudo}}pacman -Syu pacman-mirrorlist
```
</CodeBlock>

如需调整仓库,请编辑 `/etc/pacman.d/mirrorlist` 文件,对您想使用的镜像取消注释,并将其置于 mirrorlist 文件的最上方。或直接在该文件最顶端添加:

<CodeBlock
enableQuickSetup
filepath="/etc/pacman.d/mirrorlist"
>

```ini
Server = {{http_protocol}}{{mirror}}/archlinux/$repo/os/$arch
```

</CodeBlock>
6 changes: 6 additions & 0 deletions src/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,12 @@
"file": "llvm-project.git.mdx",
"cname": "llvm-project.git"
},
"/loongarch/": {
"title": "Loong Arch Linux 软件仓库",
"fullTitle": "Loong Arch Linux 软件仓库镜像使用帮助",
"file": "loongarch.mdx",
"cname": "loongarch"
},
"/lxc-images/": {
"title": "LXC Images",
"fullTitle": "LXC Images 镜像使用帮助",
Expand Down

0 comments on commit 6907034

Please sign in to comment.