<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>briteming</author_name>
  <author_url>https://blog.hatena.ne.jp/briteming/</author_url>
  <blog_title>blog.hatena.ne.jp, 分类: https://briteming.hatenablog.com/categories</blog_title>
  <blog_url>https://briteming.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>方法1: 在终端中直接运行命令 1 export http_proxy=http://proxyAddress:port 这个办法的好处是简单直接，并且影响面很小（只对当前终端有效，退出就不行了）。 如果你用的是ss代理，在当前终端运行以下命令，那么wget curl 这类网络命令都会经过ss代理 1 export ALL_PROXY=socks5://127.0.0.1:1080 方法2: 把代理服务器地址写入shell配置文件.bashrc或者.zshrc 直接在.bashrc或者.zshrc添加下面内容 12 export http_proxy=&quot;http://localhost:por…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbriteming.hatenablog.com%2Fentry%2F2024%2F07%2F25%2F092854&quot; title=&quot;让终端走代理的几种方法  - blog.hatena.ne.jp, 分类: https://briteming.hatenablog.com/categories&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-07-25 09:28:54</published>
  <title>让终端走代理的几种方法 </title>
  <type>rich</type>
  <url>https://briteming.hatenablog.com/entry/2024/07/25/092854</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
