Tiny Core Extensions > TCE Talk
User mirroring of the repo.
vinnie:
--- Quote from: bmarkus on February 22, 2011, 04:10:58 AM ---Torrent is not revolutionary and a single tracker represents a high risk as a potential point of failure. What would be really revolutionary a distrubuted P2P DHT network. There are different opensource working models which can be used as a basis.
Just an idea, but can be a good University project for someone :)
--- End quote ---
The idea of app browser based on p2p is new for me, i know torrent system, but I trust your word, if you say it's better in that way
beerstein:
Hi hiro:
It seems to me that you do almost the same, what I am doing.
I have four (older Pcs - max 1.6 Ghz and 500 MB RAM) and three notebooks.
Once in a while I add a new extension. Then, after a while I just copy the /tce over to the other
ones. I was not able to synchronize all my /tce 's - that would be too much work.
Do you think - just copying the /tce is good enough in terms of errors and/or missing files?
Should I rather tar the /tce , copy that tar thing over and un-tar at the other machine?
Until I red you message (thank you) I thougt a lightpd or apache with all my files (the ones I already have)
should do the trick.
I think there is a way to update the files you mentioned automatically. But how?
If we could find a few more members interested in this special thing, may be we can find a solution.
Have a good day
beerstein
PS: To all members - please let me know if you are interested in this subject
SamK:
--- Quote from: beerstein on February 23, 2011, 11:50:19 AM ---I think there is a way to update the files you mentioned automatically. But how?
--- End quote ---
In the past I have found this a capable app with various Ubuntu setups - Apt-Cacher NG.
http://www.unix-ag.uni-kl.de/~bloch/acng
With it running on the LAN, a software request from any other machine on the LAN is directed to ACNG. If the package or update is found in the ACNG cache it is made available to the requesting machine. If the software is not present in the ACNG cache it is obtained from the WAN repository, made available to the requesting machine, and added to the ACNG cache for future use. If my memory is accurate it also concurrently handles multiple versions of the distribution.
It is primarily (but not exclusively) aimed at Debian based distributions, however it might provide ideas or a starting point for someone with coding skills.
beerstein:
Thank you SamK for this lead. I am afraid I am not that good to do a project like this, but
may be I can find a member here.
hiro:
Just copying is fine.
Perhaps syncing tce dirs is not that important.
To load and update stuff on the mirror first we could write a tce-cache script for the clients like this:
--- Code: ---#!/bin/sh
ssh mirror tce-load -w $2
tce-load $1 $2
--- End code ---
Then edit the tce-load on the mirror to include something like this:
--- Code: ---wget `cat /opt/tcemirror`/3.x/tcz/$2.info
wget `cat /opt/tcemirror`/3.x/tcz/$2.list
--- End code ---
and create a cache-update script, but I don't know the content yet ;)
And then we would start the httpd and echo our.mirror > /opt/tcemirror on all our clients.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version