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: Difference between revisions

From MoodleDocs
No edit summary
 
(No need to use SSL certificates to mirror moodle cvs repository :-))
Line 11: Line 11:
==Mirroring Moodle 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):
You can easily mirror the Moodle repository to your own machine using rsync to copy recently changed files.  You can simply run these commands (every 15 minutes, using cron):


  cd [your local directory]
  cd [your local directory]

Revision as of 10:22, 25 April 2007

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. 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.