Note:
版本控制,安裝 Subversion Server (Linux FC8) & TortoiseSVN Client (Windows)
Install & Configure Subversion+Apache+DAV on FC8:
# 安裝 Apache (還沒裝?不會吧!?)Install & Configure TortoiseSVN on Windows:
yum install httpd
# 安裝 Subversion
yum install subversion
# 安裝 mod_dav_svn
yum install mod_dav_svn
# 建立 SVN 目錄結構
mkdir /pub
mkdir /pub/svn
mkdir /pub/svn/repos
mkdir /pub/svn/users
mkdir /pub/svn/permissions
# 建立新的 Repository
svnadmin create /pub/svn/repos/test
# 針對允許用戶建立存取密碼
htpasswd -cb /pub/svn/users/passwd username password
# 指定 apache 為 SVN 目錄的 Owner,以取得適當權限
chown -R apache.apache /pub/svn
# 設定 apache,修改 /etc/httpd/conf.d/subversion.conf 內容如下:
<Location /pub/svn/repos>
DAV svn
# 所有的 "/pub/svn/repos/foo" URL 將會對應到 SVN 的 repository: /pub/svn/repos/foo
SVNParentPath /pub/svn/repos
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /pub/svn/users/passwd
Require valid-user
</Location>
# 重新載入 apache
service httpd reload
# 利用 Browser 測試剛才建立的 Repository
http://svn.server.host/svn/repos/test
官網:http://tortoisesvn.tigris.org/Reference:
下載:http://tortoisesvn.net/downloads
正體中文語系:http://tortoisesvn.net/translator_credits
效能優化:http://www.jeffhung.net/blog/articles/jeffhung/758/
[Installing SubVersion on FC 4]
http://www.ferdychristant.com/blog/archive/DOMM-6NFJ6J
[版本控制系統的基礎觀念]
http://huanlin.dyndns.org/techshare/articles/2004061302/svn_concept.htm
[如何不被 TortoiseSVN 拖慢系統效率]
http://www.jeffhung.net/blog/articles/jeffhung/758/
[Optimize performance]
http://tortoisesvn.net/node/267
0 Comments:
Post a Comment