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