Skip to content

Commit ec5d62d

Browse files
committed
docs: 更新文档
1 parent fd02d90 commit ec5d62d

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

README.en.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
[![Codacy](https://img.shields.io/codacy/grade/dc679a17751448628fe6d8ac35e26eed?logo=Codacy&label=Codacy&style=flat-square)](https://app.codacy.com/gh/bin456789/reinstall/dashboard)
66
[![CodeFactor](https://img.shields.io/codefactor/grade/github/bin456789/reinstall?logo=CodeFactor&logoColor=white&label=CodeFactor&style=flat-square)](https://www.codefactor.io/repository/github/bin456789/reinstall)
7-
[![Lines of Code](https://tokei.rs/b1/github/bin456789/reinstall?category=code&label=Lines%20of%20Code&style=flat-square)](https://github.com/XAMPPRocky/tokei_rs)
7+
[![Lines of Code](https://aschey.tech/tokei/github/bin456789/reinstall?category=code&label=Lines%20of%20Code&style=flat-square)](https://github.com/aschey/vercel-tokei)
8+
<!-- [![Lines of Code](https://tokei.rs/b1/github/bin456789/reinstall?category=code&label=Lines%20of%20Code&style=flat-square)](https://github.com/XAMPPRocky/tokei_rs) -->
89

910
One-Click system reinstallation script for VPS [中文](README.md)
1011

@@ -34,7 +35,7 @@ If this helped you, you can buy me a milk tea.
3435
- [Download](#download-current-system-is--linux)
3536
- [Feature 1. One-click reinstallation to Linux](#feature-1-install--linux)
3637
- [Feature 2. One-click DD Raw image to hard disk](#feature-2-dd-raw-image-to-hard-disk)
37-
- [Feature 3. One-click reboot to Alpine Live OS in-memory system](#feature-3-reboot-to--alpine-live-os-ram-os)
38+
- [Feature 3. One-click reboot to Alpine Live OS](#feature-3-reboot-to--alpine-live-os)
3839
- [Feature 4. One-click reboot to netboot.xyz](#feature-4-reboot-to--netbootxyz)
3940
- [Feature 5. One-click reinstallation to Windows](#feature-5-install--windows-iso)
4041

@@ -149,7 +150,7 @@ certutil -urlcache -f -split https://cnb.cool/bin456789/reinstall/-/git/raw/main
149150
- When installing the latest version, the version number does not need to be specified.
150151
- Maximizes disk space usage: no boot partition (except for Fedora) and no swap partition.
151152
- Automatically selects different optimized kernels based on machine type, such as `Cloud` or `HWE` kernels.
152-
- When installing Red Hat, you must provide the `qcow2` image link obtained from <https://access.redhat.com/downloads/content/rhel>. You can also install other RHEL-based OS, such as `Alibaba Cloud Linux` and `TencentOS Server`.
153+
- When installing Red Hat, you must provide the `qcow2` image link obtained from <https://access.redhat.com/downloads/content/rhel>. You can also install `qcow2` of other RHEL-based OS, such as `Alibaba Cloud Linux` and `TencentOS Server`.
153154
- After reinstallation, if you need to change the SSH port or switch to key-based login, make sure to also modify the files inside `/etc/ssh/sshd_config.d/`.
154155

155156
```bash
@@ -258,15 +259,15 @@ bash reinstall.sh dd --img "https://example.com/xxx.xz"
258259
>
259260
> Or Run `/trans.sh alpine` to automatically recover to Alpine Linux.
260261
261-
### Feature 3: Reboot to <img width="16" height="16" src="https://www.alpinelinux.org/alpine-logo.ico" /> Alpine Live OS (RAM OS)
262+
### Feature 3: Reboot to <img width="16" height="16" src="https://www.alpinelinux.org/alpine-logo.ico" /> Alpine Live OS
262263

263264
- You can use SSH to backup/restore disk, manually perform DD operations, partition modifications, manual Alpine installation, and other operations.
264265
- Username `root`. The script prompts for a password. If left blank, a random one is generated.
265266

266267
> [!TIP]
267268
>
268269
> Although the script being run is `reinstall`, this feature **does not** delete any data or perform an automatic reinstallation; manual user operation is required.
269-
270+
>
270271
> If the user does not damage the original system during manual operation, rebooting will return to the original system.
271272
272273
```bash
@@ -287,7 +288,7 @@ bash reinstall.sh alpine --hold 1
287288
> [!TIP]
288289
>
289290
> Although the script being run is `reinstall`, this feature **does not** delete any data or perform an automatic reinstallation; manual user operation is required.
290-
291+
>
291292
> If the user does not damage the original system during manual operation, rebooting will return to the original system.
292293
293294
```bash

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
[![Codacy](https://img.shields.io/codacy/grade/dc679a17751448628fe6d8ac35e26eed?logo=Codacy&label=Codacy&style=flat-square)](https://app.codacy.com/gh/bin456789/reinstall/dashboard)
66
[![CodeFactor](https://img.shields.io/codefactor/grade/github/bin456789/reinstall?logo=CodeFactor&logoColor=white&label=CodeFactor&style=flat-square)](https://www.codefactor.io/repository/github/bin456789/reinstall)
7-
[![Lines of Code](https://tokei.rs/b1/github/bin456789/reinstall?category=code&label=Lines%20of%20Code&style=flat-square)](https://github.com/XAMPPRocky/tokei_rs)
7+
[![Lines of Code](https://aschey.tech/tokei/github/bin456789/reinstall?category=code&label=Lines%20of%20Code&style=flat-square)](https://github.com/aschey/vercel-tokei)
8+
<!-- [![Lines of Code](https://tokei.rs/b1/github/bin456789/reinstall?category=code&label=Lines%20of%20Code&style=flat-square)](https://github.com/XAMPPRocky/tokei_rs) -->
89

910
一键 VPS 系统重装脚本 [English](README.en.md)
1011

@@ -149,7 +150,7 @@ certutil -urlcache -f -split https://cnb.cool/bin456789/reinstall/-/git/raw/main
149150
- 安装最新版可不输入版本号
150151
- 最大化利用磁盘空间:不含 boot 分区(Fedora 例外),不含 swap 分区
151152
- 自动根据机器类型选择不同的优化内核,例如 `Cloud``HWE` 内核
152-
- 安装 Red Hat 时需填写 <https://access.redhat.com/downloads/content/rhel> 得到的 `qcow2` 镜像链接,也可以安装其它类 RHEL 系统,例如 `Alibaba Cloud Linux``TencentOS Server`
153+
- 安装 Red Hat 时需填写 <https://access.redhat.com/downloads/content/rhel> 得到的 `qcow2` 镜像链接,也可以安装其它类 RHEL 系统的 `qcow2`,例如 `Alibaba Cloud Linux``TencentOS Server`
153154
- 重装后如需修改 SSH 端口或者改成密钥登录,注意还要修改 `/etc/ssh/sshd_config.d/` 里面的文件
154155

155156
```bash

0 commit comments

Comments
 (0)