Skip to content

Commit b7a45f7

Browse files
docs: Add LinuxMirrors Scripts
1 parent 890c75f commit b7a45f7

File tree

2 files changed

+13
-47
lines changed

2 files changed

+13
-47
lines changed

docs/faq/operating_system.md

Lines changed: 5 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -5,52 +5,11 @@
55
!!! Abstract ""
66
**上图的错误是由于 docker 的在线安装脚本不支持该操作系统导致的,目前最好的解决方案就是先手动在服务器上安装并启动 Docker,然后再安装 1Panel。**
77

8-
=== "RockyLinux"
9-
!!! Abstract ""
10-
11-
**设置仓库**
12-
```shell
13-
sudo yum-config-manager \
14-
--add-repo \
15-
http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
16-
```
17-
18-
**安装 Docker**
19-
```shell
20-
sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin
21-
```
22-
23-
**启动 Docker 服务**
24-
```shell
25-
sudo systemctl start docker.service
26-
sudo systemctl enable docker.service
27-
```
28-
29-
=== "AlmaLinux"
30-
!!! Abstract ""
31-
32-
**更新系统**
33-
```shell
34-
sudo dnf update
35-
sudo dnf install epel-release
36-
sudo dnf remove podman buildah
37-
```
38-
39-
**添加了 Docker-CE 存储库**
40-
```shell
41-
sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
42-
```
43-
44-
**安装 Docker-CE**
45-
```shell
46-
sudo dnf install docker-ce docker-ce-cli containerd.io
47-
```
48-
49-
**启动 Docker**
50-
```shell
51-
sudo systemctl start docker.service
52-
sudo systemctl enable docker.service
53-
```
8+
可以尝试运行以下脚本:
9+
```shell
10+
bash <(curl -sSL https://linuxmirrors.cn/docker.sh)
11+
```
12+
了解更多信息,请访问官方网站:https://linuxmirrors.cn
5413

5514
## 2 使用 windows 的 wsl 子系统安装失败
5615

docs/installation/online_installation.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
## 2 安装部署
1919

2020
!!! Abstract ""
21-
GitHub release 链接: https://github.com/1Panel-dev/1Panel/releases
21+
GitHub release 链接: https://github.com/1Panel-dev/1Panel/releases
2222

2323
=== "RedHat / CentOS"
2424
!!! Abstract ""
@@ -52,6 +52,13 @@
5252
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sh quick_start.sh
5353
```
5454

55+
!!! Abstract ""
56+
如果遇到 Docker 安装失败等问题,可以尝试运行以下脚本:
57+
```shell
58+
bash <(curl -sSL https://linuxmirrors.cn/docker.sh)
59+
```
60+
了解更多信息,请访问官方网站:https://linuxmirrors.cn
61+
5562
!!! Abstract ""
5663
安装成功后,控制台会打印面板访问信息,可通过浏览器访问 1Panel:
5764

0 commit comments

Comments
 (0)