November 8, 2009 · General · Email This Post

Sponsored Link
If you are having ubuntu desktop/laptop in your office or home behind proxy this tutorial is for you.This tutorial will explain How to Configure Ubuntu desktop/laptop to use your proxy server.

Network Proxy

Ubuntu has a setting in gnome for the Network Proxy, which should set gnome’s proxy.

First go to System--->Preferences--->Network Proxy

1

Once it opens click on "Proxy Configuration" and enter your proxy server,port number details click Close.

2

Synaptic Package Manager

Synaptic Package Manager must have the proxy set, in order to update your installation using the in-built Update Manager or Synaptic GUI.

Go to System--->Administration--->Synaptic Package Manager

3

Once Synaptic Package Manager opens click on Settings--->Preferences

4

Click on Network tab select Manual Proxy Configuration option and enter your proxy server,port details.If you have username,password click on Authentication to enter these details click on ok

5

Firefox proxy Configuration

Open your firefox browser go to Edit--->Preferences

6

Click on Advanced and select Network tab

7

Select Settings option

8

Now select Manual Proxy Configuration and enter your proxy server,port details click on ok

9

Terminal Proxy

If you want to configure proxy for apt-get,aptitude,wget use the following procedure

First you need to edit /etc/bash.bashrc file

gksudo gedit /etc/bash.bashrc

Add your proxy server details in the following format

export http_proxy=http://username:password@proxyhost:port/
export ftp_proxy=http://username:password@proxyhost:port/

Save and exit the file

Update the source list and you can restart your system

sudo apt-get update

Sponsored Link

Incoming search terms:

Related posts

39 Comments to “How to Configure Ubuntu desktop to use your proxy server”

  1. Tata says:

    I can’t understand what they told for to change the proxy setting for ubuntu terminal.please help me clearly i am new ubuntu .

    we are using college server in this every time opening firefox it shows squid proxy caching server require username and password .By giving username and password after enter ok then it shows can access internet , but in terminal we cannot able to update anything

    [Reply]

Leave a Reply