Tuesday, 2 October 2018

How to configure proxy settings with user authentication 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://<username>:<password>@<Proxy-Server-IP-Address>:<Proxy-Port>

For example:

[root@linuxcnf ~]# export {http,https,ftp}_proxy=http://<username>:<password>@

Run the following command to verify the variables:

[root@linuxcnf ~]# env|grep proxy
[root@linuxcnf ~]#

Now the proxy configured!!!


  1. This comment has been removed by the author.

  2. I can’t imagine focusing long enough to research; much less write this kind of article. You’ve outdone yourself with this material. This is great content. source

  3. I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers 안전놀이터

  4. Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you. 대전1인샵

  5. Assuming you need notice free surfing, you should pay for membership. Greatest namelessness and considerably more provisions are accessible for paid individuals, yet you can in any case ride the web from the proxy without paying anything. best vpn reddit

  6. People prefer to go with private proxy more, as it allows browsing to be much faster and reliable. SEOMoz says

  7. This article is an appealing wealth of useful informative that is interesting and well-written. I commend your hard work on this and thank you for this information. I know it very well that if anyone visits your blog, then he/she will surely revisit it again. digitogy

  8. Very nice article, I enjoyed reading your post, very nice share, I want to twit this to my followers. Thanks!. 바둑이게임

  9. When you use a genuine service, you will be able to provide instructions, share materials and choose the formatting style. lesmeilleursvpn