In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to configure the CVS server under the Linux system". In the operation of the actual case, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. Install the CVS server and configure rpm-ivh cvs-1.12.9.i386.rpm as follows
2. Start the CVS service. The CVS service on Linux can be started through inetd,xinetd, tcpwrapper, etc. Now start the CVS service using xinetd.
3, configuration / etc/services file
[root@fp71g /] # vi / etc/services
Add cvspserver to the services file to make it a service of Linux, that is, the entry of the CVS server routine, configured as follows:
Cvspserver 2401/tcp # CVS client/server operations
Cvspserver 2401/udp # CVS client/server operations
4, create a configuration file vi etc/xinetd.d/cvspserver for the CVS service under the / etc/xinetd.d directory
[root@fp71g /] # vi / etc/xinetd.d/cvspserver
The contents are as follows:
Service cvspserver {
Socket_type = stream
Wait = no
User = root
Env = HOME =
Server = / usr/bin/cvs
Server_args =-f-- allow-root=/home/cvsroot pserver
}
5. Configure CVS users and cvsroot groups
Establish CVS group
[root@fp71g /] # groupadd CVS
Establish users in the CVS group
[root@fp71g /] # useradd-g CVS user3
[root@fp71g /] # useradd-g CVS user2
Set user3 password
[root@fp71g /] # passwd user3
[root@fp71g /] # chown user3 / home/cvsaaa
[root@fp71g /] # chmod 771 / home/cvsaaa
6. Initialize the repository directory / home/cvsaaa on the server side
[root@fp71g /] # mkdir / home/cvsaaa
[root@fp71g /] # cvs-d / home/cvsaaa init
At this point, the CVSROOT directory appears under the / home/cvsaaa directory.
7, [root@fp71g /] # setup
Select cvspserver in system service
Restart xinetd
[root@fp71g /] # / etc/init.d/xinetd restart
Stop xinetd: [OK]
Start xinetd: [OK]
Use the netstat-l command to see if the working network port has the following information:
Tcp 0 0 *: mysql *: * LISTEN
Tcp 0 0 *: cvspserver *: * LISTEN
With regard to OK, there is no problem with CVS installation and startup.
8, log in to the CVS server (login under the Linux,unix system)
# cvs-d: pserver:cvsadmin@192.168.1.36:/home/cvsroot/ login
Enter password
If there are no other prompts, it means that the login is successful, otherwise you should modify it according to the prompts.
This is the end of the content of "how to configure the CVS server under the Linux system". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
"Windows system Management" # what is BI
© 2024 shulou.com SLNews company. All rights reserved.