Ubuntu16.04.5LTS安装SVN的过程
作者:请叫我算术嘉 发布时间:2023-07-26 01:19:27
标签:Ubuntu16,安装,SVN
本文简单介绍Ubuntu系统下SVN的搭建过程
更新源
sudo apt-get update
安装SVN
sudo apt-get install subversion
创建文件夹
sudo mkdir /home/svn
sudo mkdir /home/svn/repository
sudo chmod -R 777 /home/svn/repository
sudo svnadmin create /home/svn/repository
cd /home/svn/repository/
sudo chmod -R 777 db
修改svnserve.conf
cd /home/svn/repository/conf/
sudo vi svnserve.conf
修改这四行如下所示
anon-access = none 匿名用户不可读
auth-access = write 权限用户可写
password-db = passwd 密码文件为passwd
authz-db = authz 权限文件为authz
### users have read and write access to the repository.
anon-access = none
auth-access = write
### The password-db option controls the location of the password
### database file. Unless you specify a path starting with a /,
### the file's location is relative to the directory containing
### this configuration file.
### If SASL is enabled (see below), this file will NOT be used.
### Uncomment the line below to use the default password file.
password-db = passwd
### The authz-db option controls the location of the authorization
### rules for path-based access control. Unless you specify a path
### starting with a /, the file's location is relative to the
### directory containing this file. The specified path may be a
### repository relative URL (^/) or an absolute file:// URL to a text
### file in a Subversion repository. If you don't specify an authz-db,
### no path-based access control is done.
### Uncomment the line below to use the default authorization file.
authz-db = authz
### The groups-db option controls the location of the groups file.
修改password文件,添加访问用户
sudo vi passwd
[users]
# harry = harryssecret
# sally = sallyssecret
lidata = lidata429
给用户增加目录权限
sudo vi authz
[groups]
# harry_and_sally = harry,sally
# harry_sally_and_joe = harry,sally,&joe
# [/foo/bar]
# harry = rw
# &joe = r
# * =
# [repository:/baz/fuz]
# @harry_and_sally = rw
# * = r
[/]
lidata=rw
启动服务,并且监听81端口
sudo svnserve -d -r /home/svn --listen-port 81
查看svn是否启动
ps -ef | grep svnserve
停止服务
kill all svnserve
总结
以上所述是小编给大家介绍的Ubuntu16.04.5LTS安装SVN的过程,希望对大家有所帮助
来源:https://blog.csdn.net/ssjdoudou/article/details/103328059
0
投稿
猜你喜欢
- 在雅虎 Yahoo! Small Business 页面上已经把1.99连接去掉了。但可以通过下面这个地址注册。https://smallb
- 每年,我都会密切关注推出的新设计网站SEM最佳案例。在过去的四年或是五年时间里,我的大部分建议都是相同的。今天,我们讨论一些可以改变的技巧。
- 可能很多人看到这个标题感觉疑惑:一个日IP几百的网站真的一天能Google Adsense月收入300美元?不信?那也很正常,说完了就信了。
- Windows系统目录是Windows操作系统的重要目录,当我们访问这个目录时,系统会提示你这个目录的重要性,如果需要进入,只需要单击&am
- ../ 【站点上级目录】 //如果要使用后台的目录相关的功能需要有列出目录的权限 //0444 /&
- 微软搜索很少给SEO和站长提建议。当然也许是人家提了,咱们都不太关注Live搜索,没看到而已。前几天微软搜索官方博客发了一篇关于交换链接的帖
- 页头:header登录条:loginBar标志:logo侧栏:sideBar广告:banner导航:nav子导航:subNav菜单:menu
- 北京时间11月9日早间消息,据国外媒体今日报道,Facebook计划发布一款XMPP(可扩展消息处理现场协议)界面,进入即时通讯领域。Fac
- 架设FTP服务器,一向是把安全放在首位,特别是利用IIS之类工具建立起来的FTP服务器更是如此。如果设置不当遭受到恶意攻击,那造成整个服务器
- 继阿里巴巴集团与深圳签署协议、在深圳建国际总部和南方总部后,互联网最大的中文搜索引擎——百度也有意在
- 1.更新您的source ,我们之前提过 更新source不代表升级 ,仍需要经过编译的动作。 编译source 1./usr/src#ma
- 在与国内互联网用户研究同行交流时,常常会被问到“腾讯很早就拥有眼动仪了,那是不是经常用到它?”、“眼动研究的结果有什么特别的作用?”等之类的
- 内容摘要:有报道说,扎克伯格的身家已经达到数十亿美元,也有说法称已经超过30亿美元。尽管扎克伯格因此成为全球最年轻的亿万富翁,但是他依然住着
- 老站长就不用说了,他们有丰富的经验,作为新站长辛辛苦苦挣钱上台服务器一定要注意以下几个问题:1、除非你确认自己掌握了,否则不要去试WIN20
- 下载并解压此文件,放到您网站的根目录下,命名为 friendlink.登陆phpcms后台,模块位于网站根目录。注意:安装模块前
- Xitami:多平台,多线程的开放源码Web服务器。Xitami(正确的发音是Shi-tami或Ksi-tami,重读第二个音节)是一款免费
- 10月14日,中国软件资讯网据外电报道,当苹果的市值又再度超越Google时,这次它能够一直保持领先吗?《BusinessWeek》专栏作家
- Discuz与UCenter同步删除用户的问题,一直得不到解决。由于论坛采用的是注册审核制,每天都要删除大量的恶意注册用户,不能在UCent
- 网站一定要做出自己的特色,和同类站点站点比较,你的站有什么优势?内容上的优势最能拉住访客,页面亲和度也是不可忽视的,如果两个内容差不多的站,
- 腾讯科技讯(乐天)5月21日消息,360公司今日宣布正式推出全球首款“木马防火墙”,宣称可有效解决传统安全软件查杀木马的滞后性缺陷,为网民减