更新文档

This commit is contained in:
SuperManito
2023-12-30 00:07:34 +08:00
parent 02e0f16563
commit 88f63af9d0
9 changed files with 354 additions and 338 deletions

View File

@@ -1,4 +1,42 @@
## 关于报错 Command not found
!!! quote ""
- 如果提示 `Command 'curl' not found` 则说明当前未安装 `curl` 软件包
=== "Debian 系 Linux"
``` sh
apt-get install -y curl
```
> `Debian`   `Ubuntu`   `Kali`   `Deepin`
新装系统需要先执行一遍更新 `apt-get update`
=== "RedHat 系 Linux / OpenCloudOS / openEuler"
``` sh
yum install -y curl || dnf install -y curl
```
> `Red Hat Enterprise Linux`   `CentOS`   `Rocky Linux`   `AlmaLinux`   `Fedora`   `OpenCloudOS`   `openEuler`
新装系统需要先执行一遍更新 `yum makecache`
=== "openSUSE"
``` sh
zypper install curl
```
=== "Arch Linux"
``` sh
pacman -S curl
```
## 关于开启 SSH 远程登录的方法
!!! quote ""
@@ -28,41 +66,6 @@
ps -ef | grep -q ssh ; [ $? -eq 0 ] && systemctl restart sshd || systemctl enable --now sshd
```
## 关于报错 Command not found
!!! quote ""
- 如果提示 `Command 'curl' not found` 则说明当前未安装 `curl` 软件包
=== "Debian 系 Linux"
``` sh
apt-get install -y curl
```
> `Debian`   `Ubuntu`   `Kali`   `Deepin`
=== "RedHat 系 Linux / OpenCloudOS / openEuler"
``` sh
yum install -y curl || dnf install -y curl
```
> `Red Hat Enterprise Linux`   `CentOS`   `Rocky Linux`   `AlmaLinux`   `Fedora`   `OpenCloudOS`   `openEuler`
=== "openSUSE"
``` sh
zypper install curl
```
=== "Arch Linux"
``` sh
pacman -S curl
```
## 还原已备份的软件源
!!! quote ""