January 21, 2009

Configure The Proxy

Some networks in offices require that you use a web proxy (often referred to as an HTTP proxy). You’ll need to speak to your system administrator to see if your office uses a proxy. If it does, your administrator will most likely give you an address, which may take the form of a web address or an IP address.

Follow these steps to configure the proxy:
1. Open a GNOME Terminal window (Applications ➤ Accessories ➤ Terminal).
2. At the prompt, type the following to open the bash.bashrc file in Gedit:
sudo gedit /etc/bash.bashrc
3. Scroll to the bottom and add the following to the file:
export http_proxy=http://username:password@address:port_number/
Replace username and password with your own details. If your proxy doesn’t use usernames
and passwords, simply leave them out (type http_proxy=http://address:port_number/).
Replace address and port_number with the relevant details.
4. Add the line shown in step 3 to the /etc/username/.bashrc file in exactly the same way.
Open the file in Gedit and add the line to the bottom of the file.
5. Save the file, and then log out and back in again.

No comments:

Post a Comment