Apache Integrated Subversion

Source: Internet
Author: User
Tags install perl

1. Preparatory work

Yum install-y gcc gcc-c++ #安装gcc

Yum-y Install Perl #安装perl
Setenforce 0 #关闭selinux
Sed-i ' s/selinux=enforcing/selinux=disabled/g '/etc/selinux/config

Service Iptables Stop #关闭iptables

Chkconfig iptables off


2. Install Apr
./configure--PREFIX=/USR/LOCAL/APR
Make && make install


3, Installation Apr-util
./configure--prefix=/usr/local/apr-util--WITH-APR=/USR/LOCAL/APR
Make && make install


4, Installation Pcre
./configure--prefix=/usr/local/pcre
Make && make install


5. Installing Apache
./configure--prefix=/usr/local/apache--enable-dav--enable-so--enable-maintainer-mode--with-apr=/usr/local/apr- -with-apr-util=/usr/local/apr-util--with-pcre=/usr/local/pcre
Make && make install


Remove the/usr/local/apache/conf/httpd.conf file servername www.example.com:80 Comment
\cp/usr/local/apache/bin/apachectl/etc/init.d/httpd
/usr/local/apache/bin/apachectl-k Start or/etc/init.d/httpd start


6. Install SQLite
./configure
Make && make install


7, installation Zlib
./configure
Make && make install


8. Install Subversion
./configure--prefix=/usr/local/subversion--with-apache-libexecdir=/usr/local/apache/modules--with-apxs=/usr/ Local/apache/bin/apxs--WITH-APR=/USR/LOCAL/APR--with-apr-util=/usr/local/apr-util
Make && make install


Added in/usr/local/apache/conf/httpd.conf:

LoadModule Authz_svn_module modules/mod_authz_svn.so

LoadModule Dav_svn_module modules/mod_dav_svn.so


9. When creating a new repository, add in/usr/local/apache/conf/httpd.conf

<Location/svn/test>
Limitrequestbody 52428800000
DAV SVN
Svnpath/data/svn/test_svn
Authzsvnaccessfile/data/svn/accessconf/authz
AuthType Basic
AuthName "Tester Subversion repository"
Authuserfile/data/svn/accessconf/passwd.conf
Require Valid-user
</Location>

This article is from the "small White Nest" blog, please be sure to keep this source http://qing429.blog.51cto.com/5781009/1590728

Apache Integrated Subversion

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.