導航:首頁 > 凈水問答 > tar過濾svn

tar過濾svn

發布時間:2025-01-14 02:29:56

❶ Linux中編譯安裝Subversion(SVN)客戶端的教程

Subversion(簡稱svn)是近年來崛起的版本管理軟體系統,是cvs的接班人。目前,絕大多數開源軟體都使用svn作為代碼版本管理軟體。
Subversion是一個版本控制系統,相對於的RCS、CVS,採用了分支管理系統,它的設計目標就是取代CVS。互聯網上免費的版本控制服務多基於Subversion。
Subversion的版本庫可以通過網路訪問,從而使用戶可以在不同的電腦上進行操作。從某種程度上來說,允許用戶在各自的空間里修改和管理同一組數據可以促進團隊協作。因為修改不再是單線進行(單線進行也就是必須一個一個進行),開發進度會進展迅速。此外,由於所有的工作都已版本化,也就不必擔心由於錯誤的更改而影響軟體質量如果出現不正確的更改,只要撤銷那一次更改操作即可。某些版本控制系統本身也是軟體配置管理系統(SCM),這種系統經過精巧的設計,專門用來管理源代碼樹,並且具備許多與軟體開發有關的特性比如,對編程語言的支持,或者提供程序構建工具。不過Subversion並不是這樣的系統。它是一個通用系統,可以管理任何類型的文件集。

Subversion 1.8中http客戶端基於neon已經被移除,改用self。如果要支持http方式需要在安裝svn前安裝serf,安裝serf推薦用serf-1.2.1,安裝是./configure;serf-1.3.0安裝是用scons(yum -y install scons)方式,安裝serf-1.3.0後安裝可能會報誤,Google沒找到解決方法,如下報錯
checking for serf-2 library... no
checking for serf-1 library... no
checking was serf enabled... no

An appropriate version of serf could not be found, so libsvn_ra_serf
will not be built. If you want to build libsvn_ra_serf, please
install serf 1.2.1 or newer.

configure: error: Serf was explicitly enabled but an appropriate version was not found.

安裝步驟:
(本文只基於LAMP一鍵安裝包環境部署好之後進行)
1. 安裝apr、apr-unit

復制代碼

代碼如下:

cd /root/lamp/source
#wget http://archive.apache.org/dist/apr/apr-1.4.8.tar.gz #LAMP中已經下載
#wget http://archive.apache.org/dist/apr/apr-util-1.5.2.tar.gz
tar xzf apr-1.4.8.tar.gz
cd apr-1.4.8
./configure --prefix=/usr/local/apache
make make install
cd ../
tar xzf apr-util-1.5.2.tar.gz
cd apr-util-1.5.2
./configure --prefix=/usr/local/apache
make make install
cd ../

2. 安裝serf-1.2.1

復制代碼

代碼如下:

yum -y install expat-devel
wget http://serf.googlecode.com/files/serf-1.2.1.tar.bz2 #serf-1.2.1.zip是win版有問題
tar xjf serf-1.2.1.tar.bz2
cd serf-1.2.1
./configure --prefix=/usr/local/serf --with-apr=/usr/local/apache --with-apr-util=/usr/local/apache
make make install
cd ..

3. 安裝svn

復制代碼

代碼如下:

tar xzf subversion-1.8.1.tar.gz
cd subversion-1.8.1
./get-deps.sh
./configure --prefix=/usr/local/subversion --with-apxs=/usr/local/apache/bin/apxs
--with-apr=/usr/local/apache --with-apr-util=/usr/local/apache --with-zlib
--with-openssl --enable-maintainer-mode --with-serf=/usr/local/serf --enable-mod-activation
make make install
cd ..

4. 檢查是否安裝成功
安裝成功會在/usr/local/apache/conf/httpd.conf自己加入下面2行

復制代碼

代碼如下:

LoadMole dav_svn_mole /usr/local/subversion/libexec/mod_dav_svn.so
LoadMole authz_svn_mole /usr/local/subversion/libexec/mod_authz_svn.so

檢查svn是否支持http方式:

復制代碼

代碼如下:

# svn --version

svn, version 1.8.1 (r1503906)
compiled Aug 2 2013, 11:36:48 on x86_64-unknown-linux-gnu

Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) moles are available:

* ra_svn : Mole for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Mole for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Mole for accessing a repository via WebDAV protocol using serf.
- handles 'http' scheme
- handles 'https' scheme

閱讀全文

與tar過濾svn相關的資料

熱點內容
酸性除垢劑破壞管路 瀏覽:203
櫻花熱水器能自己除垢嗎 瀏覽:257
感光膠廢水 瀏覽:51
廚房下水接污水管怎麼辦 瀏覽:133
熱水器內部水垢怎麼清理 瀏覽:189
二級水處理出水硬度高的原因 瀏覽:860
為什麼更換柴油濾芯需要排氣 瀏覽:466
景甜純凈水是什麼水 瀏覽:474
錦州車間凈化器多少錢一台 瀏覽:937
什麼是天然氣濾芯表觀氣速 瀏覽:308
石家莊二手反滲透裝置 瀏覽:957
安吉爾凈水器顯示器不亮怎麼辦 瀏覽:639
凈水機濾網怎麼清洗干凈 瀏覽:173
減壓蒸餾制備呋喃甲醛 瀏覽:551
桶裝純凈水怎麼卸 瀏覽:260
凈化廢水過陶瓷濾機 瀏覽:295
三合一過濾器裡面的怎麼清理 瀏覽:512
雞蛋半透膜的實驗 瀏覽:119
物料提升限位器 瀏覽:494
污水管與水泥井連接處叫什麼 瀏覽:608