CVS server configuration process and troubleshooting
Source: Internet
Author: User
CVS server configuration process and troubleshooting-Linux Enterprise Application-Linux server application information. The following is a detailed description. Because development requires configuring a CVS server for version management, my configuration is as follows:
6. initialize the source code library of cvs. This operation generates the directory/home/cvsroot/CVSROOT, which contains some initialization files.
[Root @ localhost/] # cvs-d/home/cvsroot init
7. Configure xinetd and use xinetd to start the CVS server
[Root @ localhost/] # vi/etc/xinetd. d/cvs
Service cvspserver
{
Disable = no
Port = 2401
Socket_type = stream
Protocol = tcp
Wait = no
User = root
Passenv = PATH
Server =/usr/bin/cvs
Env = HOME =/home/cvsroot
Server_args =-f -- allow-root =/home/cvsroot pserver
# Bind = 127.0.0.1
}
By default, pserver is used for tacit connection, or you can select ssh or so on.
Server_args =-f -- allow-root =/home/cvsroot SSH
-F -- allow-root =/home/cvsroot is the directory just initialized
Press the Enter command and press enter to enter the liuyw password. You can enter the liuyw password according to your own password. If there is no error message, it will be successful.
Several problems I encountered
Unable to restart xinetd. d
[Root @ localhost/] #/etc/rc. d/init. d/xinetd restart
-Bash:/etc/rc. d/init. d/xinetd: No such file or directory
Only the server can be restarted at a time. After the server is restarted, the process and port are not monitored.
Later it was found that the redhat as5.0 was not installed with xinetd by default. In the second disc, after the attachment, rpm-ivh xine *. rpm restarts xinetd, and processes and ports are also listening.
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