mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-03 16:00:26 +08:00
更新文档
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
<td align="center">all</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.raspberrypi.com" target="_blank"><sub><img src="docs/assets/images/icon/raspberry-pi.png" width="16" height="16"></sub></a> Raspberry Pi OS</td>
|
||||
<td><a href="https://www.raspberrypi.com/software" target="_blank"><sub><img src="docs/assets/images/icon/raspberry-pi.png" width="16" height="16"></sub></a> Raspberry Pi OS</td>
|
||||
<td align="center">all</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -382,24 +382,144 @@ const mirrorsTableData = [
|
||||
|
||||
// 表格列配置
|
||||
const mirrorsTableColumns = [
|
||||
{ colKey: 'name', title: '镜像站', align: 'left', width: '180', fixed: 'left' },
|
||||
{ colKey: 'ipv6', title: 'IPv6', align: 'center' },
|
||||
{ colKey: 'epel', title: 'EPEL', align: 'center', tooltip: 'Extra Packages for Enterprise Linux (EPEL) 是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版。' },
|
||||
{ colKey: 'archlinux', title: 'Arch Linux', align: 'center' },
|
||||
{ colKey: 'manjaro', title: 'Manjaro', align: 'center' },
|
||||
{ colKey: 'kalilinux', title: 'Kali Linux', align: 'center' },
|
||||
{ colKey: 'armbian', title: 'Armbian', align: 'center' },
|
||||
{ colKey: 'deepin', title: 'Deepin', align: 'center' },
|
||||
{ colKey: 'raspberry', title: 'Raspberry Pi OS', align: 'center', width: '130' },
|
||||
{ colKey: 'linuxmint', title: 'Linux Mint', align: 'center' },
|
||||
{ colKey: 'proxmox', title: 'Proxmox VE', align: 'center' },
|
||||
{ colKey: 'fedora', title: 'Fedora', align: 'center' },
|
||||
{ colKey: 'rockylinux', title: 'Rocky Linux', align: 'center' },
|
||||
{ colKey: 'almalinux', title: 'AlmaLinux', align: 'center' },
|
||||
{ colKey: 'opencloudos', title: 'OpenCloudOS', align: 'center', width: '120' },
|
||||
{ colKey: 'anolis', title: 'Anolis OS', align: 'center' },
|
||||
{ colKey: 'openkylin', title: 'openKylin', align: 'center' },
|
||||
{ colKey: 'alpinelinux', title: 'Alpine Linux', align: 'center' },
|
||||
{ colKey: 'gentoo', title: 'Gentoo', align: 'center' },
|
||||
{ colKey: 'nix', title: 'NixOS', align: 'center' },
|
||||
]
|
||||
{
|
||||
colKey: 'name',
|
||||
title: '镜像站',
|
||||
align: 'left',
|
||||
width: '180',
|
||||
fixed: 'left',
|
||||
},
|
||||
{
|
||||
colKey: 'ipv6',
|
||||
title: 'IPv6',
|
||||
align: 'center',
|
||||
width: '70',
|
||||
},
|
||||
{
|
||||
colKey: 'epel',
|
||||
title: 'EPEL',
|
||||
align: 'center',
|
||||
width: '90',
|
||||
tooltip: 'EPEL (Extra Packages for Enterprise Linux) 是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版。',
|
||||
},
|
||||
{
|
||||
colKey: 'archlinux',
|
||||
title: 'Arch Linux',
|
||||
align: 'center',
|
||||
width: '120',
|
||||
},
|
||||
{
|
||||
colKey: 'manjaro',
|
||||
title: 'Manjaro',
|
||||
align: 'center',
|
||||
width: '100',
|
||||
},
|
||||
{
|
||||
colKey: 'kalilinux',
|
||||
title: 'Kali Linux',
|
||||
align: 'center',
|
||||
width: '110',
|
||||
},
|
||||
{
|
||||
colKey: 'armbian',
|
||||
title: 'Armbian',
|
||||
align: 'center',
|
||||
width: '100',
|
||||
},
|
||||
{
|
||||
colKey: 'deepin',
|
||||
title: 'Deepin',
|
||||
align: 'center',
|
||||
width: '90',
|
||||
},
|
||||
{
|
||||
colKey: 'raspberry',
|
||||
title: 'Raspberry Pi OS',
|
||||
align: 'center',
|
||||
width: '150',
|
||||
},
|
||||
{
|
||||
colKey: 'linuxmint',
|
||||
title: 'Linux Mint',
|
||||
align: 'center',
|
||||
width: '120',
|
||||
},
|
||||
{
|
||||
colKey: 'proxmox',
|
||||
title: 'Proxmox VE',
|
||||
align: 'center',
|
||||
width: '120',
|
||||
},
|
||||
{
|
||||
colKey: 'fedora',
|
||||
title: 'Fedora',
|
||||
align: 'center',
|
||||
width: '90',
|
||||
},
|
||||
{
|
||||
colKey: 'rockylinux',
|
||||
title: 'Rocky Linux',
|
||||
align: 'center',
|
||||
width: '120',
|
||||
},
|
||||
{
|
||||
colKey: 'almalinux',
|
||||
title: 'AlmaLinux',
|
||||
align: 'center',
|
||||
width: '110',
|
||||
},
|
||||
{
|
||||
colKey: 'opencloudos',
|
||||
title: 'OpenCloudOS',
|
||||
align: 'center',
|
||||
width: '140',
|
||||
},
|
||||
{
|
||||
colKey: 'anolis',
|
||||
title: 'Anolis OS',
|
||||
align: 'center',
|
||||
width: '110',
|
||||
},
|
||||
{
|
||||
colKey: 'openkylin',
|
||||
title: 'openKylin',
|
||||
align: 'center',
|
||||
width: '110',
|
||||
},
|
||||
{
|
||||
colKey: 'alpinelinux',
|
||||
title: 'Alpine Linux',
|
||||
align: 'center',
|
||||
width: '130',
|
||||
},
|
||||
{
|
||||
colKey: 'gentoo',
|
||||
title: 'Gentoo',
|
||||
align: 'center',
|
||||
width: '90',
|
||||
},
|
||||
{
|
||||
colKey: 'nix',
|
||||
title: 'NixOS',
|
||||
align: 'center',
|
||||
width: '80',
|
||||
},
|
||||
].map((item) => {
|
||||
if (['ipv6', 'epel', 'archlinux', 'manjaro', 'kalilinux', 'armbian', 'deepin', 'raspberry', 'linuxmint', 'proxmox', 'fedora', 'rockylinux', 'almalinux', 'opencloudos', 'anolis', 'openkylin', 'alpinelinux', 'gentoo', 'nix'].includes(item.colKey)) {
|
||||
item.sortType = 'all'
|
||||
item.sorter = (a, b) => {
|
||||
const getValue = (row) => {
|
||||
if (typeof row[item.colKey] === 'boolean') {
|
||||
return row[item.colKey] ? 0 : 1
|
||||
}
|
||||
return 2
|
||||
}
|
||||
const aValue = getValue(a)
|
||||
const bValue = getValue(b)
|
||||
return aValue - bValue
|
||||
}
|
||||
}
|
||||
return item
|
||||
})
|
||||
|
||||
console.log(mirrorsTableColumns)
|
||||
|
||||
@@ -7,6 +7,7 @@ ComponentSystem.register('mirrors-table', {
|
||||
row-key="name"
|
||||
size="small"
|
||||
verticalAlign="bottom"
|
||||
@data-change="dataChange"
|
||||
>
|
||||
<template v-for="col in columns" :key="col.colKey" #[col.title]>
|
||||
<div v-if="col.tooltip" class="t-table__th-cell-inner">
|
||||
@@ -28,9 +29,11 @@ ComponentSystem.register('mirrors-table', {
|
||||
<a :href="row.url" target="_blank" style="color: var(--md-typeset-a-color)">{{ row.domain }}</a>
|
||||
</t-space>
|
||||
</template>
|
||||
<a :href="row.url" target="_blank" style=>
|
||||
<a :href="row.url" target="_blank">
|
||||
<t-space align="center" style="gap: 6px">
|
||||
<img v-if="row.icon" :src="\`/assets/images/icon/mirrors/\${row.icon}\`" width="16" height="16" :style="row.iconStyle || {}">
|
||||
<span style="display: flex; height: 100%; align-items: center; justify-content: center">
|
||||
<img v-if="row.icon" :src="\`/assets/images/icon/mirrors/\${row.icon}\`" width="16" height="16">
|
||||
</span>
|
||||
<span>{{ row.name }}</span>
|
||||
</t-space>
|
||||
</a>
|
||||
@@ -39,12 +42,12 @@ ComponentSystem.register('mirrors-table', {
|
||||
<template v-else>
|
||||
<t-tag v-if="typeof row[col.colKey] === 'boolean'" :theme="row[col.colKey] ? 'success' : 'danger'" variant="light" size="small" style="background-color: transparent; height: 100%; vertical-align: -0.35em">
|
||||
<template #icon>
|
||||
<svg v-if="row[col.colKey]" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="currentColor" d="M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59L21 7Z" /></svg>
|
||||
<svg v-else xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" style="vertical-align: -0.2em"><path fill="currentColor" d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z"/></svg>
|
||||
<svg v-if="row[col.colKey]" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="currentColor" d="M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59L21 7Z"></svg>
|
||||
<svg v-else xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" style="vertical-align: -0.2em"><path fill="currentColor" d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z"></svg>
|
||||
</template>
|
||||
</t-tag>
|
||||
<t-tag v-else theme="warning" variant="light" size="small" style="background-color: transparent; vertical-align: -0.35em">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" style="vertical-align: -0.1em"><path fill="#F6B604" d="M22.11 21.46L2.39 1.73L1.11 3l2.95 2.95A9.95 9.95 0 0 0 2 12c0 5.5 4.5 10 10 10c2.28 0 4.37-.77 6.05-2.06l2.79 2.79l1.27-1.27M12 20c-4.42 0-8-3.58-8-8c0-1.73.56-3.32 1.5-4.62L16.62 18.5A7.78 7.78 0 0 1 12 20M8.17 4.97L6.72 3.5C8.25 2.56 10.06 2 12 2c5.5 0 10 4.5 10 10c0 1.94-.56 3.75-1.5 5.28l-1.47-1.45c.62-1.14.97-2.44.97-3.83c0-4.42-3.58-8-8-8c-1.39 0-2.69.35-3.83.97Z"/></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" style="vertical-align: -0.1em"><path fill="#F6B604" d="M22.11 21.46L2.39 1.73L1.11 3l2.95 2.95A9.95 9.95 0 0 0 2 12c0 5.5 4.5 10 10 10c2.28 0 4.37-.77 6.05-2.06l2.79 2.79l1.27-1.27M12 20c-4.42 0-8-3.58-8-8c0-1.73.56-3.32 1.5-4.62L16.62 18.5A7.78 7.78 0 0 1 12 20M8.17 4.97L6.72 3.5C8.25 2.56 10.06 2 12 2c5.5 0 10 4.5 10 10c0 1.94-.56 3.75-1.5 5.28l-1.47-1.45c.62-1.14.97-2.44.97-3.83c0-4.42-3.58-8-8-8c-1.39 0-2.69.35-3.83.97Z"></svg>
|
||||
</t-tag>
|
||||
</template>
|
||||
</template>
|
||||
@@ -57,4 +60,9 @@ ComponentSystem.register('mirrors-table', {
|
||||
data: mirrorsTableData,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
dataChange(data) {
|
||||
this.data = data
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
12
docs/assets/js/modules/tdesign.min.js
vendored
12
docs/assets/js/modules/tdesign.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -114,7 +114,7 @@ hide:
|
||||
| <a href="https://zorin.com/os" title="https://zorin.com/os" target="_blank"><img src="/assets/images/icon/zorin-os.png" width="16" height="16" style="vertical-align: -0.15em"></a> **Zorin OS** | _all_ |
|
||||
| <a href="https://www.armbian.com" title="https://www.armbian.com" target="_blank"><img src="/assets/images/icon/armbian.png" width="16" height="16" style="vertical-align: -0.2em"></a> **Armbian** | _all_ |
|
||||
| <a href="https://www.proxmox.com" title="https://www.proxmox.com" target="_blank"><img src="/assets/images/icon/proxmox.svg" width="16" height="16" style="vertical-align: -0.2em"></a> **Proxmox VE** | _all_ |
|
||||
| <a href="https://www.raspberrypi.com" title="https://www.raspberrypi.com" target="_blank"><img src="/assets/images/icon/raspberry-pi.png" width="16" height="16" style="vertical-align: -0.2em"></a> **Raspberry Pi OS** | _all_ |
|
||||
| <a href="https://www.raspberrypi.com/software" title="https://www.raspberrypi.com/software" target="_blank"><img src="/assets/images/icon/raspberry-pi.png" width="16" height="16" style="vertical-align: -0.2em"></a> **Raspberry Pi OS** | _all_ |
|
||||
| <a href="https://access.redhat.com/products/red-hat-enterprise-linux" title="https://access.redhat.com/products/red-hat-enterprise-linux" target="_blank"><img src="/assets/images/icon/redhat.svg" width="16" height="16" style="vertical-align: -0.1em"></a> **Red Hat Enterprise Linux** :material-information-outline:{ title="使用 <code>CentOS Stream</code> 或 <code>CentOS</code> 源" } | _7~10_ |
|
||||
| <a href="https://fedoraproject.org/zh-Hans" title="https://fedoraproject.org/zh-Hans" target="_blank"><img src="/assets/images/icon/fedora.ico" width="16" height="16" style="vertical-align: -0.15em"></a> **Fedora** | _30~42_ |
|
||||
| <a href="https://www.centos.org" title="https://www.centos.org" target="_blank"><img src="/assets/images/icon/centos.svg" width="16" height="16" style="vertical-align: -0.1em"></a> **CentOS** | _7~8 / Stream 8~10_ |
|
||||
|
||||
@@ -43,7 +43,7 @@ hide:
|
||||
<td><a href="https://openanolis.cn" title="https://openanolis.cn" target="_blank"><img src="/assets/images/icon/anolis.png" width="16" height="16" style="vertical-align: -0.1em"></a> Anolis OS(龙蜥)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.raspberrypi.com" title="https://www.raspberrypi.com" target="_blank"><img src="/assets/images/icon/raspberry-pi.png" width="16" height="16" style="vertical-align: -0.2em"></a> Raspberry Pi OS</td>
|
||||
<td><a href="https://www.raspberrypi.com/software" title="https://www.raspberrypi.com/software" target="_blank"><img src="/assets/images/icon/raspberry-pi.png" width="16" height="16" style="vertical-align: -0.2em"></a> Raspberry Pi OS</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -186,7 +186,7 @@ hide:
|
||||
| 阿里云(香港) | [registry.cn-hongkong.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-hongkong.aliyuncs.com") | 谷歌云(欧洲) | [eu.gcr.io](https://cloud.google.com/artifact-registry/docs/transition/gcr-repositories?hl=zh-cn "https://eu.gcr.io") |
|
||||
| 腾讯云 | [mirror.ccs.tencentyun.com](https://cloud.tencent.com/document/product/1207/45596 "https://mirror.ccs.tencentyun.com") | Docker Hub 官方 | [registry.hub.docker.com](https://hub.docker.com/ "registry.hub.docker.com") |
|
||||
|
||||
<blockquote style="border-left: none !important">注:国内云计算企业的镜像仓库仅针对其业务,境内实例仍无法访问 Docker Hub</blockquote>
|
||||
<blockquote style="border-left: none !important">注:国内云计算企业的镜像仓库仅针对其业务,境内实例可能仍无法访问 Docker Hub</blockquote>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -147,8 +147,8 @@ hide:
|
||||
|
||||
!!! quote "关于软件源的选择(新用户必读)"
|
||||
|
||||
如果你不了解这些镜像站那么建议使用 `阿里云 (兼容性高)` 或 `中国科学技术大学 (速度快)`,请不要陷入测速焦虑,内置的默认软件源一般不会有太大的差异。
|
||||
本项目脚本是一个自动化运维工具,不会对镜像站进行主观的优劣排序和单独适配,用户的选择应该是自由的,这也是为了开源软件精神能够得到更好的延续。
|
||||
如果你不了解这些镜像站那么建议使用 `阿里云 (兼容性高、可用性强)` 或 `中国科学技术大学 (速度快)`,请不要陷入测速焦虑,内置的软件源一般不会有太大的差异。
|
||||
本项目脚本是一个自动化运维工具,不会对镜像站进行主观的优劣排序和定制适配,用户的选择应该是自由的,这也是为了开源软件精神能够得到更好的延续。
|
||||
|
||||
<div class="grid cards" markdown>
|
||||
|
||||
@@ -355,6 +355,8 @@ hide:
|
||||
|
||||
!!! quote ""
|
||||
|
||||
命令以及配置步骤仅供参考,只适配了部分常见发行版
|
||||
|
||||
- 验证是否已安装 `SSH` 服务
|
||||
|
||||
``` bash
|
||||
@@ -382,8 +384,6 @@ hide:
|
||||
```
|
||||
> 不同系统上的服务名称有所差异,如果不是 `sshd` 那就试试 `ssh`
|
||||
|
||||
> 命令以及配置步骤仅供参考,只适配了部分常见发行版。
|
||||
|
||||
- #### 关于未显示方向键交互控制界面
|
||||
|
||||
!!! quote ""
|
||||
@@ -533,7 +533,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
| <a href="https://zorin.com/os" title="https://zorin.com/os" target="_blank"><img src="/assets/images/icon/zorin-os.png" width="16" height="16" style="vertical-align: -0.15em"></a> **Zorin OS** | `ubuntu` `ubuntu-ports` |
|
||||
| <a href="https://www.armbian.com" title="https://www.armbian.com" target="_blank"><img src="/assets/images/icon/armbian.png" width="16" height="16" style="vertical-align: -0.2em"></a> **Armbian** | `armbian` |
|
||||
| <a href="https://www.proxmox.com" title="https://www.proxmox.com" target="_blank"><img src="/assets/images/icon/proxmox.svg" width="16" height="16" style="vertical-align: -0.2em"></a> **Proxmox VE** | `proxmox` |
|
||||
| <a href="https://www.raspberrypi.com" title="https://www.raspberrypi.com" target="_blank"><img src="/assets/images/icon/raspberry-pi.png" width="16" height="16" style="vertical-align: -0.2em"></a> **Raspberry Pi OS** | `raspberrypi` `raspbian` `debian` `debian-archive` |
|
||||
| <a href="https://www.raspberrypi.com/software" title="https://www.raspberrypi.com/software" target="_blank"><img src="/assets/images/icon/raspberry-pi.png" width="16" height="16" style="vertical-align: -0.2em"></a> **Raspberry Pi OS** | `raspberrypi` `raspbian` `debian` `debian-archive` |
|
||||
| <a href="https://access.redhat.com/products/red-hat-enterprise-linux" title="https://access.redhat.com/products/red-hat-enterprise-linux" target="_blank"><img src="/assets/images/icon/redhat.svg" width="16" height="16" style="vertical-align: -0.1em"></a> **Red Hat Enterprise Linux** :material-information-outline:{ title="9版本使用 <code>CentOS Stream</code>, 7、8版本使用<code>CentOS</code>" } | `centos` `centos-stream` `centos-altarch` `centos-vault` |
|
||||
| <a href="https://fedoraproject.org/zh-Hans" title="https://fedoraproject.org/zh-Hans" target="_blank"><img src="/assets/images/icon/fedora.ico" width="16" height="16" style="vertical-align: -0.15em"></a> **Fedora** | `fedora` `fedora-archive` |
|
||||
| <a href="https://www.centos.org" title="https://www.centos.org" target="_blank"><img src="/assets/images/icon/centos.svg" width="16" height="16" style="vertical-align: -0.1em"></a> **CentOS** | `centos` `centos-stream` `centos-altarch` `centos-vault` |
|
||||
@@ -593,13 +593,13 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
|
||||
<div class="grid cards" markdown>
|
||||
|
||||
- __国内网络环境__
|
||||
- __国内环境__
|
||||
|
||||
---
|
||||
|
||||
直接正常使用即可,因为国内大部分镜像站都同步了 [`CentOS Vault`](https://vault.centos.org/) 仓库
|
||||
|
||||
- __境外以及海外网络环境__
|
||||
- __境外以及海外环境__
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user