CVS server configuration and management

Source: Internet
Author: User
Title: CVS server configuration and management. 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.
The/etc/services file contains the following two lines, which are the Configuration services:
  
Cvspserver 2401/tcp # CVS client/server operations
Cvspserver 2401/udp # CVS client/server operations
  
Then, if inetd is used for startup, You need to modify the/etc/inetd. conf file,
If xinetd is used, add a script to start cvs in the/etc/xinetd. d/directory.
My system uses red hat7.0, so Add the following script to/etc/xinetd. d /.
[Root @ local/] # less/etc/xinetd. d/cvspserver
# Default: off
# Description: The SPOP3 service allows remote users to access their mail \
# Using an POP3 client with SSL support such as Netscape \
# Communicator or fetchmail.
Service cvspserver
{
Socket_type = stream
Protocol = tcp
Wait = no
User = root
Server =/usr/bin/cvs
Server_args = -- allow-root =/source pserver
Log_on_success + = USERID
Log_on_failure + = USERID
Disable = no
}
If you use inetd, you can also modify inetd. conf, which is very simple.
After completing these steps, you can restart inetd/xinetd.
Then run the cvs command to use cvs normally.
  
However, you need to set the client for remote use:
CVSROOT =: pserver: user @ host:/cvsrootdir:
Export CVSROOT
Cvs login
Add the preceding two sentences to your startup script.
If you have any questions, visit http://www.cvshome.org/docs/manual/
  

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.