This commit is contained in:
spiritlhl
2024-01-16 12:39:35 +00:00
parent ed7ee95cd7
commit a05ac0e7d3
4 changed files with 6 additions and 20 deletions

View File

@@ -86,18 +86,9 @@ It's recommended to wait for at least 5 minutes after the system boots up before
:::
- Prerequisites: Ubuntu 18+ (recommended), Debian 8+ (x86_64 architecture only)
**If you are on a Debian-based host, be sure to execute this script within a 'screen' session to prevent ZFS compilation installation failure due to SSH interruptions during long-term runs.**
The virtual memory mentioned here refers to the desired SWAP size, and the storage pool represents the total size of all disks allocated for your virtual machines.
During the environment installation process, **you might need to restart the server to load the kernel with ZFS support and then execute the installation command again. Follow the prompts in the command line after running for accurate instructions.**
Enable the lxcfs-related configuration of lxd by default, so that in-container querying of container information changes to information about the container itself rather than the host.
If the script prompts you to restart the system and execute the script again, and if the second execution still requires a system restart to load the kernel, it means the kernel loading failed during the previous attempt. It's recommended to reinstall the host system using an Ubuntu-based version to resolve this issue.
Each time you run the script, you'll need to input the initialization configuration. So, if the script prompts you to restart the system and execute again, you'll need to input the initialization configuration again.
- The virtual memory here is talking about the size of the SWAP to be opened, and the storage pool is the sum of the sizes of the disks occupied by all your servers to be opened
- The server needs to be restarted after the environment installation process to load some default configurations
- By default, lxd's lxcfs-related configuration is enabled, so that in-container querying of container information changes to information about the container itself rather than the host
Command:

View File

@@ -25,7 +25,7 @@ PS: If the hardware resources are even worse, virtualization is not supported, y
## Project Features
- This set of script development using **Ubuntu20**, Ubuntu other long-term maintenance version should also be no problem, Debian can not use zfs automatically switch to another storage type!
- This set of script development using **Ubuntu20**, Ubuntu other long-term maintenance version should also be no problem, automatically switch to another storage type if btrfs not supported
- Set up both TCP and UDP forwarding, in addition to SSH ports, other mapping intranet and extranet ports are the same.

View File

@@ -17,15 +17,10 @@ outline: deep
:::
- 环境要求Ubuntu 18+(推荐)Debian 8+(仅限x86_64架构)
- **如果是Debian系的宿主机务必在screen中执行本脚本避免长期运行时SSH中断导致ZFS编译安装失败**
- 这里的虚拟内存是说要开的SWAP大小存储池则是你所有要开的服务器占的盘的大小的总和
- 环境安装过程中**可能需要重启服务器以加载含zfs的内核然后再次执行安装命令一切以运行后命令行的提示为准**
- 环境安装过程需要重启服务器以加载一些默认配置
- 默认启用lxd的lxcfs相关配置使得容器内查询容器信息变更为容器本身的信息而不是宿主机信息
如果脚本提示重启系统后需要再次执行脚本第二次执行安装脚本仍提示重启系统加载内核那么意味着内核在上一次加载中失败了最好重装宿主机系统为ubuntu系解决这个问题
每次执行脚本都需要输入一次初始化的配置,所以遇到脚本提示需重启系统再次执行,那么就得再次输入初始化的配置
国际
```shell

View File

@@ -25,7 +25,7 @@ PS: 如果硬件资源更烂虚拟化不支持可使用docker版本的
## 项目特点
- 本套脚本开发使用的**Ubuntu20**Ubuntu别的长期维护版本应该也没问题Debian无法使用zfs时自动切换别的存储类型
- 本套脚本开发使用的**Ubuntu20**Ubuntu别的长期维护版本应该也没问题某个存储类型无法使用时自动切换
- 已设置同时进行TCP和UDP转发除了SSH端口其他的映射内网外网端口一致