Install and configure ViewVC in Ubuntu

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.