Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » Linux » APT Behind Proxy

APT Behind Proxy

APT Behind Proxy
Kalo Pingin ngejalanin APT get di Belakang Proxy
Jangan Lupa Tambahin Script ini ya …

root@ubuntuku:/var/www/test# cat /etc/apt/apt.conf.d/70debconf
// Pre-configure all packages with debconf before they are installed.
// If you don’t like it, comment it out.
DPkg::Pre-Install-Pkgs {“/usr/sbin/dpkg-preconfigure –apt || true”;};
ACQUIRE {
http::proxy “http://192.168.0.254:8080/”
}
// Artinya 192.168.0.254 adalah mesin Proxy
.:GoodLuck:.

Filed under: Linux

Leave a Reply

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>