linux centos svn(subversion)安装

lrenwang , 2015/07/26 20:45 , Linux , 评论(0) , 阅读(1399) , Via 本站原创 | |
下载

wget http://blog.lrenwang.com/down/lnmp/apr-1.5.2.tar.gz
wget http://blog.lrenwang.com/down/lnmp/apr-util-1.5.4.tar.gz
wget http://blog.lrenwang.com/down/lnmp/sqlite-autoconf-3080000.tar.gz
wget http://blog.lrenwang.com/down/lnmp/openssl-1.0.1.tar.gz
wget http://blog.lrenwang.com/down/lnmp/subversion-1.8.13.tar.gz

tar zxvf apr-1.5.2.tar.gz
cd apr-1.5.2
./configure --prefix=/usr/local/apr
make && make install
cd ..

tar zxvf apr-util-1.5.4.tar.gz
cd apr-util-1.5.4
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/
make && make install
cd ..

tar zxvf sqlite-autoconf-3080000.tar.gz
cd sqlite-autoconf-3080000
./configure
make && make install
cd ..

tar xzvf openssl-1.0.1.tar.gz
cd openssl-1.0.1
./config --prefix=/usr/local/openssl
make && make install
cd ..

tar zxvf subversion-1.8.13.tar.gz
mkdir -p ./subversion-1.8.13/sqlite-amalgamation
cp ./sqlite-autoconf-3080000/sqlite3.c ./subversion-1.8.13/sqlite-amalgamation
cd subversion-1.8.13
./configure --prefix=/usr/local/webserver/subversion   --with-apr=/usr/local/apr/bin/apr-1-config --with-apr-util=/usr/local/apr-util/bin/apu-1-config  --with-zlib --with-ssl  --enable-maintainer-mode
make && make install
cd ..

echo  "/usr/local/lib"  >>  /etc/ld.so.conf
/sbin/ldconfig




export LC_CTYPE="zh_CN.UTF-8"

1安装apr和apr-uti

tar zxvf apr-1.5.2.tar.gz
cd apr-1.5.2
./configure --prefix=/usr/local/apr
make && make install
cd ..

tar zxvf apr-util-1.5.4.tar.gz
cd apr-util-1.5.4
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/
make && make install
cd ..



2.安装sqlite3

tar zxvf sqlite-autoconf-3080000.tar.gz
cd sqlite-autoconf-3080000
./configure
make && make install
cd ..



3.安装openssl

tar xzvf openssl-1.0.1.tar.gz
cd openssl-1.0.1
./config --prefix=/usr/local/openssl
make && make install



4.安装subversion

tar zxvf subversion-1.8.13.tar.gz
mkdir -p ./subversion-1.8.13/sqlite-amalgamation
cp ./sqlite-autoconf-3080000/sqlite3.c ./subversion-1.8.13/sqlite-amalgamation
cd subversion-1.8.13
./configure --prefix=/usr/local/webserver/subversion   --with-apr=/usr/local/apr/bin/apr-1-config --with-apr-util=/usr/local/apr-util/bin/apu-1-config  --with-zlib --with-ssl  --enable-maintainer-mode
make && make install
cd ..

echo  "/usr/local/lib"  >>  /etc/ld.so.conf
/sbin/ldconfig



linux svn up 中文显示乱码解决办法

vi /etc/sysconfig/i18n


LANG="zh_CN.UTF8"
LANGUAGE="zh_CN.UTF8:zh_CN"
SUPPORTED="zh_CN.UTF8:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"


source /etc/sysconfig/i18n

发表评论

昵称

网址

电邮

打开HTML 打开UBB 打开表情 隐藏 记住我 [登入] [注册]