天天看點

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

序言

本教程以Windows Server 2012 R12 為例搭建SVN伺服器,安裝部署完成後,用戶端可通過SVN用戶端通路SVN伺服器上的項目,也可以通路網上其他SVN伺服器上的項目。

一、首先準備三個軟體:

1.VisualSVN-Server-3.6.3-x64.msi(svn服務端)

2.TortoiseSVN-1.9.6.27867-x64-svn-1.9.6.msi(svn用戶端)

3.LanguagePack_1.9.6.27867-x64-zh_CN.msi(TortoiseSVN 的漢化包)

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

軟體下載下傳位址:http://subversion.apache.org/packages.html

打開網頁拉到最後,看到以下的軟體下載下傳下來

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

接下來是TortoiseSVN漢化包,跟TortoiseSVN同一個頁面要點選https://tortoisesvn.net/downloads.html

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

二、服務端安裝、項目建立、使用者配置、分組配置

好了,接下來是具體的安裝過程,安裝順序是

1> VisualSVN-Server-3.6.3-x64.msi(svn服務端)

2> TortoiseSVN-1.9.6.27867-x64-svn-1.9.6.msi(svn用戶端)

3> LanguagePack_1.9.6.27867-x64-zh_CN.msi(TortoiseSVN 的漢化包)

1.服務端安裝-VisualSVN-Server-3.6.3-x64.msi

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

2、建立一個Test_Project項目:

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

3、添加user 如下:

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

4、添加一個groups

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

5、給建立的項目授權

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

三、用戶端安裝

下一步、下一步... ... 完成。

做如下配置:

1、資料總管點選右鍵啟動設定界面

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

2、設定語言和忽略樣式

忽略的樣式:(不需要進行版本控制的臨時檔案)

*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__ *.rej *~ #*# .#* .*.swp .DS_Store .dcu .exe .MB .~* .db .log*

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

四、代碼檢出

Copy 服務端Test_Project URL

桌面右鍵 SVN Checkout

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

輸入URL,點選OK。

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

完成項目的檢出(成功後桌面可見Test_Project檔案夾),可根據需要,選擇更新、上傳檔案到項目中(将需要新增的檔案複制到Test_Project檔案夾中,右鍵Commit)。

至此已全部完成。 

  作者:Jeremy.Wu

  出處:https://www.cnblogs.com/jeremywucnblog/

  本文版權歸作者和部落格園共有,歡迎轉載,但未經作者同意必須保留此段聲明,且在文章頁面明顯位置給出原文連接配接,否則保留追究法律責任的權利。

Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置
Windows Server - SVN 伺服器搭建與項目配置、用戶端安裝與配置

繼續閱讀