Solved

CentOS, How do I configure the internet proxy

Posted on 2010-11-22
3
1,060 Views
Last Modified: 2012-05-10
Assuming the internet proxy is 10.11.12.13 2222, how do I configure it in CentOS?
0
Comment
Question by:rgbcof
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Accepted Solution

by:
Ernie Beek earned 150 total points
ID: 34194778
Try to set the following in /etc/profile :

HTTP_PROXY="http://yourproxy.yourdomain.com:80"
export HTTP_PROXY
0
 
LVL 23

Assisted Solution

by:Maciej S
Maciej S earned 50 total points
ID: 34195500
It should be lower case.

export http_proxy=http://10.22.12.13:2222
0
 
LVL 25

Assisted Solution

by:madunix
madunix earned 50 total points
ID: 34204508
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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question