1.安装SVN服务端:
安装:yum install subversion
查看是否成功:svnserve --version
2.建立版本库目录:
创建版本库:svnadmin create /opt/lj
显示创建成功
3:配置权限
:
4:启动服务
svnserve -d -r /opt/zhang
-----------华丽丽的分割线---------
5:钩子
/opt/zhang/hooks文件夹中
cp post-commit.tmpl post-commit
权限::chmod 755 post-commit
解决方案:[root@localhost svn]# /sbin/iptables -I INPUT -p tcp --dport 3690 -j ACCEPT
[root@localhost svn]# /etc/init.d/iptables save
iptables:将防火墙规则保存到 /etc/sysconfig/iptables: [确定]
[root@localhost svn]# service iptables restart
iptables:将链设置为政策 ACCEPT:filter mangle nat [确定]
iptables:清除防火墙规则: [确定]
iptables:正在卸载模块: [确定]
iptables:应用防火墙规则: [确定]
---华丽丽的分割线------
目前就发现这么多问题 后面发现再添加