mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
update
fix readme.md typo add command for replacing http://.*archive.ubuntu.com and http://.*security.ubuntu.com to https://{{ site.hostname }}
This commit is contained in:
parent
e100be58ca
commit
4effde3123
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -52,3 +52,11 @@ deb https://{%endraw%}{{ site.hostname }}{%raw%}/ubuntu/ {{release_name}}-securi
|
|||
</pre>
|
||||
|
||||
本镜像仅包含 32/64 位 x86 架构处理器的软件包,在 ARM(arm64, armhf)、PowerPC(ppc64el)、RISC-V(riscv64) 和 S390x 等架构的设备上(对应官方源为ports.ubuntu.com)请使用 [ubuntu-ports 镜像](https://{{ site.hostname }}/ubuntu-ports/)。
|
||||
|
||||
|
||||
执行如下命令自动替换
|
||||
```
|
||||
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