###账号密码
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 -p 6667:6667 -p 20-21:20-21 -p 21100-21110:21100-21110 -p 554:554 -p 10166:10166 -p 98:98 -p 200:200 --name=ha --restart=always nas.fast-fun.cn:5000/zk/ha:0.21
sudo apt -y install nmap && nmap -n -v -sT -p 22 192.168.3.0/24 | grep 'open'
sudo echo 'Acquire::http::Proxy "http://192.168.3.251:6667/";' > /etc/apt/apt.conf