首页 > 代码库 > apache svn subversion安装和配置(使用源码安装包方式)
apache svn subversion安装和配置(使用源码安装包方式)
环境:虚拟机下centos7
1.下载安装包:http://subversion.apache.org/download.cgi
2.上传到指定文件夹并解压
3.安装依赖包
aprapr-util
sqlite-amalgamation
下载地址:http://apr.apache.org/download.cgi
安装方法,apr:
./configure --prefix=/usr/local/apr
make & make install
安装方法,apr-util:
./configure --prefix=/usr/local/apr-util
make & make install
如不进行以上依赖包的安装在执行./configure配置时,会遇到如下问题:
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found. Please install APR on this system and configure Subversion with the appropriate –with-apr option. You probably need to do something similar with the Apache Portable Runtime Utility (APRUTIL) library and then configure Subversion with both the –with-apr and –with-apr-util options.
创建svn库
xiluhua@vm-xiluhua /usr/local$ svnadmin create svn/repositoryxiluhua@vm-xiluhua /usr/local$ cd svn/repository/xiluhua@vm-xiluhua /usr/local/svn/repository$ ll总用量 16drwxrwxr-x. 2 xiluhua xiluhua 51 2016/10/03 22:03:40 confdrwxrwsr-x. 6 xiluhua xiluhua 4096 2016/10/03 22:03:40 db-r--r--r--. 1 xiluhua xiluhua 2 2016/10/03 22:03:40 formatdrwxrwxr-x. 2 xiluhua xiluhua 4096 2016/10/03 22:03:40 hooksdrwxrwxr-x. 2 xiluhua xiluhua 39 2016/10/03 22:03:40 locks-rw-rw-r--. 1 xiluhua xiluhua 229 2016/10/03 22:03:40 README.txtxiluhua@vm-xiluhua /usr/local/svn/repository$
apache svn subversion安装和配置(使用源码安装包方式)
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。