Test Linux: Ubuntu8.04 I think you have installed Subversion and Apache here. For details, see subversionapache installation configuration. Http://www.linuxidc.com/linux/2012-04/59317.htmviewvcinstall the environment of 1.viewvc.pdf forcvssupport:&n
Test Linux: Ubuntu 8.04
Here I think you have installed Subversion and Apache. For more information, see subversion apache installation configuration. Http://www.linuxidc.com/Linux/2012-04/59317.htm
Install ViewVC
1. Environment required by ViewVC
For CVS Support:
* Python 1.5.2 or later
(Http://www.python.org /)
* RCS, Revision Control System
Http://www.cs.purdue.edu/homes/trinkle/RCS)
* GNU-diff to replace diff implementations without the-u option
Http://www.gnu.org/software/diffutils/diffutils.html)
* Read-only, physical access to a CVS repository
(See http://www.cvshome.org/for more information)
For Subversion Support:
* Python 2.0 or later
(Http://www.python.org /)
* Subversion, Version Control System, 1.3.1 or later
(Binary installation and Python bindings)
(Http://subversion.tigris.org /)
Install the required package:
Apt-get install python-subversion
Apt-get install python-pygments
2. Install viewvc
Tar zxvf viewvc-1.1.2.tar.gz
Cd viewvc-1.1.2
./Viewvc-install
Press ENTER twice to install to/usr/local/viewvc-1.1.2
Installation path [/usr/local/viewvc-1.1.2]:
DESTDIR path (generally only used by package maintainers) []:
3. Configure (viewvc. conf)
Vi/usr/local/viewvc-1.1.2/viewvc. conf
For simple configuration, you only need to change root_parents.
Enable_syntax_coloration = 1 # syntax highlighting
Allowed_views = annotate, diff, markup, roots, co, tar # allowed views
Edit /Viewvc. conf for your specific
Configuration. In particle, examine the following configuration options:
Cvs_roots (for CVS)
Svn_roots (for Subversion)
Root_parents (for CVS or Subversion) # root directory of all svn version Libraries
Default_root
Root_as_url_component
Rcs_dir
Mime_types_files
There are some other options that are usually nice to change. See
Viewvc. conf for more information. ViewVC provides a working,
Default look. However, if you want to customize the look of ViewVC
Then edit the files in /Templates.
You need knowledge about HTML to edit the templates.
ViewVC details: Click here
ViewVC: Click here