apt.conf Ubuntu

Supaya masih bisa ngambil dari repository di dalam dan di luar ITB dimana kalo di dalam langsung aja di direct tanpa lewat proxy dapat dilakukan konfigurasi/etc/apt/apt.conf nya sebagai berikut :

http::Proxy::localhost DIRECT;

http::Proxy::167.205.0.0/16 DIRECT;

http::Proxy::*.itb.ac.id DIRECT;

Acquire::http::Proxy “http://username:password@cache1.itb.ac.id:8080″;

Semoga bermanfaat

Advertisements

2 comments so far

  1. feri on

    waktu install postgresql ga bisa mas kalo 8.2 malah lebih error katany

    sudo apt-get install postgresql-8.1 postgresql-8.1-pljava-gcj postgresql-client-8.1 postgresql-contrib-8.1 postgresql-client-common postgresql-common

    SystemError: E:Syntax error /etc/apt/apt.conf:8: Extra junk at end of file
    Python version: 2.5.1 final 0


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: