mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Merge branch 'Sakaizd-master'
This commit is contained in:
commit
de87f6f050
|
|
@ -64,7 +64,7 @@ wget https://mirrors.tuna.tsinghua.edu.cn/static/status/isoinfo.json -O static/s
|
|||
|
||||
1. Fork 本项目并 clone
|
||||
2. 创建分支 `git checkout -b foo-doc`
|
||||
3. 在 `_posts/help` 中建立文档文件,文件名格式为 `年-月-日-名称.md`
|
||||
3. 在 `help/_post` 中建立文档文件,文件名格式为 `年-月-日-名称.md`
|
||||
4. 用 markdown 语法编写文档
|
||||
5. 提交并推送代码
|
||||
6. 发送 Pull Request
|
||||
|
|
|
|||
|
|
@ -7,6 +7,9 @@ mirrorid: ubuntu
|
|||
Ubuntu 镜像使用帮助
|
||||
===================
|
||||
|
||||
本镜像仅包含 32/64 位 x86 架构处理器的软件包,在 ARM(arm64, armhf)、PowerPC(ppc64el)、RISC-V(riscv64) 和 S390x 等架构的设备上(对应官方源为ports.ubuntu.com)请使用 [ubuntu-ports 镜像](https://{{ site.hostname }}/ubuntu-ports/)。
|
||||
|
||||
### 手动替换
|
||||
Ubuntu 的软件源配置文件是
|
||||
`/etc/apt/sources.list`。将系统自带的该文件做个备份,将该文件替换为下面内容,即可使用
|
||||
TUNA 的软件源镜像。
|
||||
|
|
@ -51,4 +54,14 @@ deb https://{%endraw%}{{ site.hostname }}{%raw%}/ubuntu/ {{release_name}}-securi
|
|||
</code>
|
||||
</pre>
|
||||
|
||||
本镜像仅包含 32/64 位 x86 架构处理器的软件包,在 ARM(arm64, armhf)、PowerPC(ppc64el)、RISC-V(riscv64) 和 S390x 等架构的设备上(对应官方源为ports.ubuntu.com)请使用 [ubuntu-ports 镜像](https://{{ site.hostname }}/ubuntu-ports/)。
|
||||
|
||||
|
||||
|
||||
|
||||
### 命令替换
|
||||
执行如下命令自动替换
|
||||
```bash
|
||||
sudo sed -i "s@http://.*archive.ubuntu.com@https://{{ site.hostname }}@g" /etc/apt/sources.list
|
||||
sudo sed -i "s@http://.*security.ubuntu.com@https://{{ site.hostname }}@g" /etc/apt/sources.list
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue