文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>在suse enterprise server10 中编译安装subversion

在suse enterprise server10 中编译安装subversion

时间:2010-06-20  来源:gaohp2008

install subversion on suse linux 10

To install subversion on suse (or other *nix os), you can install by source or by birany distributions. I'm using source installation for my suse enterprise server 10.
Get lastest source version from http://subversion.tigris.org. The lastest version is 1.4.5, you should get subversion-1.4.5.tar.gz and subversion-depts-1.4.5.tar.gz.
Decompress these files:
$tar xzvf subversion-1.4.5.tar.gz
$tar xzvf subversion-depts-1.4.5.tar.gz
$cd subversion-1.4.5
$sh ./autogen.sh
$./configure
$make
$make install

if there's error with make command, maybe your system don't have neon installed. Change to directory neon
$cd neon
and run following command
$./configure --enable-shared
$make
$make install
Now you back to subversion directory and run installations command again
$cd ..
$./configure
$make
$make install

After subversion server installed, it's not work install. We must some configuration to force it run
First, add these line to /etc/apache2/sysconfig.d/loadmodule.conf
LoadModule dav_module /usr/lib64/apache2/mod_dav.so
LoadModule dav_svn_module /usr/lib/apache2/mod_dav_svn.so
LoadModule authz_svn_module /usr/lib/apache2/mod_authz_svn.so
2. Add dav mod_dav_svn mod_authz_svn to APACHE_MODULES section in file /etc/sysconfig/apache2
3. Make sure that /usr/lib64/apache2 has included in file /etc/ld.so.conf. If not, add this line.
4. Run ldconfig command
$sbin/ldconfig
5. Add this block
<Location /svn>
DAV svn
SVNPath /home/svn
</Location>
to the httpd.conf
6. Create a repos
svnadmin create /usr/local/svn
7. Import an project
svn import /path/to/file file:///usr/local/svn/newpro
8. Change owner of the svn
chown -R wwwrun:www /usr/local/svn
9. Test whether it work on svn client
相关阅读 更多 +
排行榜 更多 +
瓢虫少女

瓢虫少女

飞行射击 下载
潜艇鱼雷

潜艇鱼雷

飞行射击 下载
网络掠夺者

网络掠夺者

飞行射击 下载