﻿CVSWEB
Network Management Workshop, Apricot 2009


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/netmanage/cvs'],

	(This is to show the CVS from earlier)

	- Save and exit

3. Fix a link:

	# cd /var/www
	# ln -s /usr/share/cvsweb .

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

