linux(centos)搭建SVN服务器
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了linux(centos)搭建SVN服务器,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含3578字,纯文字阅读大概需要6分钟。
内容图文
1、yum install subversion
[root@iZ239yqa63mZ static]# yuminstall subversion Loaded plugins: security base | 3.7 kB 00:00 epel | 4.4 kB 00:00 epel/primary_db | 6.5 MB 00:01 extras | 3.4 kB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 2.7 MB 00:00 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package subversion.x86_64 0:1.6.11-10.el6_5 will be updated ---> Package subversion.x86_64 0:1.6.11-12.el6_6 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: subversion x86_64 1.6.11-12.el6_6 updates 2.3 M Transaction Summary ================================================================================ Upgrade 1 Package(s) Total download size: 2.3 M Is this ok [y/N]: y Downloading Packages: subversion-1.6.11-12.el6_6.x86_64.rpm | 2.3 MB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : subversion-1.6.11-12.el6_6.x86_64 1/2 Cleanup : subversion-1.6.11-10.el6_5.x86_64 2/2 Verifying : subversion-1.6.11-12.el6_6.x86_64 1/2 Verifying : subversion-1.6.11-10.el6_5.x86_64 2/2 Updated: subversion.x86_64 0:1.6.11-12.el6_6 Complete!
2、输入rpm -ql subversion查看安装位置,如下:
[root@iZ239yqa63mZ static]# rpm -ql subversion /etc/bash_completion.d /etc/bash_completion.d/subversion /etc/rc.d/init.d/svnserve /etc/subversion /usr/bin/svn /usr/bin/svnadmin /usr/bin/svndumpfilter /usr/bin/svnlook /usr/bin/svnserve /usr/bin/svnsync /usr/bin/svnversion ....
[root@iZ239yqa63mZ static]# svn --help usage: svn <subcommand> [options] [args] Subversion command-line client, version 1.6.11. Type ‘svn help <subcommand>‘for help on a specific subcommand. Type ‘svn --version‘ to see the program version and RA modules or ‘svn --version --quiet‘ to see just the version number. Most subcommands take file and/or directory arguments, recursing on the directories. If no arguments are supplied to such a command, it recurses on the current directory (inclusive) by default. Available subcommands: add blame (praise, annotate, ann) cat changelist (cl) checkout (co) cleanup commit (ci) copy (cp) delete (del, remove, rm) diff (di) export help (?, h) import info list (ls) lock log merge mergeinfo mkdir move (mv, rename, ren) propdel (pdel, pd) propedit (pedit, pe) propget (pget, pg) proplist (plist, pl) propset (pset, ps) resolve resolved revert status (stat, st) switch (sw) unlock update (up) Subversion is a tool for version control. For additional information, see http://subversion.tigris.org/
3、创建svn版本库目录
mkdir -p /alidata/www/static/svn/svnrepos
4、创建版本库
svnadmin create /alidata/www/svn/svnrepos
执行了这个命令之后会在/alidata/www/svn/svnrepos目录下生成如下这些文件
# ls /alidata/www/svn/svnrepos conf db format hooks locks README.txt
原文:http://www.cnblogs.com/mjorcen/p/4410244.html
内容总结
以上是互联网集市为您收集整理的linux(centos)搭建SVN服务器全部内容,希望文章能够帮你解决linux(centos)搭建SVN服务器所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。