Solved

CentOS, How do I configure the internet proxy

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

773 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