一、svn架设(fedora 14)
(1) yum install subversion
(2) svnadmin create /(your svn path)/(your svn directory)
(3) svnserve -d -r /(your svn path)/ --listen-port=(your svn port)
(4) firewall -> other ports -> add -> udp, tcp (your svn port)
(5) vim /etc/rc.local,输入svnserve -d -r /(your svn path)/ --listen-port=(your svn port),这样在每次开机的时候都会自动运行svn
(1) log in router admin page
(2) add mapping port(your SSH port)
(3) vim /etc/ssh/sshd_config
Port 22
Port (your SSH port)
service sshd restart
(4) firewall -> other ports -> add -> udp, tcp (your SSH port)
(1) yum install subversion
(2) svnadmin create /(your svn path)/(your svn directory)
(3) svnserve -d -r /(your svn path)/ --listen-port=(your svn port)
(4) firewall -> other ports -> add -> udp, tcp (your svn port)
(5) vim /etc/rc.local,输入svnserve -d -r /(your svn path)/ --listen-port=(your svn port),这样在每次开机的时候都会自动运行svn
二、svn权限配置
在svnserve.conf文件中:
anon-access = none
auth-access = write
password-db = passwd
realm = zhuqing /(user defined)
(1) log in router admin page
(2) add mapping port(your SSH port)
(3) vim /etc/ssh/sshd_config
Port 22
Port (your SSH port)
service sshd restart
(4) firewall -> other ports -> add -> udp, tcp (your SSH port)