How do I configure proxies client on Ubuntu 15.10 ?

if you are having ubuntu PC in your office or home behind proxy this tutorial is for you. This tutorial will explain how to configure Ubuntu PC to use your proxy server.


# add follows to the end (set proxy settings to the environment variables)
export HTTP_PROXY HTTPS_PROXY FTP_PROXY http_proxy https_proxy ftp_proxy
root@client:~# source /etc/profile
# it's OK all, but it's possible to set proxy settings for each application like follows

# for apt

root@client:~# vi /etc/apt/apt.conf
# create new

Acquire::http::proxy "http://yourUser:yourpass@yourProxyServer:3128/";
Acquire::https::proxy "https://yourUser:yourpass@yourProxyServer:3128/";
Acquire::ftp::proxy "ftp://yourUser:yourpass@yourProxyServer:3128/";

# for wget

root@client:~# vi /etc/wgetrc
# add to the end

http_proxy = http://yourUser:yourpass@yourProxyServer:3128/
https_proxy = http://yourUser:yourpass@yourProxyServer:3128/
ftp_proxy = http://yourUser:yourpass@yourProxyServer:3128/ 


Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:


You are commenting using your account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s