my/readme.MD

19 lines
500 B
Plaintext
Raw Normal View History

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
````
## 修改 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
````