Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Thu Jul 24, 2014 10:43 pm

All times are UTC - 8 hours


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 9 posts ] 
Author Message
Unread postPosted: Wed Sep 17, 2003 12:34 pm 
Offline

Joined: Sun Mar 23, 2003 4:55 pm
Posts: 64
Once again, thanks all (esp Lisp) for answering my question regarding automatic startup via command line :-)

Got another Q... I want to setup a local mirror of all the freeware from freeware.sgi.com. I noticed you can install everything by using: http://freeware.sgi.com/Inst/

What I was wondering is if I mirror everything on a machine at my house, setup a directory called /Inst/ put that text file in there, then put all the tardist's in there if I could just load it up from my one of my local machines by using something like: http://192.168.1.7/Inst/ as the sounce for the installation...

Make sense?

Thanks as always :-)

Eric


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Sep 17, 2003 11:55 pm 
Offline

Joined: Fri Apr 18, 2003 12:32 pm
Posts: 260
Location: Vleuten, The Netherlands
Should probably work.
Personally I mirrored the cd-1 - cd-4 directories into one directory at my Origin (made a Perl script for that). And this freeware directory is placed on a NFS export that I mount on other SGI's that need some Freeware package, works very well.


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Sep 18, 2003 2:01 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 5:10 am
Posts: 2931
Location: Maryland, USA
When you say "mirror", do you just mean ftp'd all the files to your local machine...or something slicker like rsync?


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Sep 18, 2003 4:59 am 
Offline

Joined: Sun Mar 23, 2003 4:55 pm
Posts: 64
By mirror, I mean I'd just ftp everything in and slap it in a directory on either one of my other SGI's or just throw up a webserver on another machine just for taking care of freeware from time to time.


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Sep 18, 2003 5:17 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 5:10 am
Posts: 2931
Location: Maryland, USA
Thanks. As you might guess, I've been thinking about using rsync for mirror a CVS reposiitory to maintain some redundancy.


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Sep 18, 2003 5:59 am 
Offline

Joined: Thu Aug 28, 2003 10:45 am
Posts: 256
Location: Belgium
Hello,

Just do what they suggest on their site. Use wget -m.
It will automatically deal with new/same/old version etc...
Wget is made for that...

@+

LoWeN

_________________
UX powered


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Sep 18, 2003 9:15 am 
Offline
User avatar

Joined: Wed Feb 05, 2003 5:23 am
Posts: 274
Location: England
Don't do any of that wget crap.

Create a directory for the freeware to live in. For the purposes of this, that'll be $FREEWAREROOT.

Now create a script, personally, I'd recommend /usr/local/sbin/freewaresync

Put this in it:

Code:
#!/bin/bash
rsync -avzPS --stats freeware.sgi.com::freeware/cd* $FREEWAREROOT
rsync -avzPS --stats freeware.sgi.com::freeware/Inst $FREEWAREROOT


Replacing $FREEWAREROOT with thew directory you created earlier.

Now add a cron entry to run this script - it's probably best to run it once a month or so.

You will now have a beautiful mirror. It'll give you the CD directories ($FREEWAREROOT/cd*), which you can burn off and give to your broadbandless friends. More importantly, it'll create an Inst directory ($FREEWARE/Inst) full of symlinks which you can give to swmgr, giving you access to all the freeware packages. Even better, you don't have to think about redownloading when it's updated.

_________________
--
lisa


Top
 Profile  
 
 Post subject:
Unread postPosted: Fri Sep 19, 2003 12:27 am 
Offline

Joined: Thu Aug 28, 2003 10:45 am
Posts: 256
Location: Belgium
Hello,

Many thanks for your personnal input lisp.
But ...
If he did this from home and have full liberty ok it will work.
Here at work I have to deal with a firewall and a proxy... and they don't like rsync but seems to accept wget...

So...

@+

LoWeN

_________________
UX powered


Top
 Profile  
 
 Post subject:
Unread postPosted: Mon Sep 22, 2003 2:55 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 5:10 am
Posts: 2931
Location: Maryland, USA
Thanks you both for the help.

I do have security issues, so I'll try it both ways. Also, I know that rsync can tunnel through ssh, I just need to figure out the interface.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group