LoginSignup
0
0

RaspberryPiでProxy設定をする

Posted at

Raspberry Pi で Proxy 設定をする

Raspberry Pi で Proxy 設定をする方法をまとめます.

各種設定ファイルの編集

/etc/apt/apt.conf.d/apt.conf
Acquire::http::Proxy "http://proxy.example.com:8080/";
Acquire::https::Proxy "http://proxy.example.com:8080/";
Acquire::ftp::Proxy "http://proxy.example.com:8080/";
Acquire::socks::Proxy "http://proxy.example.com:8080/";
/etc/environment
http_proxy=http://proxy.example.com:8080/
https_proxy=http://proxy.example.com:8080/
ftp_proxy=http://proxy.example.com:8080/
~/.bashrc
export http_proxy=http://proxy.example.com:8080/
export https_proxy=http://proxy.example.com:8080/
export ftp_proxy=http://proxy.example.com:8080/

完了.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0