Configuration of the CVS server In Debian

Source: Internet
Author: User
The configuration of the CVS server In Debian-the Linux Release Technology-Debian information. The following is a detailed description. CVS has probably heard of software development, so how can developers enjoy this convenient tool? Of course, a CVS server is installed.

There is a CVSNT in Windows, which has never been used. It is said that there are many problems. Linux is certainly simple, especially in Debian.

Configuration of the CVS server

CVS has probably heard of software development, so how can developers enjoy this convenient tool? Of course, a CVS server is installed.

There is a CVSNT in Windows, which has never been used. It is said that there are many problems. Linux is certainly simple, especially in Debian.

Install the cvs package
Apt-get install cvs cvsd

Among them, cvs is the main program package, and cvsd is a pserver wrapper of cvs. It can easily manage repositories and users and run the cvs service in a safer way. Note that when installing the configuration, set the main directory of cvs to none, and the main directory of cvsd to/home/cvs (or another path you want ).

Modify configuration file
Check the/etc/cvsd. conf file and confirm the last few lines are similar to the following format:

RootJail/home/cvs
Repos/repos

The first line indicates the root directory of your cvsd, and the second line is the directory of your repositories. Note that although we write the absolute path here, it is actually relative to the path of $ cvsdHome, here it refers to/home/cvs/repos.

Create repositories
If you select none When configuring the cvsd home directory, you can also manually create the/home/cvs directory and then execute

Cvsd-buildroot/home/cvs

Create the file system of the cvsd root directory.

Create a repositories and initialize it:
Mkdir/home/cvs/repos
Cvs-d/home/cvs/repos init

Add User
Adding users is simple. Like other server programs, cvsd can add virtual users based on local users, as shown below:

Cvsd-passwd/home/cvs/repos cvsuser: cvsd
Chown-R cvsd. cvsd/home/cvs/repos

Restart service
Finally, restart the cvs service with/etc/init. d/cvsd restart.

Note that you still need to use the relative path when logging on, such:
Cvs-d: pserver: cvsuser @ localhost:/repos login

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.