[How To] Zypper up behind a proxy server

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

[How To] Zypper up behind a proxy server

Postby shijujoe » Sun Feb 27, 2011 11:52 pm

If you are behind a proxy server you can follow the following steps to do a zypper upgrade on your vicibox server.

1.create a .bashrc file under /root and add the following lines in it

cd /root
vim .bashrc
"Type the following lines"

function proxy(){
export http_proxy="http://proxy.username:proxypassword@proxyipaddress:portnumber"
export ftp_proxy="http://proxy.username:proxypassword@proxyipaddress:portnumber"
}

save file .bashrc

2.Logout from terminal and login again as root (since .bashrc scripts are logon scripts)

3.Type "proxy" at the # prompt and hit enter

4.Test the internet connection by "wget google.com" , if an index.html file is saved you are good to go

5.Now you can zypper up

This worked for me , thought it may help who may be in similar network scenario
ViciBox Server v.3.1 from ViciBox_Redux.i686-3.1.3.iso| Vicidial VERSION: 2.2.1-237 BUILD: 100510-2015| Asterisk 1.4.38 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation
shijujoe
 
Posts: 13
Joined: Sat Jan 08, 2011 2:24 am

Postby williamconley » Mon Feb 28, 2011 10:58 pm

excellent contribution :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 102 guests