日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

Linux版本的SVN客户端,linux 下安装 subversion(svn) 客户端

發布時間:2023/12/1 linux 43 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Linux版本的SVN客户端,linux 下安装 subversion(svn) 客户端 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

svn server 為只支持http://協議的windows;

test web server 為as4,現需安裝svn客戶端方便同步代碼

網上找了下都是講如何安裝svn server的,我只需要一個支持http協議的客戶端哈,不想裝apache。

安裝所需軟件

apr,apr-util,sqlite,neon,subversion

1.下載軟件

wget http://labs.xiaonei.com/apache-mirror/apr/apr-1.3.7.tar.gz

wget http://labs.xiaonei.com/apache-mirror/apr/apr-util-1.3.8.tar.gz

wget http://www.sqlite.org/sqlite-amalgamation-3.6.16.tar.gz

wget? http://www.webdav.org/neon/neon-0.28.4.tar.gz

apt-get install libxml2 libxml2-dev expat

sudo apt-get install zlib1g-dev

apt-get install expat libexpat1 libexpat1-dev

2.安裝apr

tar zxvf apr-1.3.7.tar.gz

cd apr-1.3.7

./configure -prefix=/usr/local/apr

make

make install

cat /etc/ld.so.conf

echo /usr/local/apr/lib >> /etc/ld.so.conf

3.安裝apr-util

tar zxvf apr-util-1.3.8.tar.gz

cd apr-util-.1.3.8

./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/

make

make install

echo /usr/local/apr-util/lib >> /etc/ld.so.conf

ldconfig -v

4.安裝sqlite

tar zxvf sqlite-amalgamation-3.6.16.tar.gz

cd sqlite-3.6.16/

configure --prefix=/usr/local/sqlite

make

make install

5.安裝neon

不需要支持http協議可以略掉安裝

tar zxvf neon-0.28.4.tar.gz

cd neon-0.28.4

./configure --prefix=/usr/local/neon --enable-shared

make

make install

方式二:解壓后重命名為neon,移動至subversion編譯目錄

但subversion編譯時好像找不到neon

報錯如下

configure: checking neon library

An appropriate version of neon could not be found, so libsvn_ra_neon

will not be built.? If you want to build libsvn_ra_neon, please either

install neon 0.28.4 on this system

or

get neon 0.28.4 from:

http://www.webdav.org/neon/neon-0.28.4.tar.gz

unpack the archive using tar/gunzip and rename the resulting

directory from ./neon-0.28.4/ to ./neon/

no suitable neon found

6.安裝subversion

tar -jxvf subversion-1.6.3.tar.bz2

cd subversion-1.6.3

./configure --prefix=/usr/local/svn --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-sqlite=/usr/local/sqlite --with-neon=/usr/local/neon

make

make install

7.檢查測試

安裝后應該有三個模塊

/usr/local/svn/bin/svn --version

svn,版本 1.6.3 (r38063)

編譯于 Jul 30 2009,14:31:41

版權所有 (C) 2000-2009 CollabNet。

Subversion 是開放源代碼軟件,請參閱 http://subversion.tigris.org/ 站點。

此產品包含由 CollabNet(http://www.Collab.Net/) 開發的軟件。

可使用以下的版本庫訪問模塊:

* ra_neon : 通過 WebDAV 協議使用 neon 訪問版本庫的模塊。

- 處理“http”方案

* ra_svn : 使用 svn 網絡協議訪問版本庫的模塊。? - 使用 Cyrus SASL 認證

- 處理“svn”方案

* ra_local : 訪問本地磁盤的版本庫模塊。

- 處理“file”方案

導出項目

cd /opt/srv/

/usr/local/svn/bin/svn export --username c1g --password 123456 http://192.168.1.9/pub37

參考:

總結

以上是生活随笔為你收集整理的Linux版本的SVN客户端,linux 下安装 subversion(svn) 客户端的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。