Solved

CentOS, How do I configure the internet proxy

Posted on 2010-11-22
3
1,055 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

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

763 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