APT-GET behind PROXY

Setelah berhari-hari mencari cara untuk melakukan apt-get di balik proxy,
akhirnya berhasil juga setelah mengikuti langkah-langkah berikut ini:

1. Ketik sudo nano pada /home/username/.bashrc file
2. Menambahkan line berikut pada baris akhir di file tersebut:
export http_proxy=http://my.proxy.server:port/
export ftp_proxy=http://my.proxy.server:port/

3. Restart Ubuntu
4. Coba sudo apt-get update

Info lebih lanjut bisa juga dilihat disini

One thought on “APT-GET behind PROXY

  1. So, If the proxy is “proxy.sunan-ampel.ac.id” and the port is “8080” it should be
    export http_proxy=http://proxy.sunan-ampel.ac.id:8080/
    export ftp_proxy=http://proxy.sunan-ampel.ac.id:8080/
    isn’t it sir?!
    it seems like i want to install Ubuntu on my notebook , he2

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