1. proxy.conf 파일 생성
sudo touch /etc/apt/apt.conf.d/proxy.conf
2. proxy.conf 파일에 다음 내용으로 프록시 설정
Acquire::http::Proxy "http://user:password@proxy.server:port/";
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