These instructions describe the best practice for installing modules from the Drupal contributions repository using CVS. It assumes some knowledge of the command line, but all the commands are listed below, though you will have to replace some of it with information specific to your VPS.
Go to the Drupal module's project page. For example, the CAPTCHA module, which adds a test humans need to fill out before submitting a form, is available at http://drupal.org/project/captcha. Each module will have official and/or developmental releases. Click on the version number, and you will get a tag listed there. For example, the 3.1 release of the CAPTCHA module compatible with Drupal 5 is DRUPAL-5--3-1. Use the tag you find on the release page for when you check out the module using CVS (see below).
Some modules may require other modules to function. Make sure you have those required modules installed as well.
sudo sucd /var/www/modulescvs -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib co -d modulename -r DRUPAL-5 contributions/modules/modulenamecd /var/www/html/sites/yourdomain.com/modulesln -s ../../../../modules/modulename ./var/www/html/sites/yourdomain.com/modules/ doesn't exist, try /var/www/html/sites/default/modules/ instead.This work is licensed under a Creative Commons Attribution-Share Alike 2.5 License. This license applies to all text written by Bryght. All others retain full copyright to their text.