Jump to content

6.11.X插件更新走代理问题终于解决了


Recommended Posts

困扰我很长时间的问题,各种代理设置都对插件更新不起作用,原因是插件更新通过wget,终于找到解决方案。

/root下新建.wgetrc文件

填入内容

use_proxy=yes

http_proxy=http://10.0.0.2:7890

https_proxy=http://10.0.0.2:7890

wait=10

 

原文

 

 

Edited by zhangduo
Link to comment
On 11/21/2022 at 7:28 PM, wbh said:

6.11.3测试无效。

还有/root下的文件重启不就没了吗

可以写进go文件里,我的目前6.11.5没问题

echo "use_proxy=yes" >> /root/.wgetrc
echo "http_proxy=http://192.168.3.9:7890" >> /root/.wgetrc
echo "https_proxy=http://192.168.3.9:7890" >> /root/.wgetrc
echo "wait=10" >> /root/.wgetrc

IP别忘了改成自己的

  • Like 3
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...