windows下svn伺服器快速搭建

來源:互聯網
上載者:User

標籤:svn伺服器 visualsvn


伺服器端VISUALSVN SERVER 3.3.1

https://www.visualsvn.com/server/download/

 

用戶端TortoiseSVN 1.8.13:

https://www.visualsvn.com/visualsvn/download/tortoisesvn/

 

1.安裝伺服器端程式

 選擇伺服器和管理介面都安裝

650) this.width=650;" title="image001.jpg" style="float:none;" alt="wKioL1Vi_Giy6Up8AAFaxwgAI7w906.jpg" src="http://s3.51cto.com/wyfs02/M01/6D/62/wKioL1Vi_Giy6Up8AAFaxwgAI7w906.jpg" />

選擇安裝路徑和版本庫存放路徑,選擇版本庫的訪問方式為http或https

650) this.width=650;" title="image002.jpg" style="float:none;" alt="wKiom1Vi-trwomueAAF2D6mAb5k341.jpg" src="http://s3.51cto.com/wyfs02/M01/6D/67/wKiom1Vi-trwomueAAF2D6mAb5k341.jpg" />

2. 建立新使用者

users上右擊建立兩個測試使用者xujian和yuanhai

 650) this.width=650;" title="image004.png" style="float:none;" alt="wKioL1Vi_GiDfE2hAAH9JhocOFw085.jpg" src="http://s3.51cto.com/wyfs02/M02/6D/62/wKioL1Vi_GiDfE2hAAH9JhocOFw085.jpg" />

 

3.建立兩個組group1和group2,並把使用者添加到使用者組

650) this.width=650;" title="image006.png" style="float:none;" alt="wKiom1Vi-tugPIriAAHn9jp2HH0613.jpg" src="http://s3.51cto.com/wyfs02/M02/6D/67/wKiom1Vi-tugPIriAAHn9jp2HH0613.jpg" />

4.建立版本庫

在Repositories上右鍵-->Create NewRepository-->建立第一個版本庫,類型選擇RegularFSFS respository,對類型不瞭解可以點下面的藍色連結。

650) this.width=650;" title="image008.png" style="float:none;" alt="wKioL1Vi_GnBRmh8AAMAzQlGGQ0933.jpg" src="http://s3.51cto.com/wyfs02/M00/6D/62/wKioL1Vi_GnBRmh8AAMAzQlGGQ0933.jpg" />

5.建立檔案夾

版本庫下建立三個檔案夾a,b,c用於存放不同的項目,當然也可以建立多個版本庫存放不同的項目,但用戶端串連時每次只能列出當前一個項目,無法列出所有項目,不太方便。

650) this.width=650;" title="image010.png" style="float:none;" alt="wKiom1Vi-tuzfTfaAAItqGWaVo8492.jpg" src="http://s3.51cto.com/wyfs02/M00/6D/67/wKiom1Vi-tuzfTfaAAItqGWaVo8492.jpg" />

6.使用權限設定

設定根目錄和子目錄使用者或使用者組存取權限, 例如可以設定使用者或使用者組對根目錄無許可權,對子目錄a有讀和寫的許可權,該使用者或使用者組就不能訪問根目錄(不可見),卻能對子目錄a讀和寫,實現了許可權的精細控制。

650) this.width=650;" title="image012.png" style="float:none;" alt="wKioL1Vi_GniAb_BAAK2YO02dVk371.jpg" src="http://s3.51cto.com/wyfs02/M01/6D/62/wKioL1Vi_GniAb_BAAK2YO02dVk371.jpg" />650) this.width=650;" title="image014.png" style="float:none;" alt="wKiom1Vi-tvyF-NIAAJzuB3N1EA842.jpg" src="http://s3.51cto.com/wyfs02/M01/6D/67/wKiom1Vi-tvyF-NIAAJzuB3N1EA842.jpg" />

7.用戶端配置

URL中輸入https://a4-PC(主機名稱)/svn/test/,在D盤下右擊並選擇SVN checkout即可下載版本庫到本地D:\test目錄下

 650) this.width=650;" title="image016.png" style="float:none;" alt="wKioL1Vi_GmxkJD_AAEwy8Wqxpg909.jpg" src="http://s3.51cto.com/wyfs02/M02/6D/62/wKioL1Vi_GmxkJD_AAEwy8Wqxpg909.jpg" />

 

 

參考文章:

http://www.360doc.com/content/11/0711/19/5131531_132950891.shtml

 

本文出自 “一無所有-天行者” 部落格,請務必保留此出處http://tianxingzhe.blog.51cto.com/3390077/1655060

windows下svn伺服器快速搭建

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.