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:
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.