Apache + subversion (SVN) configuration under Fedora Core 8

Source: Internet
Author: User

1, DownloadApache

:Http://httpd.apache.org/download.cgi

I downloaded:Httpd-2.2.8.tar.bz2,

Download the package and decompress it to the current directory. The command is as follows:

TarJxvf Httpd-2.2.8.tar.bz2

2, DownloadSubversion

:Http://subversion.tigris.org/servlets/ProjectDocumentList? Folderid = 260 & expandfolder = 74

I downloaded:Subversion-1.4.6.tar.gz

Download the package and decompress it to the current directory. The command is as follows:

TarJxvf Subversion-1.4.4.tar.bz2

As shown in:

3, Compile and installApache

GoApacheDirectory:/Root/download/tmp/httpd-2.2.8

The command is as follows:

CDHttpd-2.2.8

StartApacheRun the following command to install the Configuration:

./Configure-- Enable-Dav -- enable-so -- prefix=/Usr/local/apache2/

Compilation and Installation

Make

MakeInstall

StartApacheService

/Usr/local/apache2/bin/apachectlStart

OpenFirefoxIn the browser, enter:Http: // localhost/,The following page is displayed:

ApacheThe installation is successful.

4, Compile and installSubversion

GoApacheDirectory:/Root/download/tmp/subversion-1.4.4

The command is as follows:

CDSubversion-1.4.4

StartSubversionRun the following command to install the Configuration:

./Configure-- With-apxs=/Usr/local/apache2/bin/apxs-- Prefix=/Usr/local/Subversion-- With-Apr=/Usr/local/Apache-- With-Apr-util=/Usr/local/apache2-- With-ss -- With-zlib -- enable-maintainer-Mode

Compilation and Installation

Make

MakeInstall

Create a configuration library directory

Mkdir/Home/svnroot/Repository

Create a configuration LibrarySvn1

./Usr/local/subversion/bin/svnadminCreate /Home/svnroot/Repository/svn1

Check the configuration LibrarySvn1

Ls/Home/svnroot/Repository/svn1

Configuration LibrarySvn1Created successfully, as shown in:

ViewSvnadminVersion Information:

5, ModifyApacheConfiguration FileHttpd. conf

Directory of the file:/Usr/local/apache2/Conf

Add the content in the red rectangle.

Then, restartApacheThe command is as follows:

/Usr/local/apache2/bin/apachectlRestart

OpenFirefoxIn the browser, enter:Http: // localhost/SVN/svn1 ,The following page is displayed:

SubversionSet successfully.

6, Others

For other settings, see the relevant documentation or manual.

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.