How to configure the proxy setting in linux (set and unset the proxy setting)
What Is a Proxy Server and How Does It Work?
1. A proxy server is a device or router that acts as a connection point for
users and the internet.
2. As a result, it aids in the prevention of cyber-attacks on a private network.
3. It's a server that acts as a "intermediary" between end-users and the web pages they browse on the internet.
By using terminal, we are going to set a proxy
1. HTTP proxy: By using below command you
can able to export the http_proxy

2. By using below command, you can verify the proxy is fixed or not

3. HTTPs proxy: By using below command, you can able
to export the https_proxy

4. By using below command, you can verify the proxy is fixed or not

Set your proxy settings from your desktop
1. Go to application icon and select the setting option.
2. And select the Network option

3. Select the
Network Proxy


4. The dialogue
box should now be closed. Your preferences will be remembered automatically.
Set your proxy settings for all users.
1. To do this task, you'll need root or sudo privileges.
2. /etc/environment is a file seen in all Ubuntu and Debian editions.

4. Add the
lines below, changing them to suit your needs. If not required, the username
and password can be omitted.

For
instance,

5. Exit the
text editor after saving your changes.
To unset
a Proxy setting
1. By using below command, you can able to unset or remove a proxy

2. By using
below command, you can verify, whether the proxy is removed or not.

3. Some time it
will not reflected, in that time you can try with below steps
4. open /etc/environment into a text editor.
4. open /etc/environment into a text editor.

5. Uncommand
the proxy setting in /etc/environment

The session was completed.
Comments
Post a Comment