This commit is contained in:
spiritlhl
2024-01-09 10:31:27 +00:00
parent 3051eb7e2e
commit d496369804
4 changed files with 52 additions and 4 deletions

View File

@@ -34,6 +34,8 @@ You will be prompted to reboot your system once during the execution process, **
Because the original environment may be missing ``ifupdown`` or ``ifupdown2`` environment, there is a self-installation daemon loaded for the installation, after the installation of the system will automatically reboot the system again, wait for 20 seconds without reboot to ensure that the installation has been run.
If the host itself exists SLAAC assigned IPV6 address, will be able to choose whether to use the largest IPV6 subnet range, the default carriage return does not use the largest IPV6 subnet range only use the local IPV6, if you subsequently need to attach a separate IPV6 address to the virtual machine/container, the option must be selected ```y```.
Command:
```shell

View File

@@ -43,6 +43,28 @@ The system username after dd at this point is ```root```, and the password is ``
If you have time or if it's still not working, please contact [@spiritlhl_bot](https://t.me/spiritlhl_bot) for assistance.
## What to do if you open centos7 and find that CGroupV1 is not supported?
Enable CGroup V1: To enable CGroup V1 on an Ubuntu system, you need to edit the kernel boot parameters.
Please note that before changing kernel boot parameters, make sure to backup important data and settings to prevent unexpected problems.
Edit the ```/etc/default/grub`` file and add ``systemd.unified_cgroup_hierarchy=0`` to the end of the parameters in ``GRUB_CMDLINE_LINUX_DEFAULT``, just like:
```
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash systemd.unified_cgroup_hierarchy=0"
```
Save the file and run the following command to update the GRUB boot.
```bash
sudo update-grub
```
Reboot the system for the changes to take effect
If the above changes still do not support the opening of centos7, try using a different host system.
## What to do if you accidentally delete a NAT mapping rule
Use the following command to map back
@@ -52,8 +74,7 @@ iptables -t nat -F
iptables -t filter -F
service networking restart
systemctl restart networking.service
iptables-save | awk '{if($1=="COMMIT"){delete x}}$1=="-A"?!x[$0]++:1' | iptables-restore
iptables-save > /etc/iptables/rules.v4
cat /etc/iptables/rules.v4 | iptables-restore
```
## Verified VPS Providers

View File

@@ -34,6 +34,8 @@ outline: deep
因为原始环境可能缺失```ifupdown```或```ifupdown2```环境有加载自安装的守护进程进行安装安装后会再次自动重启系统等待20秒未自重启确保这个安装已运行完毕
若宿主机本身存在SLAAC分配的IPV6地址将可选择是否使用最大的IPV6子网范围默认回车不使用最大的IPV6子网范围仅使用本机IPV6若后续需要给虚拟机/容器附加独立的IPV6地址该选项务必选择```y```.
国际
```shell

View File

@@ -43,6 +43,30 @@ bash <(curl -sSL https://raw.githubusercontent.com/leitbogioro/Tools/master/Linu
如果有空或者还是不行,请联系 [@spiritlhl_bot](https://t.me/spiritlhl_bot) 尝试
非Debian系统也可使用自定义分区的内容自行尝试
## 开设centos7发现报错CGroupV1不支持怎么办
启用CGroup V1要在Ubuntu系统上启用CGroup V1需要编辑内核启动参数。
请注意,在更改内核启动参数之前,请务必备份重要的数据和设置,以防止意外的问题。
编辑```/etc/default/grub```文件,将```GRUB_CMDLINE_LINUX_DEFAULT```中的参数末尾加上```systemd.unified_cgroup_hierarchy=0```,如
```
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash systemd.unified_cgroup_hierarchy=0"
```
保存文件并运行以下命令更新GRUB引导。
```bash
sudo update-grub
```
重启系统,使更改生效
如果上述更改仍旧不支持开设centos7那么请使用别的宿主机系统尝试
## 不小心删除了NAT的映射规则怎么办
使用下面的命令映射回来
@@ -52,8 +76,7 @@ iptables -t nat -F
iptables -t filter -F
service networking restart
systemctl restart networking.service
iptables-save | awk '{if($1=="COMMIT"){delete x}}$1=="-A"?!x[$0]++:1' | iptables-restore
iptables-save > /etc/iptables/rules.v4
cat /etc/iptables/rules.v4 | iptables-restore
```
## 目前已验证的VPS商家