Service/mirrors: Difference between revisions
Added a tutorial |
Add considerations |
||
| Line 16: | Line 16: | ||
The current list of available mirrors is available at http://mirrors.sugarlabs.org/ | The current list of available mirrors is available at http://mirrors.sugarlabs.org/ | ||
== Considerations == | |||
=== Bandwidth === | |||
To run a mirror you need a lot of bandwidth! You should look at [the total bandwidth used by all the mirrors mirrors. http://stats.sugarlabs.org/download.sugarlabs.org/]. | |||
If you have trouble with bandwidth you should look at [CloudFlare http://www.cloudflare.com]. | |||
=== HDD Space === | |||
Hosting a mirror takes a lot of space. If you don't have a lot of space you can only choose to mirror some parts. For example exclude all directories but the activities (~13gb): | |||
rsync -avzh rsync://download.sugarlabs.org/pub --exclude 'dextrose' --exclude 'hexoquinasa' --exclude 'images' --exclude 'sources' --exclude 'docs' --exclude 'packages' --exclude 'soas' /rsync/download.sugarlabs.org | |||
== Setting up a new mirror == | == Setting up a new mirror == | ||