If you would like to support the GRASS community, do not hesitate to set up your mirror site. Please consider to contact us, ideally reporting your already running mirror.
A GRASS mirror site requires around 23 GB space, the space requirements may vary due to the changing presence of precompiled binaries.
The main site hosted at OSGeo (grass.osgeo.org) can be mirrored with the “rsync” software protocol, allowing to synchronize mirrors automatically overnight. The idea of using the “rsync” mirror software is that only changed files are transferred after the initial synchronization which minimizes the network traffic.
Check if you can connect - note the two ‘::’ characters:
rsync -az --port=50026 grass.osgeo.org::
This command should display the following welcome message:
GRASS GIS Website
grass-website GRASS GIS Website
Now generate a mirror folder on your server where to store the GRASS GIS website copy. We assume /var/www/html/mirror/
:
mkdir /var/www/html/mirror/
Change into this folder and copy the website into the subfolder grass-website
:
cd /var/www/html/mirror/
rsync -az --port=50026 grass.osgeo.org::grass-website grass-website
Once finished, define a daily cron-job (in ‘crontab’) for rsync (example):
/usr/bin/rsync -az --port=50026 grass.osgeo.org::grass-website /var/www/html/mirror/grass-website
This will copy/update the GRASS site to your local directory /var/www/html/mirror/grass-website/ which needs to be made available in your web server.Check if the synchronization works the next day(s).
Announce the new mirror site for this mirror list to us.