- 1、本文档共10页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
linux搭建cvs仓库(Linux build CVS warehouse)
linux搭建cvs仓库(Linux build CVS warehouse)
Linux build CVS server summary:
1. RHEL5.3 comes with cvs-1.11.22.el5 server
See if the CVS command is installed: RPM -q CVS
If installed, it will appear: cvs-1.11.22.el5 (CVS version name information)
If not installed, the package CVS is not installed (Note: This is the check method of the RPM installation package)
2. if not installed, download one for installation. The steps are as follows:
Take cvs-1.11.20.tar.gz for example,
2.1 unzip cvs-1.11.20.tar.gz
Command: tar -zxvf cvs-1.11.20.tar.gz
2.2 enter the unpacked directory
Command: CD cvs-1.11.20
2.3 execute command
Command:./configure, --prefix=/usr/local/cvs, --exec-prefix=/usr, --disable-server-flow-control (the same line)
2.4 execute command
Command: make
2.5 install
Command: make install
3., through the above steps, you have completed the installation of CVS (if the system comes with CVs, you can skip)
4. create user group CVS
Command: groupadd CVS
Create user cvsroot
Command: useradd cvsroot
Add user cvsroot to user group CVS
Command: gpasswd, -a, cvsroot, CVS
5. configuration services (create cvspserver files)
Command: VI /etc/xinetd.d/cvspserver
Write as follows:
Service cvspserver
{
Flags = REUSE
Socket_type = stream
Wait = no
User = cvsroot
Protocol = TCP
Server = /usr/bin/cvs
Server_args = -f, --allow-root=/home/cvsroot, pserver
Disable = no
}
Note: the version library path created by /home/cvsroot
Create version library commands: CVs, -d, /home/cvsroot, init
When you have finished, there is a CVSROOT folder under that directory
6. change the permissions of the cvspserver file
Command: Chmod 644 /etc/xinetd.d/cvspserver
Check if there is a down in the /etc/services file, if not, add it up
Cvspserver 2401/tcp
Cvspserver 2401/udp
Note: the cvspserver name is the same as the cvspserver in the previous fifth steps
7. change the /etc/group file
Find the cvs: number: this line, mine is cvs:x:502:
Modify the behavior cvs:x:502:cvsroot, name1, Name2, name3
Note: This ad
您可能关注的文档
- coreldraw题库(coreldraw题库).doc
- 图表统计在应用问题教学中的尝试(The attempt of chart statistics in the teaching of applied problems).doc
- 图解系列(Graphic series).doc
- 圆的面积---邱子珍(The area of the circle --- Qiu Zizhen).doc
- 土壤污染(soil pollution).doc
- 土建施工员应该知道的数据(The data that the builder should know).doc
- 土建管理(Civil Engineering Management).doc
- 土楼(Tulou).doc
- 土豆的营养价值(The nutritional value of potatoes).doc
- 圣典(Canon).doc
- 福莱特玻璃集团股份有限公司海外监管公告 - 福莱特玻璃集团股份有限公司2024年度环境、社会及管治报告.pdf
- 广哈通信:2024年度环境、社会及治理(ESG)报告.pdf
- 招商证券股份有限公司招商证券2024年度环境、社会及管治报告.pdf
- 宏信建设发展有限公司2024 可持续发展暨环境、社会及管治(ESG)报告.pdf
- 品创控股有限公司环境、社会及管治报告 2024.pdf
- 中信建投证券股份有限公司2024可持续发展暨环境、社会及管治报告.pdf
- 洛阳栾川钼业集团股份有限公司环境、社会及管治报告.pdf
- 361度国际有限公司二零二四年环境、社会及管治报告.pdf
- 中国神华能源股份有限公司2024年度环境、社会及管治报告.pdf
- 广西能源:2024年环境、社会及治理(ESG)报告.pdf
文档评论(0)