• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1080
  • 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
 
madunixCommented:
If  authentication is required do the following:
export http_proxy="http://username:password@host:port"
export ftp_proxy="http://username:password@host:port"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

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