侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

Centos 配置代理

2023-11-01 星期三 / 0 评论 / 0 点赞 / 47 阅读 / 571 字

配置代理网络# vi ~/.bash_profilehttp_proxy=http://172.20.36.21:80/https_proxy=http://172.20.36.21:80/ftp_p

配置代理网络

# vi ~/.bash_profilehttp_proxy=http://172.20.36.21:80/https_proxy=http://172.20.36.21:80/ftp_proxy=http://172.20.36.21:80/export http_proxyexport https_proxyexport ftp_proxy# source ~/.bash_profile

curl 配置代理

# socks需要用户名/密码curl --proxy-user uwo:123456 --socks5 172.20.36.21:80 'http://baidu.com/'# socks无需要用户名/密码curl --socks5 172.20.36.21:80 http://baidu.com/# 临时代理设置curl -x 172.20.36.21:80 http://baidu.com/

广告 广告

评论区