首頁文件分類網站建置CentOSCentOS 7.x 編譯安裝 Subversion
CentOS 7.x 編譯安裝 Subversion

Apache Subversion

https://subversion.apache.org/


Download Apache Subversion Sources

https://subversion.apache.org/download.cgi


下載 apr
cd /usr/local/src
lynx http://ftp.mirror.tw/pub/apache//apr/apr-1.7.0.tar.bz2

安裝 apr
tar jxf apr-1.7.0.tar.bz2
cd apr-1.7.0
./configure --prefix=/usr/local/apr
make
make check
make install
make clean

下載 apr-util
cd /usr/local/src
lynx http://ftp.mirror.tw/pub/apache//apr/apr-util-1.6.1.tar.bz2

安裝 apr-util
tar jxf apr-util-1.6.1.tar.bz2
cd apr-util-1.6.1
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/bin/apr-1-config
make
make check
make install
make clean

下載 SQLite
cd /usr/local/src
lynx https://www.sqlite.org/2019/sqlite-autoconf-3300100.tar.gz

安裝 SQLite
tar zxf sqlite-autoconf-3300100.tar.gz
cd sqlite-autoconf-3300100
./configure --prefix=/usr/local/sqlite3
make
make install
make clean

下載 Subversion
cd /usr/local/src
lynx http://ftp.mirror.tw/pub/apache/subversion/subversion-1.9.12.tar.bz2
lynx http://ftp.mirror.tw/pub/apache/subversion/subversion-1.10.6.tar.bz2
lynx http://ftp.mirror.tw/pub/apache/subversion/subversion-1.13.0.tar.bz2

安裝 Subversion
tar jxf subversion-1.9.12.tar.bz2
cd subversion-1.9.12
./configure --prefix=/usr/local/subversion --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-sqlite=/usr/local/sqlite3
make
make check
make install
make clean

執行位置
/usr/local/subversion/bin/svn
/usr/local/subversion/bin/svnadmin
/usr/local/subversion/bin/svnserve
說明資訊
/usr/local/subversion/bin/svn help
/usr/local/subversion/bin/svnadmin help
/usr/local/subversion/bin/svnserve --help

建立自訂目錄
mkdir /home/subversion
啟動 Subversion
/usr/local/subversion/bin/svnserve -d -r /home/subversion

Home · TortoiseSVN

https://tortoisesvn.net/


Downloads · TortoiseSVN

https://tortoisesvn.net/downloads.html

首頁文件分類網站建置CentOSCentOS 7.x 編譯安裝 Subversion