suse linux環境安裝部署subvision

來源:互聯網
上載者:User

1. 下載subversion http://subversion.apache.org/download/
2. 解壓縮tar -xvf ./subversion-1.7.2.tar.bz2
3.下載sqlite-amalgamation,解壓縮後把sqlite3.c放到下面建的目錄
mkdir sqlite-amalgamation
chmod 777 ./sqlite-amalgamation/
4.編譯、安裝
/configure ;
make clean;
make;
make install;
5. 添加儲存版本庫的路徑
svnadmin create /path_you_want_to_save
6. 修改版本庫配置
vim /path_you_want_to_save/conf/passwd
添加使用者名稱和密碼 xxx_user = xxx_passwd
vim /path_you_want_to_save/conf/svnserve.conf
放開 password-db = passwd
注意刪除前部空格,否則上傳svn時提示
svnserve.conf:27: Option expected
因為subversion讀取設定檔svnserve.conf時,無法識別有前置空格的設定檔,需要刪掉空格
7. 啟動svn
svnserve -d -r /path_you_want_to_save/
ps -ef | grep svnserve
netstat -nalpt | grep svnserve

安裝TortoiseSVN
來到任意空目錄下運行右鍵->Checkout,在URL of repository中輸入svn://xx.xx.xx.xx/trunk
不確定是否需要先右鍵Import

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.