2025-04-17 09:05:30 +00:00
|
|
|
## 安装vllm
|
|
|
|
````bash
|
|
|
|
curl -sSL https://git.soao.net/lc/my/raw/branch/main/vllm.sh -o vllm.sh && sh vllm.sh
|
|
|
|
````
|
|
|
|
|
2025-02-13 04:29:36 +00:00
|
|
|
## 安装docker
|
2025-02-13 04:27:22 +00:00
|
|
|
````bash
|
2025-02-13 04:23:35 +00:00
|
|
|
curl -sSL https://git.soao.net/lc/my/raw/branch/main/docker.sh -o docker.sh && sh docker.sh
|
2025-02-13 04:27:22 +00:00
|
|
|
````
|
2025-02-13 03:50:09 +00:00
|
|
|
|
2025-02-13 04:29:36 +00:00
|
|
|
## 更换rocky-linux的软件源
|
2025-02-13 04:27:22 +00:00
|
|
|
````bash
|
2025-02-13 04:29:36 +00:00
|
|
|
curl -sSL https://git.soao.net/lc/my/raw/branch/main/rocky-cn.sh -o rocky-cn.sh && sh rocky-cn.sh
|
2025-02-13 04:39:52 +00:00
|
|
|
````
|
2025-02-13 05:27:01 +00:00
|
|
|
|
2025-02-13 07:21:50 +00:00
|
|
|
## 一键安装/卸载 frpc 脚本
|
2025-02-13 05:27:01 +00:00
|
|
|
```bash
|
|
|
|
curl -sSL https://git.soao.net/lc/my/raw/branch/main/frpc.sh -o frpc.sh && sh frpc.sh
|
2025-02-13 07:22:16 +00:00
|
|
|
sudo bash -c "$(curl -fsSL https://git.soao.net/lc/my/raw/branch/main/rm-frpc.sh)"
|
2025-02-13 05:27:01 +00:00
|
|
|
````
|
|
|
|
|
2025-02-13 04:39:52 +00:00
|
|
|
## 修改 rocky的网络配置
|
|
|
|
```bash
|
|
|
|
ls /etc/NetworkManager/system-connections
|
|
|
|
vim /etc/NetworkManager/system-connections/ens192.nmconnection
|
|
|
|
----
|
|
|
|
[ipv4]
|
|
|
|
method=manual
|
|
|
|
address1=192.168.2.213/24,192.168.2.1
|
|
|
|
dns=8.8.8.8;8.8.4.4
|
2025-02-13 04:27:22 +00:00
|
|
|
````
|