mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
add opensuse-doc
This commit is contained in:
parent
93e876e54e
commit
2369be0384
|
|
@ -0,0 +1,61 @@
|
|||
---
|
||||
category: help
|
||||
layout: help
|
||||
mirrorid: opensuse
|
||||
---
|
||||
|
||||
## openSUSE 镜像使用帮助
|
||||
===================
|
||||
|
||||
openSUSE 项目是一个由 Novell 赞助的社区项目。该项目旨在推进 Linux 的广泛应用,提供自由、易于入手和美观实用的 openSUSE Linux 发行版。openSUSE 使用 `zypper` 作为包管理器。
|
||||
|
||||
* 项目地址:<https://www.opensuse.org>
|
||||
* 镜像地址:<https://{{ site.hostname }}/opensuse>
|
||||
|
||||
openSUSE 默认使用 [MirrorBrain](https://zh.opensuse.org/MirrorBrain) 技术统一镜像入口,通过在下载时自动分配镜像站点,从而给用户提供更好的安全性,通常情况下使用默认配置即可。
|
||||
|
||||
由于使用 MirrorBrain 需要从位于德国的 openSUSE 主服务器上获取元信息,所以若在使用默认软件源时获取元信息较慢,可以使用 TUNA 镜像软件源替换默认软件源。
|
||||
|
||||
### openSUSE Leap 15.0 或更新版本使用方法
|
||||
|
||||
禁用官方软件源
|
||||
|
||||
```shell
|
||||
sudo zypper mr -da
|
||||
```
|
||||
|
||||
添加 TUNA 镜像源
|
||||
|
||||
```shell
|
||||
sudo zypper ar -fcg https://{{ site.hostname }}/opensuse/distribution/leap/\$releasever/repo/oss/ tuna-oss
|
||||
sudo zypper ar -fcg https://{{ site.hostname }}/opensuse/distribution/leap/\$releasever/repo/non-oss/ tuna-non-oss
|
||||
sudo zypper ar -fcg https://{{ site.hostname }}/opensuse/update/leap/\$releasever/oss/ tuna-update-oss
|
||||
sudo zypper ar -fcg https://{{ site.hostname }}/opensuse/update/leap/\$releasever/non-oss/ tuna-update-non-oss
|
||||
```
|
||||
|
||||
刷新软件源
|
||||
|
||||
```shell
|
||||
sudo zypper ref
|
||||
```
|
||||
|
||||
### openSUSE Tumbleweed 使用方法
|
||||
|
||||
禁用官方软件源
|
||||
|
||||
```shell
|
||||
sudo zypper mr -da
|
||||
```
|
||||
|
||||
添加 TUNA 镜像源
|
||||
|
||||
```shell
|
||||
sudo zypper ar -fcg https://{{ site.hostname }}/opensuse/tumbleweed/repo/oss/ tuna-oss
|
||||
sudo zypper ar -fcg https://{{ site.hostname }}/opensuse/tumbleweed/repo/non-oss/ tuna-non-oss
|
||||
```
|
||||
|
||||
刷新软件源
|
||||
|
||||
```shell
|
||||
sudo zypper ref
|
||||
```
|
||||
Loading…
Reference in New Issue