摘要: 代理配置 公司内部无法使用git直接下载github等外部git仓库的代码,需要通过代理,代理设置如下: git config --global http.proxy http://username:password@proxycn2.huawei.com:8080 git config --glo 阅读全文
posted @ 2023-06-19 17:23 易先讯 阅读(663) 评论(0) 推荐(1) 编辑
摘要: 1.踢掉其他用户 meTest=$(who i am |awk '{print $5}'); for i in `who |grep -v $meTest | awk '{print $2}'`; do pkill -9 -t $i; done 2. 阅读全文
posted @ 2023-06-19 15:07 易先讯 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 我们在服务器上面git pull codehub代码的时候会遇到Received HTTP code 504 from proxy after CONNECT,这个报错多数是因为代理配置的问题。 从以下两个方向进行排查: 1. 确认服务器/虚拟机是否配置了全局代理。 检查/etc/profile中是 阅读全文
posted @ 2023-06-19 13:57 易先讯 阅读(1922) 评论(0) 推荐(0) 编辑