1 | CVSWEB |
---|
2 | Network Management Workshop |
---|
3 | |
---|
4 | 1. Install cvsweb |
---|
5 | |
---|
6 | # apt-get install cvsweb |
---|
7 | |
---|
8 | 2. Edit the file /etc/cvsweb/cvsweb.conf: |
---|
9 | |
---|
10 | # vi /etc/cvsweb/cvsweb.conf |
---|
11 | |
---|
12 | - Change the line: |
---|
13 | |
---|
14 | 'local' => ['Local Repository', '/var/lib/cvs'], |
---|
15 | |
---|
16 | to |
---|
17 | |
---|
18 | 'rancid' => ['Rancid Repository', '/var/lib/rancid/CVS'], |
---|
19 | |
---|
20 | - Save and exit |
---|
21 | |
---|
22 | 3. Fix a link: |
---|
23 | |
---|
24 | # cd /var/www |
---|
25 | # ln -s /usr/share/cvsweb . |
---|
26 | |
---|
27 | 4. Open your web browser, and go to this address: |
---|
28 | |
---|
29 | http://localhost/cgi-bin/cvsweb/ |
---|
30 | |
---|
31 | - Navigate in the [all/configs] directory, and explore the files. |
---|
32 | |
---|