DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th September 2008
crayoxide crayoxide is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 46
Default Server updates through a proxy

After I do a clean install of FreeBSD, how can I get the server to talk though a proxy to get the updates it needs?

ie: freebsd-update, ports, et al.
Reply With Quote
  #2   (View Single Post)  
Old 24th September 2008
cerulean's Avatar
cerulean cerulean is offline
Port Guard
 
Join Date: May 2008
Location: Arizona
Posts: 18
Default

Set the environmental variables:

HTTP_PROXY=http://<proxyservername>:<proxyserverport>
FTP_PROXY=http://<proxyservername>:<proxyserverport>
export HTTP_PROXY FTP_PROXY
Reply With Quote
  #3   (View Single Post)  
Old 24th September 2008
crayoxide crayoxide is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 46
Default

Now for the really stupid question:



If I do a setenv, how will cron know what the proxy is?
Reply With Quote
  #4   (View Single Post)  
Old 24th September 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

You can set the variables within your crontab.
__________________
Kill your t.v.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Package Updates for OpenBSD 4.2 and 4.3 shep OpenBSD Packages and Ports 15 17th October 2009 02:39 PM
openbsd stables updates milo974 OpenBSD General 5 12th October 2008 06:46 PM
updates from openbsd errata milo974 OpenBSD General 10 24th September 2008 12:41 PM
setting up a proxy server in OpenBSD 4.3 jrake OpenBSD General 1 14th May 2008 06:43 PM


All times are GMT. The time now is 08:47 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick