LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-08-2017, 05:50 AM   #1
minipop4747
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Rep: Reputation: Disabled
Configure Proxy settings in command line in CentOS6


I have configure http_proxy settings in /etc/profile

and configure DNS on /etc/resolv.conf by adding google DNS 8.8.8.8

But still I couldn't resolve the google DNS. ping 8.8.8.8 send reply packets as well

I need to configure proxy settings using command line only. Plz help me, if any body setup this kind of incident earlier.
 
Old 03-09-2017, 02:34 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
I guess we'd need to know exactly what kind of proxy this is. However I believe this is the correct way on 6. http://www.thesysadminhimself.com/20...on-centos.html

It may not work for all programs even if it is global.
 
  


Reply

Tags
dns, proxy



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to change system proxy settings from the command line on Ubuntu desktop LXer Syndicated Linux News 0 05-19-2015 10:35 PM
LXer: Quick Tips: Change System Proxy Settings via Command Line in Ubuntu Precise LXer Syndicated Linux News 0 05-02-2012 11:31 AM
Using nvidia-settings from the command line only 0ddba11 Linux - Software 17 05-04-2011 02:18 PM
Configure proxy settings globally for a machine instead of per-application setting 10110111 Linux - Networking 2 06-26-2009 07:38 AM
How to configure settings without Yast2 using the commande line lonecrow Linux - Software 15 11-04-2005 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration