Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: How to set up a CVS mirror.

How to set up a CVS mirror

From MoodleDocs
Revision as of 08:17, 25 April 2007 by Martin Dougiamas (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This document will outline the exact steps to set up a CVS mirror that Moodle users can use to download Moodle and maintain their web sites.

Hardware

Operating System

CVS Server

CVS Repository

Mirroring Moodle repository

You can easily mirror the Moodle repository to your own machine using rsync to copy recently changed files. Once you've set up your SSL certificates so that passwords are not required, you can simply run these commands (every 15 minutes, using cron):

cd [your local directory]

rsync -av rsync://moodle.cvs.sourceforge.net/cvsroot/moodle/moodle .
rsync -av rsync://moodle.cvs.sourceforge.net/cvsroot/moodle/contrib .
rsync -av rsync://moodle.cvs.sourceforge.net/cvsroot/moodle/mysql .
rsync -av rsync://moodle.cvs.sourceforge.net/cvsroot/moodle/lang .

Monitoring your service

Letting Moodle users

To inform the community and have your server's details added to our mirror network, contact Martin Dougiamas at moodle.com via the helpdesk.