1 安装cns
第一步输入这个
`type curl &>/dev/null && echo 'curl -O' || echo 'wget -O cns.sh'` http://binary.quicknet.cyou/cns/cns.sh && sh cns.sh
回车
第二步输入这个
6688
回车
第三步输入
123456
回车,然后一直回车,直到结束
第四步输入这个
systemctl enable cns.service
回车
2 安装ddns
第一步输入这个
docker pull jeessy/ddns-go
回车
第二步输入这个
docker run -d --name ddns-go --restart=always --net=host -v /opt/ddns-go:/root jeessy/ddns-go
回车
网友评论