Ubuntu16.04.5LTS怎么安装SVN
发表于:2025-12-03 作者:千家信息网编辑
千家信息网最后更新 2025年12月03日,这篇文章将为大家详细讲解有关Ubuntu16.04.5LTS怎么安装SVN,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。更新源sudo apt-get update
千家信息网最后更新 2025年12月03日Ubuntu16.04.5LTS怎么安装SVN
这篇文章将为大家详细讲解有关Ubuntu16.04.5LTS怎么安装SVN,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
更新源
sudo apt-get update
安装SVN
sudo apt-get install subversion
创建文件夹
sudo mkdir /home/svnsudo mkdir /home/svn/repositorysudo chmod -R 777 /home/svn/repositorysudo svnadmin create /home/svn/repositorycd /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 密码文件为passwdauthz-db = authz 权限文件为authz### users have read and write access to the repository.anon-access = noneauth-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 = sallyssecretlidata = 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"这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。
文件
用户
权限
篇文章
更多
服务
不错
实用
内容
密码
文件夹
文章
目录
知识
端口
四行
参考
帮助
更新
有关
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
jdbc数据库回滚
计算机网络技术学生日常
ih5如何连接数据库
拒绝从非本服务器登录什么意思
思科最新网络技术
计算机网络安全真实性
达梦数据库登入后不显示模式
宝德服务器陕西代理
软件开发社会规范
如何检查服务器配置
乡政府网络安全自查工作总结
电子商务网络安全模式
科技微讯-互联网的一些事一些情
消费奖励盘软件开发
怎么注册阿里云服务器
徐州软件开发铸造辉煌
河南齐游网络技术有限公司郭斌
30t数据库跨平台迁移
计算机中数据库有哪些
滴滴被网络安全审查图片
云服务器只能在一个电脑上登录吗
服务器内交易待机系统完成4次
怎么看一台服务器负荷多少w
国家网络安全怎么建设
北京弘建网络技术有限公司
数据库一定要到第三范式吗
网络安全在社会发展中的作用
网络安全市场细分
sql更改数据库所有者语句
软件开发是天方夜谭吗