###账号密码
zhili zhiliwulian
sudo vi /etc/docker/daemon.json
{
"registry-mirrors":["https://auuzc4t8.mirror.aliyuncs.com"],
"insecure-registries":["0.0.0.0/0"],
"log-driver":"json-file",
"log-opts": {"max-size":"1024m", "max-file":"3"}
}
sudo systemctl restart docker
sudo docker load < frpc.tar && sudo docker load < vpn.tar && sudo docker load < agent.tar
xxx: 站名
num: 序号
curl http://git.fast-fun.cn:92/ruili-station/readme/raw/master/init-per.sh -o init-per.sh && sudo chmod a+x init-per.sh && bash init-per.sh xxx num
vpn密码: qx123456
如果只能ping 251其他IP不行,需要查看/etc/openvpn/ovpn_env.sh: 中的OVPN_BR_ETH_IF=enp2s0
sudo docker run -d \
-p 9001:9001 \
--name portainer_agent \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/docker/volumes:/var/lib/docker/volumes \
portainer/agent:2.19.1
sudo docker run -d --network host --name ha --restart=always nas.fast-fun.cn:5000/zk/ha:0.10