SubVersion服務安裝設定

2021-06-11 06:46:11 字數 681 閱讀 2188

安裝 subversion

sudo apt-get install subversion subversion-tools
建立乙個新的儲存庫:

svnadmin create /svn/repository
在/svn目錄建立乙個新的空儲存庫,資料儲存方式預設採用berkeley db。

匯入你的原始碼:

svn import /data/ldap file:///svn/repository -m "message you want input"
把/data/ldap整個目錄匯入到儲存庫中的repository目錄中,儲存庫的repository目錄會自動建立。 顯示儲存庫內容:

mt@mtmt:~$ svn list file:///svn/repository

.cache/

.project

.projectoptions

.settings/

bbscnmo/

newcnmo/

顯示目錄內容,成功匯入。

上面使用了file:///形式的url來訪問subversion庫,這表示在本地通過檔案系統訪問。但我們的subversion庫可能需要通過網路被其它使用者訪問,這就需要用到其它的協議,下表是subversion支援的各種訪問協議:

訪問協議 協議 訪問方法

ubuntu CVS服務安裝設定

2.安裝cvsd,同上,選中cvsd,安裝。安裝cvsd後,會提示設定repository的位置,這個地方只要輸入相對於rootjail 的位置就可以。rootjail在 etc cvsd cvsd.conf中進行設定,預設的rootjail是 var lib cvsd。也就是說,在這一步裡面輸入 ...

TFTP 伺服器安裝設定

一 安裝tftpd apt get install tftpd 要準備好 tftp 伺服器,您首先需要確定tftpd已經啟動 在debian系統中,確保inetd服務已啟動 這通常可以在 etc inetd.conf新增如下字句來實現 tftp dgram udp wait nobody usr s...

windows下subversion伺服器搭建

3.安裝subversion伺服器和tortoisesvn,若是exe檔案直接安裝,若是zip解壓後即可 若是想方便,可以在環境變數中配置bin 二 建立版本庫 repository 若是想在f svnroot下建立版本庫,需先建立svnroot資料夾,不然使用svnadmin create f s...