Skip to content

Commit 05fdef0

Browse files
docs: update enterprise migration guides (#180)
1 parent 0f01866 commit 05fdef0

7 files changed

Lines changed: 70 additions & 51 deletions

File tree

Lines changed: 4 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 1Panel 企业版安装部署
3-
description: 介绍 1Panel 企业版安装部署、企业版之间升级,以及社区版和专业版迁移至企业版时使用 1panel-migrator 的方法
4-
keywords: 1Panel 企业版,1Panel 企业版安装,1Panel 企业版部署,1Panel 离线安装,1panel-migrator,1Panel 社区版迁移,1Panel 专业版迁移
3+
description: 介绍 1Panel 企业版安装部署、企业版之间升级,以及社区版和专业版迁移至企业版的入口
4+
keywords: 1Panel 企业版,1Panel 企业版安装,1Panel 企业版部署,1panel-migrator,1Panel 社区版迁移,1Panel 专业版迁移
55
schema_type: TechArticle
66
---
77

@@ -28,46 +28,9 @@ schema_type: TechArticle
2828

2929
> `upgrade.sh` 仅适用于企业版之间的升级。
3030

31-
> 社区版或专业版迁移至企业版时,请使用下文的 **1panel-migrator** 工具完成迁移
31+
> 社区版或专业版迁移至企业版时,请使用 **1panel-migrator** 工具,具体操作请参考[迁移至企业版](migrate_to_enterprise.md)
3232

3333
## 4 社区版 / 专业版迁移至企业版
3434

35-
### 4.1 获取迁移工具
36-
37-
!!! note ""
38-
请下载与服务器架构对应的迁移工具:
39-
40-
- [Gitee Releases](https://gitee.com/fit2cloud-feizhiyun/1panel-migrator/releases)
41-
- [GitHub Releases](https://github.com/1Panel-dev/1panel-migrator/releases)
42-
43-
### 4.2 迁移前准备
44-
45-
!!! note ""
46-
执行迁移前,需先将 1Panel 企业版安装包下载到当前 1Panel 所在服务器。企业版安装包需要放置在与当前 1Panel 安装目录同级的位置。
47-
48-
示例:
49-
50-
```
51-
/opt/
52-
├── 1panel/
53-
└── 1panel-v2.2.3-linux-amd64.tar.gz
54-
```
55-
56-
### 4.3 执行迁移
57-
58-
!!! note ""
59-
执行以下命令,将当前 1Panel 迁移至企业版:
60-
61-
```bash
62-
1panel-migrator upgrade enterprise
63-
```
64-
65-
执行后,根据终端提示信息操作即可完成迁移。
66-
67-
### 4.4 注意事项
68-
6935
!!! note ""
70-
- 请根据服务器架构下载对应的迁移工具。
71-
- 迁移前需要提前下载 1Panel 企业版安装包。
72-
- 企业版安装包需要放置在与当前 1Panel 安装目录同级的位置。
73-
- 迁移前建议先确认当前版本是否在支持范围内。
36+
社区版或专业版迁移至企业版不适用 `upgrade.sh` 脚本,请参考[迁移至企业版](migrate_to_enterprise.md)完成迁移。

docs/installation/master_migrate.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
!!! note ""
66

7-
请访问 [1PanelGitee 发布页面](https://gitee.com/fit2cloud-feizhiyun/1panel-migrator/releases/),手动下载适用于您服务器架构的安装包,并将其放置到 `/tmp` 目录:
7+
请访问以下任一发布页面,手动下载适用于您服务器架构的安装包,并将其放置到 `/tmp` 目录:
8+
9+
- [Gitee Releases](https://gitee.com/fit2cloud-feizhiyun/1panel-migrator/releases/)
10+
- [GitHub Releases](https://github.com/1Panel-dev/1panel-migrator/releases/)
811

912
**提示**:请确保安装包版本 **大于等于 v2.0.8**,该版本及以上才支持主从节点切换功能。
1013

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: 1Panel 迁移至企业版
3+
description: 介绍使用 1panel-migrator 将 1Panel 社区版或专业版迁移至企业版的方法。
4+
keywords: 1Panel 企业版,1panel-migrator,1Panel 社区版迁移,1Panel 专业版迁移,迁移至企业版
5+
schema_type: TechArticle
6+
---
7+
8+
本文适用于将 1Panel 社区版或专业版迁移至企业版。企业版的全新安装与版本升级请参考[企业版安装部署](enterprise_installation.md)
9+
10+
## 1 获取迁移工具
11+
12+
!!! note ""
13+
请根据服务器架构,从以下任一发布页面下载对应的迁移工具:
14+
15+
- [Gitee Releases](https://gitee.com/fit2cloud-feizhiyun/1panel-migrator/releases)
16+
- [GitHub Releases](https://github.com/1Panel-dev/1panel-migrator/releases)
17+
18+
## 2 迁移前准备
19+
20+
!!! note ""
21+
执行迁移前,需先将 1Panel 企业版安装包下载到当前 1Panel 所在服务器。企业版安装包需要放置在与当前 1Panel 安装目录同级的位置。
22+
23+
示例:
24+
25+
```
26+
/opt/
27+
├── 1panel/
28+
└── 1panel-v2.2.3-linux-amd64.tar.gz
29+
```
30+
31+
## 3 执行迁移
32+
33+
!!! note ""
34+
执行以下命令,将当前 1Panel 迁移至企业版:
35+
36+
```bash
37+
1panel-migrator upgrade enterprise
38+
```
39+
40+
执行后,根据终端提示信息操作即可完成迁移。
41+
42+
## 4 注意事项
43+
44+
!!! note ""
45+
- 请根据服务器架构下载对应的迁移工具。
46+
- 迁移前需要提前下载 1Panel 企业版安装包。
47+
- 企业版安装包需要放置在与当前 1Panel 安装目录同级的位置。
48+
- 迁移前建议先确认当前版本是否在支持范围内。

docs/installation/v1_migrate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
由于 V2 版本较 V1 版本有比较大的架构变动,目前不支持从 V1 版本直接在线升级至 V2 版本。
55

6-
1Panel V1 版本的用户,可以使用官方提供的迁移工具[ **1panel-migrator**](https://gitee.com/fit2cloud-feizhiyun/1panel-migrator),将 1Panel V1 平滑升级至 1Panel V2。
6+
1Panel V1 版本的用户,可以使用官方提供的 **1panel-migrator** 迁移工具(可通过 [Gitee](https://gitee.com/fit2cloud-feizhiyun/1panel-migrator) 或 [GitHub](https://github.com/1Panel-dev/1panel-migrator) 获取),将 1Panel V1 平滑升级至 1Panel V2。
77

88
!!! warning "注意"
99
为确保迁移顺利、安全,请务必在执行前仔细阅读以下内容。

docs/installation/v1_migrate_steps.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111

1212
!!! note ""
1313

14-
请访问 [1PanelGitee 发布页面](https://gitee.com/fit2cloud-feizhiyun/1panel-migrator/releases/),手动下载适用于您服务器架构的安装包,并将其放置到 `/tmp` 目录:
14+
请访问以下任一发布页面,手动下载适用于您服务器架构的安装包,并将其放置到 `/tmp` 目录:
15+
16+
- [Gitee Releases](https://gitee.com/fit2cloud-feizhiyun/1panel-migrator/releases/)
17+
- [GitHub Releases](https://github.com/1Panel-dev/1panel-migrator/releases/)
1518

1619
每个版本会提供以下架构的安装包(文件名示例):
1720

@@ -132,4 +135,4 @@
132135

133136
!!! warning "注意"
134137

135-
请确保 V1 服务启动成功后再执行该命令。
138+
请确保 V1 服务启动成功后再执行该命令。

docs/llms.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
- 在线升级: https://1panel.cn/docs/installation/online_upgrade/
3030
- 社区版离线安装: https://1panel.cn/docs/installation/package_installation/
3131
- 企业版安装部署: https://1panel.cn/docs/installation/enterprise_installation/
32-
- 命令行工具: https://1panel.cn/docs/installation/cli/
32+
- 迁移至企业版: https://1panel.cn/docs/installation/migrate_to_enterprise/
33+
- 1pctl 命令行工具: https://1panel.cn/docs/installation/cli/
3334
- 应用商店概述: https://1panel.cn/docs/user_manual/appstore/appstore/
3435
- 网站管理: https://1panel.cn/docs/user_manual/websites/websites/
3536
- 证书管理: https://1panel.cn/docs/user_manual/websites/certificate/
@@ -44,9 +45,10 @@
4445

4546
- 企业版概览: https://1panel.cn/enterprise.html
4647
- 企业版安装部署: https://1panel.cn/docs/installation/enterprise_installation/
48+
- 迁移至企业版: https://1panel.cn/docs/installation/migrate_to_enterprise/
4749
- 1Panel 企业版是轻量级 AI 管理平台,支持从底层硬件到智能体(Metal-to-Agent)的统一管理。
4850
- 获取企业版安装包后,解压并进入安装包目录;首次安装使用 `install.sh`,企业版之间升级使用 `upgrade.sh`。
49-
- 社区版和专业版迁移至企业版必须使用 `1panel-migrator` 工具,迁移说明见企业版安装部署页面
51+
- 社区版和专业版迁移至企业版必须使用 `1panel-migrator` 工具,具体操作请参考迁移至企业版页面
5052

5153
## AI 与常用软件
5254

mkdocs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ nav:
4545
- 在线升级: installation/online_upgrade.md
4646
- 社区版离线安装: installation/package_installation.md
4747
- 企业版安装部署: installation/enterprise_installation.md
48-
- 阿里云镜像部署: installation/ali_cloud.md
48+
- 迁移至企业版: installation/migrate_to_enterprise.md
4949
- 从 V1 版本升级:
5050
- 升级说明: installation/v1_migrate.md
5151
- 操作步骤: installation/v1_migrate_steps.md
5252
- 主从节点切换: installation/master_migrate.md
53-
- 命令行工具: installation/cli.md
53+
- 1pctl 命令行工具: installation/cli.md
5454
- 功能手册:
5555
- 应用商店:
5656
- 概述: user_manual/appstore/appstore.md
@@ -126,8 +126,8 @@ nav:
126126
- 网站设置: user_manual/xpack/waf/site.md
127127
- 拦截记录: user_manual/xpack/waf/log.md
128128
- 封锁记录: user_manual/xpack/waf/block.md
129-
- 💎节点管理: user_manual/xpack/node.md
130-
- 💎网站防篡改: user_manual/xpack/tamper.md
129+
- 节点管理: user_manual/xpack/node.md
130+
- 网站防篡改: user_manual/xpack/tamper.md
131131
- 日志审计: user_manual/logs.md
132132
- 面板设置: user_manual/settings.md
133133
- 常用软件:

0 commit comments

Comments
 (0)