美文网首页
CentOS安装cns和ddns

CentOS安装cns和ddns

作者: Armlinux | 来源:发表于2023-04-19 20:26 被阅读0次

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

回车

相关文章

网友评论

      本文标题:CentOS安装cns和ddns

      本文链接:https://www.haomeiwen.com/subject/ptypddtx.html