Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
Create the CVS server-Linux Enterprise Application-Linux server application under FreeBSD. The following is a detailed description. CVS is a well-known version control tool. It is a very useful version control tool for individual programmers and a development team, and it is free of charge. CVS has powerful functions. In general, it is a C/S-Structured Software. Users must first set up a CVS server, import a project instance to the CVS server and set the resource access management for the CVS project. Clients can access the CVS server from the Internet, LAN, or even the local machine to obtain the latest project code copy and submit their own modified code. The following describes how to set up a CVS server in FreeBSD.
1. Create CVS users and groups
Enter username [a-z0-9 _-]: cvs
Enter full name : CVS User
Enter shell bash csh date no sh tcsh [sh]:
Enter home directory (full path) [/home/cvs]:
Enter login class: default :
Login group cvs [cvs]:
Login group is ''cvs ''. Invite cvs into other groups: guest no
Enter password :
Enter password again :
Fullname: CVS User
Gid: 1003 (cvs)
OK? (Y/n) [y]:
Added user ''cvs''
Add another user? (Y/n) [y]: n
The above is a cvs user who belongs to the group cvs. The actual situation may be different from the one shown above, but the goal can be achieved.
2. Create a CVS Repository
Select the directory/exports/cvsroot as the CVS repository. Create the cvsroot directory under/usr and link it to the root directory.
Create a CVS directory, make the cvs user and the cvs group have the directory, and have the Read and Write rights.
# Chown cvs: cvs/exports/cvsroot
# Chmod 775/exports/cvsroot
3. initialize the CVS Repository
# Su cvs
$ Cvs-d/exports/cvsroot init
4. Run the service
In/etc/services, check the Pserver service port.
Cvspserver 2401/tcp # CVS network server
Enable the Pserver service in/etc/inted. conf.
Cvspserver stream tcp nowait root/usr/bin/cvs -- allow-root =/exports/cvsroot pserver
Restart the machine (or restart the inetd service), and the CVS server is ready.
After the server is created, it can be tested and used remotely with WinCVS.
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
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:
and provide relevant evidence. A staff member will contact you within 5 working days.