wget通过代理上网办法: 先安装ntlmaps设置好代理(步骤略) 方法一(只针对wget): # vi /etc/wgetrc 按a或i进入编辑模式 http_proxy = http://127.0.0.1:5865 use_proxy = on 按Esc键退出编辑模式 :wq (保存并退出) 方法二(wget和curl均适用): $ sudo vi /etc/profile 按a或i进入编辑模式 export http_proxy="http://127.0.0.1:5865" export https_proxy="http://127.0.0.1:5865" export ftp_proxy="http://127.0.0.1:5865" 按Esc键退出编辑模式 :wq (保存并退出) $ sudo source /etc/profile |
不良信息举报Q:2000617|Archiver|ROS软路由论坛 ROSABC.com 网络方案网络工程交流
GMT+8, 2025-10-27 00:54 , Processed in 0.028050 second(s), 15 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.