Linux SVN服務(wù)器svn serf 下載 最新軟件|熱門(mén)排行|軟件分類|軟件專題|廠商大全

您的位置: 首頁(yè)網(wǎng)絡(luò)軟件服務(wù)器區(qū) → Linux搭建SVN 服務(wù)器 v1.2.1 官方最新版

Linux搭建SVN 服務(wù)器

v1.2.1 官方最新版 Linux搭建SVN 服務(wù)器 網(wǎng)友評(píng)分:8

同類相關(guān)軟件

軟件介紹

軟件標(biāo)簽: SVN

Linux svn服務(wù)器是一款超好用的在Linux系統(tǒng)下搭建SVN服務(wù)的軟件,它能夠幫助用戶輕松搞定SVN服務(wù)器的搭建,有需要的朋友不要錯(cuò)過(guò),趕快來(lái)綠色資源網(wǎng)下載使用吧!

Subversion1.8之后,http資源類型支持庫(kù),apache從該版本之后,舍棄了neon。Subversion 1.8中http客戶端基于neon已經(jīng)被移除,改用self。如果要支持http方式需要在安裝svn前安裝serf,安裝serf推薦用serf-1.2.1,安裝是./configure;由于google官網(wǎng)下載比較麻煩,所有我這里分享給大家。好運(yùn)!

源碼安裝svn serf_v1.2.1:

Linux下編譯Serf_v1.2.1源碼時(shí),提示以下錯(cuò)誤,有知道解決方法的朋友嗎,麻煩共享下,謝謝!

/svn_setup/lib/libssl.a(s23_clnt.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/svn_setup/lib/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libserf-1.la] Error 1

解決方案:出現(xiàn)此錯(cuò)誤是在ubuntu環(huán)境中源碼編譯Svn時(shí),安裝serf_1.2.1出現(xiàn)的,

重新編譯openssl時(shí),添加上 -fPIC,--enable-share參數(shù)即可解決上述錯(cuò)誤

serf-1.3.0安裝是用scons(yum -y install scons)方式,安裝serf-1.3.0后安裝可能會(huì)報(bào)誤,Google沒(méi)找到解決方法,如下報(bào)錯(cuò)

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一鍵安裝包》之后進(jìn)行
1. 安裝apr、apr-unit

cd /root/lamp/source #wget #LAMP中已經(jīng)下載 #wget 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 #serf-1.2.1.zip是win版有問(wèn)題 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. 檢查是否安裝成功
安裝成功會(huì)在/usr/local/apache/conf/httpd.conf自己加入下面2行

LoadModule dav_svn_module /usr/local/subversion/libexec/mod_dav_svn.so LoadModule authz_svn_module /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 The following repository access (RA) modules are available: * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - handles 'http' scheme - handles 'https' scheme

軟件截圖

下載地址 電腦版

用戶評(píng)論

熱門(mén)評(píng)論

最新評(píng)論

發(fā)表評(píng)論 查看所有評(píng)論(0)

昵稱:
請(qǐng)不要評(píng)論無(wú)意義或臟話,我們所有評(píng)論會(huì)有人工審核.
字?jǐn)?shù): 0/500 (您的評(píng)論需要經(jīng)過(guò)審核才能顯示)