E.F.A. Update/Upgrade behind a proxy server

Questions and answers about how to do stuff
Post Reply
kettchenkuno
Posts: 5
Joined: 23 Apr 2014 13:40

E.F.A. Update/Upgrade behind a proxy server

Post by kettchenkuno »

Hey Guys,

if you're trapped behind a proxy server (like me), than you need to configure some proxy settings for different tools. I will share my exp. here:

global proxy variable:

edit file /etc/environment or ~/.bashrc

Code: Select all

export {http,https,ftp}_proxy='http://user:password@prox-server:port'
edit file /etc/wgetrc for wget

Code: Select all

http_proxy = http://Proxy-IP-Adresse:Port/
https_proxy = http://Proxy-IP-Adresse:Port/
edit file /etc/yum.conf for yum

Code: Select all

proxy=http://Proxy-IP-Adresse:Port
sudo visudo for rpm
go to section with 'Defaults' and add this rows

Code: Select all

Defaults env_keep += „http_proxy“
Defaults env_keep += „https_proxy“
edit file /etc/freshclam.conf for clamav
there is a section # Proxy settings where you can remove the leading # and add your proxy host and port

Code: Select all

#HTTPProxyServer myproxy.com
#HTTPProxyPort 1234
#HTTPProxyUsername myusername
#HTTPProxyPassword mypass

My proxy doesn't require any client auth. so it was ok just add ip an port. If you need auth, you have to add your user:password right after the 'http://'' (like the expample for the global proxy setting).
Maybe you have to disable some download restrictions on your proxy too.

Have fun
kk
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: E.F.A. Update/Upgrade behind a proxy server

Post by darky83 »

Made the post sticky for future reference, might be usefull for some :)
Version eFa 4.x now available!
Post Reply