mirror of
https://github.com/SuperManito/LinuxMirrors.git
synced 2026-02-27 09:44:37 +08:00
更新文档
This commit is contained in:
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user