GenerationIP

Just for you

  • Increase font size
  • Default font size
  • Decrease font size
Home Documentation Howto Howto setup your linux to pass through proxy server with /etc/profile.d

Howto setup your linux to pass through proxy server with /etc/profile.d

E-mail Print PDF
User Rating: / 3
PoorBest 

Type : System
Operating System : Linux

If you have your linux server behind a proxy server this configuration can help you to pass through the proxy server.

SETUP

Go to the folder profile.d

# cd /etc/profile.d

Create a new file with vi :

# vi proxy.sh

Add those line :

#proxy.sh
export http_proxy=http://proxyserver:port/
export ftp_proxy=http://proxyserver:port/
export no_proxy=localhost,127.0.0.1
export HTTP_PROXY=http://proxyserver:port/
export FTP_PROXY=http://proxyserver:port/

Now, when you logon those value are loaded.

If you need to use autentification update the line like that :

http_proxy=http://user:passwd@proxyserver:port

 

Last Updated on Tuesday, 23 March 2010 22:10  

Share this article:

Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Kledy.de Social Bookmarking Add to:  FAV!T Social Bookmarking Add to: Favoriten.de Add to: Seekxl Add to: Social Bookmark Portal Add to: BoniTrust Add to: Power-Oldie Add to: Bookmarks.cc Add to: Newskick Add to: Newsider Add to: Linksilo Add to: Readster Add to: Yigg Add to: Linkarena Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: Jumptags Add to: Upchuckr Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Add to: Folkd Add to: Spurl Add to: Google Add to: Blinklist Information