﻿CVSWEB
intERLab AIT March 2008


1. Install cvsweb

	# apt-get install cvsweb

2. Edit the file /etc/cvsweb/cvsweb.conf:

	# vi /etc/cvsweb/cvsweb.conf

	- Change the line:

'local'   => ['Local Repository', '/var/lib/cvs'],

	to

'rancid'   => ['Rancid Repository', '/var/lib/rancid/CVS'],

	and just below add a new line:

'configs'   => ['Configs Repository', '/home/myusername/cvs'],

	(This is to show the CVS from earlier!)

	- Save and exit

3. Open your web browser, and go to this address:

	http://localhost/cgi-bin/cvsweb/

	- Notice the pulldown menu "CVS Root:".  Here you can choose
	  which repository to look at -- you should see two:

	  - Configs
	  - Rancid

	- Navigate in the corresponding repository, and explore the files.

