之前想在虚拟机上也搭建一个SVN的客户端环境,这样可以在虚拟机上直接更新物理机上代码服务器里的代码,省得我拷来拷去,看来我已经懒得无可救药了。不过搭建这个SVN环境实在是太麻烦了,需要先安装Apache等一大堆东西,等我一点点慢慢写。。。
Linux版本:
Ubuntu14.04_32bit: Linux ubuntu 3.16.0-30-generic
Ubuntu16.04_64bit: Linux ubuntu 4.4.0-31-generic
相关软件和库版本:
Apache是世界使用排名第一的Web服务器软件。它可以运行在几乎所有广泛使用的计算机平台上,由于其跨平台和安全性被广泛使用,是最流行的Web服务器端软件之一。它快速、可靠并且可通过简单的API扩充,将Perl/Python等解释器编译到服务器中。
Apache可移植运行库
APR: apr-1.5.2
APR-util: apr-util-1.5.4
http://apr.apache.org/download.cgi
Apache httpd:httpd-2.4.25
http://httpd.apache.org/download.cgi
SQLite:sqlite-autoconf-3.17.0
http://www.sqlite.org/download.html
Subversion: subversion-1.9.5.tar.gz
http://subversion.apache.org/download/
tar zxvf XXX.tar.gz
cd XXX
./configure
make
make install
1. Apache与相关环境安装:
Step1:
安装APR和APR-util
Step2:
安装httpd
安装Apache:
./configure –prefix=/usr/local/apache2 –enable-so –enable-rewrite –enable-dav –with-apr=/usr/local/apr/bin/apr-1-config –with-apr-util=/usr/local/apr/bin/apu-1-config –enable-maintainer-mode
Step3:
noman@ubuntu:/usr/local/apache2/bin$ ./httpd -v apache
Server version: Apache/2.4.25 (Unix)
Server built: Feb 21 2017 23:07:12
2. SQLite,SSL,Zlib安装:
Subversion
./configure –with-apxs=/usr/local/apache2/bin/apxs –with-ssl –with-zlib –prefix=/usr/local/subversion
./configure –with-apr=/usr/local/apr/bin/apr-1-config –with-apr-util=/usr/local/apr/bin/apu-1-config –with-apxs=/usr/local/apache2/bin/apxs –with-ssl –with-zlib –prefix=/usr/local/subversion
–with-apr –with-apr-util
- sd
- d