企业编译安装SVN服务器脚本以及相应软件包
2014-04-27 14:05
513 查看
已亲自安装2次以上,如有问题请留言交流,谢谢所需软件包 svn_install.tar.gz 百度云盘下载地址: http://pan.baidu.com/s/1bneTDpX
#!/bin/bashyum install gcc gcc-c++ -ymkdir /home/soft -pvtar zxvf svn_install.tar.gz -C /home/soft/#其中svn_install.tar.gz 包含以下软件包:
#apr-1.4.6.tar.gz
#zxvf apr-util-1.4.1.tar.gz
#pcre-8.12.tar.gz
#httpd-2.4.2.tar.gz
#sqlite-amalgamation-3071300.zip
#neon-0.29.6.tar.gz
#subversion-1.7.5.tar.gz#svn需要SQLite支持,下载sqlite-amalgamation-3071300.zip 下载链接#http://www.sqlite.org/download.html
#svn需要neon,用于svn 命令行支持http或者https协议访问svn 下载链接#http://www.webdav.org/neon/###################################################
#安装过程:
yum remove apr-util-devel apr apr-util-mysql apr-docs apr-devel apr-util apr-util-docs -y
yum -y install lrzsz zlib zlib-devel libxml2 libxml2-devel expatcd /home/soft/svn_install/
tar zxvf apr-1.4.6.tar.gz
cd apr-1.4.6#编辑configure 注释掉 $RM “$cfgfile”
sed -i ‘s/^.*$RM “$cfgfile”$/# $RM “$cfgfile”/’ configure./buildconf
yum install autoconf -y
yum install libtool -y
./configure –prefix=/usr/local/apr
make && make installcd ..
tar zxvf apr-util-1.4.1.tar.gz
cd apr-util-1.4.1
./configure –prefix=/usr/local/apr –with-apr=/usr/local/apr
make && make installcd ..
tar zxvf pcre-8.12.tar.gz
cd pcre-8.12
./configure
make && make installcd ..
tar zxvf httpd-2.4.2.tar.gz
cd httpd-2.4.2
./configure –prefix=/usr/local/apache –with-apr=/usr/local/apr/bin/apr-1-config –with-apr-util=/usr/local/apr/bin/apu-1-config \
–enable-so –enable-dav –enable-dav-fs –enable-dav-lock –enable-maintainer-mode –enable-rewrite
make && make installcd ..
tar zxvf neon-0.29.6.tar.gz
cd neon-0.29.6
./configure
make && make installcd ..
unzip sqlite-amalgamation-3071300.zip
tar zxvf subversion-1.7.5.tar.gzmkdir -p /home/soft/svn_install/subversion-1.7.5/sqlite-amalgamation
cp sqlite-amalgamation-3071300/sqlite3.c /home/soft/svn_install/subversion-1.7.5/sqlite-amalgamation/
cd subversion-1.7.5
./configure –prefix=/usr/local/subversion –with-apxs=/usr/local/apache/bin/apxs –with-apr=/usr/local/apr/bin/apr-1-config \
–with-apr-util=/usr/local/apr/bin/apu-1-config –with-ssl –with-zlib –enable-maintainer-mode –with-neon=/usr/local
make && make install以上编译安装完毕!
本文出自 “YeaDong” 博客,请务必保留此出处http://yeadong.blog.51cto.com/7238192/1403659
#!/bin/bashyum install gcc gcc-c++ -ymkdir /home/soft -pvtar zxvf svn_install.tar.gz -C /home/soft/#其中svn_install.tar.gz 包含以下软件包:
#apr-1.4.6.tar.gz
#zxvf apr-util-1.4.1.tar.gz
#pcre-8.12.tar.gz
#httpd-2.4.2.tar.gz
#sqlite-amalgamation-3071300.zip
#neon-0.29.6.tar.gz
#subversion-1.7.5.tar.gz#svn需要SQLite支持,下载sqlite-amalgamation-3071300.zip 下载链接#http://www.sqlite.org/download.html
#svn需要neon,用于svn 命令行支持http或者https协议访问svn 下载链接#http://www.webdav.org/neon/###################################################
#安装过程:
yum remove apr-util-devel apr apr-util-mysql apr-docs apr-devel apr-util apr-util-docs -y
yum -y install lrzsz zlib zlib-devel libxml2 libxml2-devel expatcd /home/soft/svn_install/
tar zxvf apr-1.4.6.tar.gz
cd apr-1.4.6#编辑configure 注释掉 $RM “$cfgfile”
sed -i ‘s/^.*$RM “$cfgfile”$/# $RM “$cfgfile”/’ configure./buildconf
yum install autoconf -y
yum install libtool -y
./configure –prefix=/usr/local/apr
make && make installcd ..
tar zxvf apr-util-1.4.1.tar.gz
cd apr-util-1.4.1
./configure –prefix=/usr/local/apr –with-apr=/usr/local/apr
make && make installcd ..
tar zxvf pcre-8.12.tar.gz
cd pcre-8.12
./configure
make && make installcd ..
tar zxvf httpd-2.4.2.tar.gz
cd httpd-2.4.2
./configure –prefix=/usr/local/apache –with-apr=/usr/local/apr/bin/apr-1-config –with-apr-util=/usr/local/apr/bin/apu-1-config \
–enable-so –enable-dav –enable-dav-fs –enable-dav-lock –enable-maintainer-mode –enable-rewrite
make && make installcd ..
tar zxvf neon-0.29.6.tar.gz
cd neon-0.29.6
./configure
make && make installcd ..
unzip sqlite-amalgamation-3071300.zip
tar zxvf subversion-1.7.5.tar.gzmkdir -p /home/soft/svn_install/subversion-1.7.5/sqlite-amalgamation
cp sqlite-amalgamation-3071300/sqlite3.c /home/soft/svn_install/subversion-1.7.5/sqlite-amalgamation/
cd subversion-1.7.5
./configure –prefix=/usr/local/subversion –with-apxs=/usr/local/apache/bin/apxs –with-apr=/usr/local/apr/bin/apr-1-config \
–with-apr-util=/usr/local/apr/bin/apu-1-config –with-ssl –with-zlib –enable-maintainer-mode –with-neon=/usr/local
make && make install以上编译安装完毕!
本文出自 “YeaDong” 博客,请务必保留此出处http://yeadong.blog.51cto.com/7238192/1403659
相关文章推荐
- CentOS 5.4 +apache 2.4.2 编译安装SVN服务器 neon (含所需软件包)
- linux软件管理之------编译安装nginx服务器并手动编写自动化运行脚本
- Centos更新python以及相应软件及模块的安装
- svn服务器的配置和svn客户端的安装以及myeclipse中插件的安装
- 【Windows】SVN服务器&&客户端的安装以及用户搭建使用、冲突解决
- Linux中服务器软件为什么需要编译安装
- SVN服务器以及客户端安装和使用
- linx 搭建svn服务器+钩子脚本和安装ftp客户端FileZilla
- Linux作为服务器安装SVN以及配置
- Python自动化编译安装软件脚本
- 新手福利:SVN服务器安装部署以及客户端详细使用教程!
- Redhat 7.2, 9 以及Redhat 企业服务器上安装Oracle9.2和Oracle10g的方法
- 【绝对能用】新买的阿里云ECS服务器,Centos7.3系统,安装jdk,mysql,tomcat,svn服务器等软件。
- SVN 服务器搭建以及客户端安装(图解)
- Redhat 7.2, 9 以及Redhat 企业服务器上安装Oracle9.2和Oracle10g的方法
- SVN服务器和客户端的安装以及在MyEclipse中的配置
- cenos6.3下安装svn服务器,以及用户权限配置
- Myeclipse2013 SVN安装方法以及项目上传到svn服务器
- Ubuntu12.4以及相应软件安装点滴
- Myeclipse2013 SVN安装方法以及项目上传到svn服务器