麒麟系统离线svn服务器搭建,SVN Server离线安装
操作系统:Centos6.x(x86_64)
#!/bin/bash
# version
APR_VERSION=apr-1.6.3
APR_UTIL_VERSION=apr-util-1.6.1
SVN_VERSION=subversion-1.10.0
SQLITE_VERSION=sqlite-autoconf-3240000
# download tar
x_download (){
export DEPLOY_DIR=/home/svn
[ -d ${DEPLOY_DIR} ] || mkdir -p ${DEPLOY_DIR}
cd ${DEPLOY_DIR}
wget -N -q https://archive.apache.org/dist/apr/${APR_VERSION}.tar.gz
wget -N -q https://archive.apache.org/dist/apr/${APR_UTIL_VERSION}.tar.gz
wget -N -q https://archive.apache.org/dist/subversion/${SVN_VERSION}.tar.gz
wget -N -q https://sqlite.org/2018/${SQLITE_VERSION}.tar.gz
}
x_download
# install apr
cd ${DEPLOY_DIR}
tar -zxf apr-1.6.3.tar.gz
cd apr-1.6.3
./configure --prefix=/home/svn/apr-1.6.3
make && make install
# install apr-util
cd ${DEPLOY_DIR}
tar -zxf apr-util-1.6.1.tar.gz
cd apr-util-1.6.1
./configure --prefix=/home/svn/apr-util-1.6.1 --with-apr=/home/svn/apr-1.6.3
make && make install
#xml/apr_xml.c:35:19: error: expat.h: No such file or directory
#should install 'expat-devel'
# install svn
cd ${DEPLOY_DIR}
tar -zxf subversion-1.10.0.tar.gz
##install sqlite unzip >> subversion-1.10.0 the configure directory
tar -zxf sqlite-autoconf-3240000.tar.gz -C /home/svn/subversion-1.10.0
mv /home/svn/subversion-1.10.0/sqlite-autoconf-3240000 /home/svn/subversion-1.10.0/sqlite-amalgamation
cd subversion-1.10.0
./configure --prefix=/home/svn/subversion-1.10.0 --with-apr=/home/svn/apr-1.6.3 --with-apr-util=/home/svn/apr-util-1.6.1 --with-lz4=internal --with-utf8proc=internal
make && make install
# add bashrc
cat >> /etc/profile << EOF
PATH=\$PATH:\$HOME/bin
PATH=/home/svn/subversion-1.10.0/bin:\$PATH
EOF
source /etc/profile
svn --version
#http://www.linuxfromscratch.org/blfs/view/svn/general/subversion.html --install svn
#https://blog.csdn.net/roy_70/article/details/52166331 --install svn for centos tags ay
#https://superuser.com/questions/929965/subversion-1-8-13-installation-without-root --install svn for ubuntu no root
#https://blog.csdn.net/huang930528/article/details/53761711 --install maven
#http://www.21ic.com/app/mcu/201806/761465.htm --arm linux
#http://www.linuxfromscratch.org/blfs/view/svn/general/svnserver.html --setting svn
操作系统:银河麒麟(ARM)
#!/bin/bash
#install apr
tar -zxf apr-1.6.3.tar.gz
cd apr-1.6.3
./configure --prefix=/home/svn/apr-1.6.3
make && make install
#install apr-util
tar -zxf apr-util-1.6.1.tar.gz
cd apr-util-1.6.1
./configure --prefix=/home/svn/apr-util-1.6.1 --with-apr=/home/svn/apr-1.6.3
make && make install
#xml/apr_xml.c:35:19: error: expat.h: No such file or directory
#should install 'expat-devel'
#install svn
tar -zxf subversion-1.10.0.tar.gz
##install sqlite unzip >> subversion-1.10.0 configure direcctiry
tar -zxf sqlite-autoconf-3240000.tar.gz -C /home/svn/subversion-1.10.0
mv /home/svn/subversion-1.10.0/sqlite-autoconf-3240000 /home/svn/subversion-1.10.0/sqlite-amalgamation
cd subversion-1.10.0
./configure --prefix=/home/svn/subversion-1.10.0 --with-apr=/home/svn/apr-1.6.3 --with-apr-util=/home/svn/apr-util-1.6.1 --with-lz4=internal --with-utf8proc=internal
make && make install
#add bashrc
cat >> /etc/profile << EOF
PATH=\$PATH:\$HOME/bin
PATH=/home/svn/subversion-1.10.0/bin:\$PATH
EOF
source /etc/profile
svn --version
#rc.local
cat >> /etc/rc.local << EOF
svnserve -d -r /home/kylin/svn/
EOF
#create xm
svnadmin create /home/kylin/svn1.6.23/zbx
#http://www.linuxfromscratch.org/blfs/view/svn/general/subversion.html --install svn
#https://blog.csdn.net/roy_70/article/details/52166331 --install svn for centos tags ay
#https://superuser.com/questions/929965/subversion-1-8-13-installation-without-root --install svn for ubuntu no root
#https://blog.csdn.net/huang930528/article/details/53761711 --install maven
#http://www.21ic.com/app/mcu/201806/761465.htm --arm linux
#add svn 1.6.23 && apr-1.2.12 && apr-util-1.2.12
#
#apr ./configure --prefix=/home/kylin/svn1.6.23/apr-1.2.12 --build=arm-linux && make && make install
#./configure --prefix=/home/kylin/svn1.6.23/apr-util-1.2.12 --with-apr=/home/kylin/svn1.6.23/apr-1.2.12 --build=arm-linux && make && make install
#./configure --prefix=/home/kylin/svn1.6.23/subversion-1.6.23 --with-apr=/home/kylin/svn1.6.23/apr-1.2.12 --with-apr-util=/home/kylin/svn1.6.23/apr-util-1.2.12 --build=arm-linux && make && make install
#
麒麟系统离线svn服务器搭建,SVN Server离线安装相关推荐
- 微软project服务器搭建,Project Server 2013 安装和部署概述
Project Server 2013 安装和部署概述 11/20/2017 本文内容 摘要: 了解在服务器场环境中安装 Project Server 2013 所涉及的步骤. 适用于: Projec ...
- 怎么在Win7服务器搭建SVN服务端
怎么在Win7服务器搭建SVN服务端 今天码大夫给大家分享在Windows服务器上如何搭建SVN环境的详细步骤: 工具/原料 1.VisualSVN server 这是服务器端的安装应用程序,根据自己 ...
- SVN服务器搭建和使用(Windows 版)
SVN服务器搭建和使用(Windows 版) Subversion是优秀的版本控制工具,尝试来搭建SVN服务器,进行版本提交 首先我们去下载SVN服务安装包: 下载 下载地址:http://subve ...
- SVN服务器搭建--Subversio与TortoiseSVN的配置安装
SVN服务器搭建和使用(一) Subversion是优秀的版本控制工具,其具体的的优点和详细介绍,这里就不再多说. 首先来下载和搭建SVN服务器. 现在Subversion已经迁移到apache网站上 ...
- SVN服务器搭建和使用(二)
上一篇 SVN服务器搭建和使用(一) 介绍了VisualSVN Server和TortoiseSVN的下载,安装,汉化.这篇介绍一下如何使用VisualSVN Server建立版本库,以及Tortoi ...
- SVN服务器搭建和web目录同步
Linux环境下配置同步更新的SVN服务器 转自 http://www.neatstudio.com/show-571-1.shtml 先搭建环境 Linux版本选择Centos5.0(膘叔:我是用的 ...
- 基于阿里云服务器搭建SVN服务器
基于阿里云服务器搭建SVN服务器 本系列文章由ex_net(张建波)编写,转载请注明出处. http://blog.csdn.net/ex_net/article/details/8577784 作者 ...
- SVN服务器搭建教程
背景 在windows云服务上使用VisualSVN Server搭建svn服务器,自己本机使用TortoiseSVN作为客户端来连接. 方法 1.安装 VisualSVN Server下载地址: D ...
- svn服务器配置文件添加用户后需要重启吗,linux 中 svn 服务器搭建 重启
鉴于在搭建时,参考网上很多资料,网上资料在有用的同时,也坑了很多人 本文的目的,也就是想让后继之人在搭建svn服务器时不再犯错,不再被网上漫天的坑爹作品所坑害,故此总结 /******开始****** ...
最新文章
- ueditor与七牛云存储结合
- 为什么在反向传播中感知器初始值不能为0_人工智能可以为我们做什么?世界皆可二分类...
- 1000亿产值、2500万辆销售目标,范迪塞尔代言的雅迪将如何正确“出海”?
- kotlin学习笔记——sqlite(anko)
- mysql中数据库覆盖导入的几种方式
- mysql 变量作用_MySQL变量的用法
- Linux 内核网络协议栈 ------sk_buff 结构体 以及 完全解释 (2.6.16)
- android 百分数与进度显示
- 训练日志 2019.1.17
- 安卓开发第一个小程序HelloWorld
- 快速排序查询第k大元素C语言,快速排序和查找第K大元素
- LLBL Gen 元数据编程 LLBL Gen Meta-data Programming
- jieba基本使用过程
- cjson构建_cJSON结构体构建
- 【近五千字纯手撸】✨前后一个月面试30家中大型高级、资深java工程师终获500强公司offer心得以及经过
- vue项目 情侣空间 纪念日功能模块
- android在framework层增加自己的service仿照GPS
- 【官宣】.NET 6 正式版来了
- 通过图片像素计算图片大小的方法
- 用户画像 各维度表的结构图