报错如图显示:
问题解决:
修改app.yml文件,新增一条配置代码引入国内镜像源配置文件
- "templates/web.china.template.yml"
如果出现github.com报错的话需要设置一下代理
vim /etc/profile
# 添加自己实际情况,添加以下内容
export https_proxy=http://user:passwd@IP:58963
export all_proxy=socks5://IP:38476
# 执行生效
source /etc/profile
配置socks5代理
git config --global http.proxy socks5 127.0.0.1:7890
git config --global https.proxy socks5 127.0.0.1:7890
配置http代理
git config --global http.proxy 127.0.0.1:7890
git config --global https.proxy 127.0.0.1:7890
取消http代理
git config --global --unset http.proxy
git config --global --unset https.proxy
推荐意见