I have configure settings in /etc/profile. My proxy client settings has usernames and password so I have put below line in profile file
export http_proxy=http://username:password@192.168.x.x:8080/
apart from that I have created proxy.sh file under /etc/profile.d/ and put the same proxy configuration line to it as well
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
First I observe this DNS issue when I received the below error message
curl: (6) Couldn't resolve host 'packages.graylog2.org'
I need to configure proxy settings using command line only. Plz help me, if any body setup this kind of incident earlier.
Properly configure Proxy client settings via command line
-
- Posts: 1
- Joined: 2017/03/09 05:53:06
Re: Properly configure Proxy client settings via command line
What did you get by run command: echo $http_proxy
BTW: you can set it globally in: /etc/environment
BTW: you can set it globally in: /etc/environment