1. proxy.conf 파일 생성

sudo touch /etc/apt/apt.conf.d/proxy.conf

 

2. proxy.conf 파일에 다음 내용으로 프록시 설정

Acquire::http::Proxy "http://user:password@proxy.server:port/";

 

 

https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-set-the-proxy-for-apt-for-ubuntu-18-04/

 

How to Set the Proxy for APT on Ubuntu 18.04 - Serverlab

Learn how to set APT proxy settings on Ubuntu Server to allow packages from remote repositories to be installed and updated when behind a proxy server.

www.serverlab.ca

 

+ Recent posts