背景
在配置ocmanager的时候,里面的部署脚本都是使用的腾讯云内的服务,需要改仓库,又怕对不上版本,那么就利用腾讯云进行加速
配置步骤
确认内网地址
root@VM-0-12-ubuntu:~# ping mirror.ccs.tencentyun.com
PING mirror.ccs.tencentyun.com (169.254.0.51) 56(84) bytes of data.
进行转发
root@VM-0-12-ubuntu:~# socat TCP-LISTEN:443,fork,reuseaddr TCP:169.254.0.51:443
客户端进行修改hosts
cat /etc/hosts
腾讯云-ip mirror.ccs.tencentyun.com
上面配置完成后,运行相关的即可,就是使用mirror.ccs.tencentyun.com为前缀的加速地址即可

514

被折叠的 条评论
为什么被折叠?



