yum install mod_dav_svn subversion
svnadmin create --fs-type fsfs /usr/local/svn/test
chown -R apache:apache /usr/local/svn/test
svn import Testproj http://localhost/svn/test
svn co http://localhost/svn/test
svn add xxx
svn commit xxx
# Apache subversion configure
DAV svn SVNParentPath /usr/local/svn # Limit write permission to list of valid users. # # Require SSL connection for password protection. # SSLRequireSSL AuthType Basic AuthName "Subversion Repository" AuthUserFile /usr/local/svn/passwd Require valid-user #
#create password file
htpasswd -c /usr/local/svn/passwd test
#update password file
htpasswd /usr/local/svn/passwd test
## svn property configure
modify ~/.subversion/config
*.sh = svn:keywords=Id Rev Date Author
*.c = svn:keywords=Id Rev Date Author
*.cpp = svn:keywords=Id Rev Date Author
*.cu = svn:keywords=Id Rev Date Author
*.h = svn:keywords=Id Rev Date Author
*.pl = svn:keywords=Id Rev Date Author
*.py = svn:keywords=Id Rev Date Author
## references
Official website
http://subversion.apache.org/
Version Control with Subversion (中文manual)
http://twpug.net/docs/Subversion/#svn-ch2-sect-1
SVN (Subversion 、TortoiseSVN)設定大全
http://liangkuo.blogspot.com/2007/03/svn-subversion-tortoisesvn.html
SVN 的基本指令介紹
http://plog.longwin.com.tw/my_note-programming/2007/07/10/svn_tutorial_2007
http://www.joetsuihk.com/svn_%E6%A6%82%E5%BF%B5_%E5%88%9D%E9%9A%8E%E4%BD%BF%E7%94%A8
SVN 使用者的權限設定
http://blog.xuite.net/gbisland/linux/15080356
SVN Property 設定
Subversion 資源整理
http://www.jeffhung.net/blog/articles/jeffhung/684/
Tortoise@subversion
http://fannys23.pixnet.net/blog/post/15817194
沒有留言:
張貼留言