How to build a CVS server in the FC7Linux Operating System
Source: Internet
Author: User
How to build a CVS server in the FC7Linux Operating System-Linux Enterprise Application-Linux server application information. The following is a detailed description. After Fedora7 is installed, the system installs the CVS software. You do not need to create the configuration file cvs under/etc/xinetd. d/. The default configuration file is as follows:
# Default: off
# Description: The CVS service can record the history of your source \
# Files. CVS stores all the versions of a file in a single \
# File in a clever way that only stores the differences \
# Between versions.
Service cvspserver
{
Disable = yes
Port = 2401
Socket_type = stream
Protocol = tcp
Wait = no
User = root
Passenv = PATH
Server =/usr/bin/cvs
Env = HOME =/var/cvs
Server_args =-f -- allow-root =/var/cvs pserver
# Bind = 127.0.0.1
}
Preliminary work:
The xinetd service is not installed by default. Therefore, install the xinetd service # yum install xinetd first.
Then change/etc/xinetd. d/cvs and change disable = yes to disable = no.
Restart the xinetd service, # service xinetd restart
Create user and password
Create a group named cvs and a user named cvsroot. users who want to access the CVS service will join the group:
To ensure the security of the CVS system, modify the/var/cvs/CVSROOT/config file and remove the comment # Before "# SystemAuth = no, change to "SystemAuth = no" and create accounts for developers one by one. Do not assign user directories to new accounts because they will be used as a virtual user account. The specific commands are as follows:
Then, modify the passwd file, delete all rows except the user rocketpro1 set to use CVS, remove all contents after the second colon in each row, and add the string cvsroot, the format is as follows:
Then, delete the user rocketpro1 that was just added to the system (if you want to make this user a user of the operating system, you can also not delete this user, if only this user is allowed to access CVS, the user can be deleted)
[Root @ rocketcnvm ~] # Userdel-f rocketpro1
Use CVS server
Now you can find a windows machine, install smartcvs, set it, and enter the user name and password.
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