Tuesday, 2 October 2018

How to configure proxy settings in CentOS 7



Set the following proxy environment variables in CentOS server to use a proxy on the Linux command-line if the internet connection is behind a proxy:

[root@linuxcnf ~]# export {http,https,ftp}_proxy=http://<Proxy-Server-IP-Address>:<Proxy-Port>

For example:

[root@linuxcnf ~]# export {http,https,ftp}_proxy=http://192.168.43.12:8080/

Run the following command to verify the variables:

[root@linuxcnf ~]# env|grep proxy
http_proxy=http://192.168.43.12:8080/
ftp_proxy=http://192.168.43.12:8080/
https_proxy=http://192.168.43.12:8080/
[root@linuxcnf ~]#

Now the proxy configured!!!

1 comment:

  1. Alterations Boutique offers professional suit alterations, dress alterations, and wedding dress alterations in London. Their expert tailors provide precision adjustments to ensure a perfect fit for every garment, whether it's a suit, dress, or bridal gown. With personalized service and years of experience, they are dedicated to delivering the highest quality alterations. For more details, visit Alterations Boutique. proxysite.guru

    ReplyDelete