Archive for category Linux
System proxy settings in LINUX
Setting up proxy is an important thing for those who are behind proxy firewall.Proxy is a intermediate firewall sever which provide connection to internet and various internal servers using authentication.
To setup proxy in linux, there are two ways this can be done using the
- GUI tool or
- Command mode.
GUI tool :
Type the below command in your terminal to access the network proxy prefrences GUI tool.
gnome-network-preferences
You will find three buttons to check.
- Use no proxy
- Manual Proxy configuration
- Automatic proxy detection
Check Manual Proxy configuration and enter your corresponding proxy server address and port number to continue browsing.
Command mode:
There is few system variables which are used to detect proxy configuration in Linux systems. That is http_proxy, https_proxy, ftp_proxy, … and other few to use gopher, SOCKS.
To set up proxy connection in your system you can do this by typing the below command in your terminal.
set http_proxy=http://<username>:<password>@<proxy server>:<port>/
set https_proxy=https://<username>:<password>@<proxy server>:<port>/
set ftp_proxy=ftp://<username>:<password>@<proxy server>:<port>/
The above commands will set the proxy setting for the respective terminal. To do system wide changes you should export the variable.
export http_proxy=http://<username>:<password>@<proxy server>:<port>/
export https_proxy=https://<username>:<password>@<proxy server>:<port>/
export ftp_proxy=ftp://<username>:<password>@<proxy server>:<port>/


Recent Comments