Raspbian 프록시 설정 요약
apt-get
export http_proxy="http://USERNAME:PASSWORD@IP:PORT/"
export https_proxy="http://USERNAME:PASSWORD@IP:PORT/"
export ftp_proxy="http://USERNAME:PASSWORD@IP:PORT/"
 시간
프록시 경유라면 ntp가 효과가 없다.
다음 명령 다음에 reboot로 시간을 맞춥니다.
date --set @"$(wget -q https://ntp-a1.nict.go.jp/cgi-bin/jst -O - | sed -n 4p | cut -d. -f1)"
 chromium
옵션을 켜서 시작하거나 플러그인을 넣는가?
플러그인을 넣으면 통상 기동으로 프록시를 사용할 수 있다.
아래 명령으로 chromium을 시작하고 Chrome 웹 스토어에서 플러그인 'Proxy SwitchyOmega'를 추가합니다.
chromium-browser --proxy-server=https=IP:PORT
추가가 끝나면 다음과 같이 설정하고 "Apply change"를 누릅니다.
※ 시각이 맞지 않으면 플러그인을 추가 할 수없는 것 같습니다.
 
 wget
/etc/wgetrc 의 You can set the default proxies...
/etc/wgetrchttp_proxy="http://USERNAME:PASSWORD@IP:PORT/"
https_proxy="http://USERNAME:PASSWORD@IP:PORT/"
ftp_proxy="http://USERNAME:PASSWORD@IP:PORT/"
 git
git config --global http.proxy http://IP:PORT
git config --global https.proxy http://IP:PORT
 파이썬
파이썬의 요청 모듈은 대문자 지정 만 읽는 것 같습니다.
export HTTP_PROXY="http://USERNAME:PASSWORD@IP:PORT/"
export HTTPS_PROXY="http://USERNAME:PASSWORD@IP:PORT/"
export FTP_PROXY="http://USERNAME:PASSWORD@IP:PORT/"
 pip install
pip는 옵션에 붙일 수밖에 없다
pip install もじゅーる --proxy="http://USERNAME:PASSWORD@IP:PORT/"
SSL 인증 시스템 오류가 있으면 다음 옵션을 추가하는 것이 좋습니다.
 --trusted-host pypi.org --trusted-host www.piwheels.org
 curl
-x로 지정
curl ~~ -x http://IP:PORT
 도커
 데몬
sudo mkdir -p /etc/systemd/system/docker.service.d
echo -e "[Service]\nEnvironment=\"HTTP_PROXY=http://IP:PORT\"" | sudo tee /etc/systemd/system/docker.service.d/http-proxy.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
 container
mkdir ~/.docker
nano ~/.docker/config.json
{
    "proxies":
    {
        "default":
        {
            "httpProxy": "http://IP:PORT"
        }
    }
}
 npm
sudo npm -g config set proxy "http://USERNAME:PASSWORD@IP:PORT/"
sudo npm -g config set https-proxy "http://USERNAME:PASSWORD@IP:PORT/"
sudo npm -g config set registry "http://registry.npmjs.org/"
                
                    
        
    
    
    
    
    
                
                
                
                
                    
                        
                            
                            
                            Reference
                            
                            이 문제에 관하여(Raspbian 프록시 설정 요약), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
                                
                                https://qiita.com/koyayashi/items/bf158951beeccb446d44
                            
                            
                            
                                텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                            
                            
                                
                                
                                 우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                            
                            
                        
                    
                
                
                
            
export http_proxy="http://USERNAME:PASSWORD@IP:PORT/"
export https_proxy="http://USERNAME:PASSWORD@IP:PORT/"
export ftp_proxy="http://USERNAME:PASSWORD@IP:PORT/"
프록시 경유라면 ntp가 효과가 없다.
다음 명령 다음에 reboot로 시간을 맞춥니다.
date --set @"$(wget -q https://ntp-a1.nict.go.jp/cgi-bin/jst -O - | sed -n 4p | cut -d. -f1)"
chromium
옵션을 켜서 시작하거나 플러그인을 넣는가?
플러그인을 넣으면 통상 기동으로 프록시를 사용할 수 있다.
아래 명령으로 chromium을 시작하고 Chrome 웹 스토어에서 플러그인 'Proxy SwitchyOmega'를 추가합니다.
chromium-browser --proxy-server=https=IP:PORT
추가가 끝나면 다음과 같이 설정하고 "Apply change"를 누릅니다.
※ 시각이 맞지 않으면 플러그인을 추가 할 수없는 것 같습니다.
 
 wget
/etc/wgetrc 의 You can set the default proxies...
/etc/wgetrchttp_proxy="http://USERNAME:PASSWORD@IP:PORT/"
https_proxy="http://USERNAME:PASSWORD@IP:PORT/"
ftp_proxy="http://USERNAME:PASSWORD@IP:PORT/"
 git
git config --global http.proxy http://IP:PORT
git config --global https.proxy http://IP:PORT
 파이썬
파이썬의 요청 모듈은 대문자 지정 만 읽는 것 같습니다.
export HTTP_PROXY="http://USERNAME:PASSWORD@IP:PORT/"
export HTTPS_PROXY="http://USERNAME:PASSWORD@IP:PORT/"
export FTP_PROXY="http://USERNAME:PASSWORD@IP:PORT/"
 pip install
pip는 옵션에 붙일 수밖에 없다
pip install もじゅーる --proxy="http://USERNAME:PASSWORD@IP:PORT/"
SSL 인증 시스템 오류가 있으면 다음 옵션을 추가하는 것이 좋습니다.
 --trusted-host pypi.org --trusted-host www.piwheels.org
 curl
-x로 지정
curl ~~ -x http://IP:PORT
 도커
 데몬
sudo mkdir -p /etc/systemd/system/docker.service.d
echo -e "[Service]\nEnvironment=\"HTTP_PROXY=http://IP:PORT\"" | sudo tee /etc/systemd/system/docker.service.d/http-proxy.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
 container
mkdir ~/.docker
nano ~/.docker/config.json
{
    "proxies":
    {
        "default":
        {
            "httpProxy": "http://IP:PORT"
        }
    }
}
 npm
sudo npm -g config set proxy "http://USERNAME:PASSWORD@IP:PORT/"
sudo npm -g config set https-proxy "http://USERNAME:PASSWORD@IP:PORT/"
sudo npm -g config set registry "http://registry.npmjs.org/"
                
                    
        
    
    
    
    
    
                
                
                
                
                    
                        
                            
                            
                            Reference
                            
                            이 문제에 관하여(Raspbian 프록시 설정 요약), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
                                
                                https://qiita.com/koyayashi/items/bf158951beeccb446d44
                            
                            
                            
                                텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                            
                            
                                
                                
                                 우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                            
                            
                        
                    
                
                
                
            
chromium-browser --proxy-server=https=IP:PORT
/etc/wgetrc 의 You can set the default proxies.../etc/wgetrc
http_proxy="http://USERNAME:PASSWORD@IP:PORT/"
https_proxy="http://USERNAME:PASSWORD@IP:PORT/"
ftp_proxy="http://USERNAME:PASSWORD@IP:PORT/"
git
git config --global http.proxy http://IP:PORT
git config --global https.proxy http://IP:PORT
 파이썬
파이썬의 요청 모듈은 대문자 지정 만 읽는 것 같습니다.
export HTTP_PROXY="http://USERNAME:PASSWORD@IP:PORT/"
export HTTPS_PROXY="http://USERNAME:PASSWORD@IP:PORT/"
export FTP_PROXY="http://USERNAME:PASSWORD@IP:PORT/"
 pip install
pip는 옵션에 붙일 수밖에 없다
pip install もじゅーる --proxy="http://USERNAME:PASSWORD@IP:PORT/"
SSL 인증 시스템 오류가 있으면 다음 옵션을 추가하는 것이 좋습니다.
 --trusted-host pypi.org --trusted-host www.piwheels.org
 curl
-x로 지정
curl ~~ -x http://IP:PORT
 도커
 데몬
sudo mkdir -p /etc/systemd/system/docker.service.d
echo -e "[Service]\nEnvironment=\"HTTP_PROXY=http://IP:PORT\"" | sudo tee /etc/systemd/system/docker.service.d/http-proxy.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
 container
mkdir ~/.docker
nano ~/.docker/config.json
{
    "proxies":
    {
        "default":
        {
            "httpProxy": "http://IP:PORT"
        }
    }
}
 npm
sudo npm -g config set proxy "http://USERNAME:PASSWORD@IP:PORT/"
sudo npm -g config set https-proxy "http://USERNAME:PASSWORD@IP:PORT/"
sudo npm -g config set registry "http://registry.npmjs.org/"
                
                    
        
    
    
    
    
    
                
                
                
                
                    
                        
                            
                            
                            Reference
                            
                            이 문제에 관하여(Raspbian 프록시 설정 요약), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
                                
                                https://qiita.com/koyayashi/items/bf158951beeccb446d44
                            
                            
                            
                                텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                            
                            
                                
                                
                                 우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                            
                            
                        
                    
                
                
                
            
git config --global http.proxy http://IP:PORT
git config --global https.proxy http://IP:PORT
파이썬의 요청 모듈은 대문자 지정 만 읽는 것 같습니다.
export HTTP_PROXY="http://USERNAME:PASSWORD@IP:PORT/"
export HTTPS_PROXY="http://USERNAME:PASSWORD@IP:PORT/"
export FTP_PROXY="http://USERNAME:PASSWORD@IP:PORT/"
pip install
pip는 옵션에 붙일 수밖에 없다
pip install もじゅーる --proxy="http://USERNAME:PASSWORD@IP:PORT/"
SSL 인증 시스템 오류가 있으면 다음 옵션을 추가하는 것이 좋습니다.
 --trusted-host pypi.org --trusted-host www.piwheels.org
 curl
-x로 지정
curl ~~ -x http://IP:PORT
 도커
 데몬
sudo mkdir -p /etc/systemd/system/docker.service.d
echo -e "[Service]\nEnvironment=\"HTTP_PROXY=http://IP:PORT\"" | sudo tee /etc/systemd/system/docker.service.d/http-proxy.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
 container
mkdir ~/.docker
nano ~/.docker/config.json
{
    "proxies":
    {
        "default":
        {
            "httpProxy": "http://IP:PORT"
        }
    }
}
 npm
sudo npm -g config set proxy "http://USERNAME:PASSWORD@IP:PORT/"
sudo npm -g config set https-proxy "http://USERNAME:PASSWORD@IP:PORT/"
sudo npm -g config set registry "http://registry.npmjs.org/"
                
                    
        
    
    
    
    
    
                
                
                
                
                    
                        
                            
                            
                            Reference
                            
                            이 문제에 관하여(Raspbian 프록시 설정 요약), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
                                
                                https://qiita.com/koyayashi/items/bf158951beeccb446d44
                            
                            
                            
                                텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                            
                            
                                
                                
                                 우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                            
                            
                        
                    
                
                
                
            
pip install もじゅーる --proxy="http://USERNAME:PASSWORD@IP:PORT/"
 --trusted-host pypi.org --trusted-host www.piwheels.org
-x로 지정
curl ~~ -x http://IP:PORT
도커
 데몬
sudo mkdir -p /etc/systemd/system/docker.service.d
echo -e "[Service]\nEnvironment=\"HTTP_PROXY=http://IP:PORT\"" | sudo tee /etc/systemd/system/docker.service.d/http-proxy.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
 container
mkdir ~/.docker
nano ~/.docker/config.json
{
    "proxies":
    {
        "default":
        {
            "httpProxy": "http://IP:PORT"
        }
    }
}
 npm
sudo npm -g config set proxy "http://USERNAME:PASSWORD@IP:PORT/"
sudo npm -g config set https-proxy "http://USERNAME:PASSWORD@IP:PORT/"
sudo npm -g config set registry "http://registry.npmjs.org/"
                
                    
        
    
    
    
    
    
                
                
                
                
                    
                        
                            
                            
                            Reference
                            
                            이 문제에 관하여(Raspbian 프록시 설정 요약), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
                                
                                https://qiita.com/koyayashi/items/bf158951beeccb446d44
                            
                            
                            
                                텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                            
                            
                                
                                
                                 우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                            
                            
                        
                    
                
                
                
            
sudo mkdir -p /etc/systemd/system/docker.service.d
echo -e "[Service]\nEnvironment=\"HTTP_PROXY=http://IP:PORT\"" | sudo tee /etc/systemd/system/docker.service.d/http-proxy.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
mkdir ~/.docker
nano ~/.docker/config.json
{
    "proxies":
    {
        "default":
        {
            "httpProxy": "http://IP:PORT"
        }
    }
}
sudo npm -g config set proxy "http://USERNAME:PASSWORD@IP:PORT/"
sudo npm -g config set https-proxy "http://USERNAME:PASSWORD@IP:PORT/"
sudo npm -g config set registry "http://registry.npmjs.org/"
Reference
이 문제에 관하여(Raspbian 프록시 설정 요약), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/koyayashi/items/bf158951beeccb446d44텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                                
                                
                                
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)