31 lines
843 B
Markdown
31 lines
843 B
Markdown
## 安装docker
|
|
````bash
|
|
curl -sSL https://git.soao.net/lc/my/raw/branch/main/docker.sh -o docker.sh && sh docker.sh
|
|
````
|
|
|
|
## 更换rocky-linux的软件源
|
|
````bash
|
|
curl -sSL https://git.soao.net/lc/my/raw/branch/main/rocky-cn.sh -o rocky-cn.sh && sh rocky-cn.sh
|
|
````
|
|
|
|
## 安装 mysql 脚本
|
|
````bash
|
|
curl -sSL https://git.z1.mk/lc/my/raw/branch/main/mysql.sh -o mysql.sh && sh mysql.sh
|
|
````
|
|
|
|
## 一键安装/卸载 frpc 脚本
|
|
```bash
|
|
curl -sSL https://git.soao.net/lc/my/raw/branch/main/frpc.sh -o frpc.sh && sh frpc.sh
|
|
sudo bash -c "$(curl -fsSL https://git.soao.net/lc/my/raw/branch/main/rm-frpc.sh)"
|
|
````
|
|
|
|
## 修改 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
|
|
```` |