[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1076
  • Last Modified:

CentOS, How do I configure the internet proxy

Assuming the internet proxy is 10.11.12.13 2222, how do I configure it in CentOS?
0
rgbcof
Asked:
rgbcof
3 Solutions
 
Ernie BeekExpertCommented:
Try to set the following in /etc/profile :

HTTP_PROXY="http://yourproxy.yourdomain.com:80"
export HTTP_PROXY
0
 
Maciej SsysadminCommented:
It should be lower case.

export http_proxy=http://10.22.12.13:2222
0
 
madunixChief Information Security Officer Commented:
If  authentication is required do the following:
export http_proxy="http://username:password@host:port"
export ftp_proxy="http://username:password@host:port"
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now