[root@webserver soft]# tar jxvf subversion-1.6.12.tar.bz2
[root@webserver soft]# tar jxvf subversion-deps-1.6.12.tar.bz2
[root@webserver soft]# cd subversion-1.6.12
[root@webserver subversion-1.6.12]# ./configure --prefix=/usr/local/svn
[root@webserver subversion-1.6.12]# make && make install
[root@webserver subversion-1.6.12]# vim /etc/profile
export PATH=$PATH:/usr/local/svn/bin
[root@webserver subversion-1.6.12]# source /etc/profile
[root@webserver ~]# mkdir -p /opt/svn/phpcms/
[root@dns2 subversion-1.6.16]# svnadmin create /opt/svn/phpcms/
[root@webserver ~]# cd /opt/svn/phpcms/
[root@webserver phpcms]# ls
conf dav db format hooks locks README.txt
[root@webserver phpcms]# cd conf
[root@webserver conf]# ls
authz passwd svnserve.conf
[root@webserver conf]# vim svnserve.conf
[general]
anon-access = none
auth-access = write
password-db = passwd
authz-db = authz
[root@webserver conf]# vim authz
[groups]
[phpcms:/]
markgeng = rw
[root@webserver conf]# vim passwd
[users]
# harry = harryssecret
# sally = sallyssecret
phpcms = phpcms!@#
[root@webserver ~]# svnserve -d -r /opt/svn/
[root@webserver ~]# netstat -an |grep 3690
tcp 0 0 :::3690 :::* LISTEN
阅读(1221) | 评论(0) | 转发(0) |