标签:svn flags 1.7 util list bsp figure pru configure
svn安装:
安装svn之前需要额外安装必要依赖包
apr安装:
./configure --prefix=/usr/local/svn/apr
make
make install
apr-util安装:
./configure --prefix=/usr/local/svn/aprutil --with-apr=/usr/local/svn/apr
make
make install
sqlite安装:
./configure --prefix=/usr/local/svn/sqlite
make
make install
zlib安装:
./configure --prefix=/usr/local/svn/zlib
make
make install
zlib目录:
CFLAGS="-O3 -fPIC" ./configure --prefix=/usr/local/svn/zlib
make
make install
最后安装SVN:
./configure --prefix=/usr/local/svn/svn1.7.5 --with-apr=/usr/local/svn/apr --with-apr-util=/usr/local/svn/aprutil --with-sqlite=/usr/local/svn/sqlite --with-zlib=/usr/local/svn/zlib
make
make install
版本库创建路径
svnadmin create /opt/svn/svnrepos
svn启动路径
svnserve -d -r /opt/svn/svnrepos
此时直接访问
svn://192.168.49.17 可以访问
svn://192.168.49.17/svnrepos 不可以访问
svn启动路径
svnserve -d -r /opt/svn/
此时直接访问
svn://192.168.49.17/svnrepos 可以访问
svn://192.168.49.17 不可以访问
启动另一个svn,端口号不重复
svnserve -d --listen-port 3691 -r /opt/svn/
linux svn安装部署
标签:svn flags 1.7 util list bsp figure pru configure
原文地址:http://www.cnblogs.com/wujinsen/p/6107747.html