Article Title: Prepare a friendly CVS server for programming and development. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Only by doing development work can we find that a CVS server is essential, even for projects of few developers,
Using CVS will also play a major role. What is the specific role of CVS :)
Next, let's talk about how I set up a CVS server. What's different from those of my predecessors is that I set up a WEB interface,
Therefore, it is "friendly". You can view the code and view the graphical modification records through the WEB interface (submit
Log to the MySQL database -- This feature is a clone of the Mozilla Projects
Bonsai database.). Currently, SourceForge is using a lower version of this interface.
Function introduction:
1: Base CVS Server;
2: repository browsing.
3: SQL checkin database.
4: Colorize sourcecode.
5: Can display a clickable, graphical of files in a CVS repository.
6: generate tarball from a repository on the fly.
Requirements are more personalized, a lot more! List:
A:
Python 1.5 or later (http://www.python.org /)
Rh7.2 has two python versions, 1.5 and 2.1, which are more personalized!
B:
RCS, Revision Control System (http://www.cs.purdue.edu/homes/trinkle/RCS)
Comes with Rh7.2.
C:
Read-only, physical access to a CVS repository (See http://www.cvshome.org/for more information)
Comes with Rh7.2.
D:
A web server capable of running CGI programs (for example, Apache at http://httpd.apache.org /)
The viewcvs-0.9.2 documentation says apache is optional :(
E:
GNU-diff to replace broken diff implementations (http://www.gnu.org/software/diffutils/diffutils.html)
Comes with Rh7.2.
F: MySQL to create and query a commit database (http://www.mysql.com /)
Comes with Rh7.2.
G: http://sourceforge.net/projects/mysql-python) (and Python 1.5.2 or later)
Pull now
H: Enscript to colorize code displayed from the CVS repository (http://people.ssh.com/mtr/genscript)
Pull now
I: CvsGraph for a graphical representation of the CVS revisions (http://www.akhphd.au.dk /~ Bertho/cvsgraph /)
Pull now
# Tar zxvf cvsgraph-1.1.3.tar.gz
# Cd cvsgraph-1.1.3
#./Configure
# Make
# Cp cvsgraph/usr/bin
# Mkdir/etc/cvsgraph
# Cp cvsgraph. conf/etc/cvsgraph
**************************************** ****************
* ** If python-1.x and python-2x (such as RedHat7.2) are installed simultaneously)
* ** Pay attention to the following 10 million (we use python-2.x)
**************************************** ****************
Cd/usr/local/viewcvs-0.9.2
Loginfo-handler, standalone. py, cvsdbadmin
And
All files under cd/usr/local/viewcvs-0.9.2/cgi,
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.