CENTOS+USVN (lamp based)

Source: Internet
Author: User

CENTOS6.7+LAMP+SUBVERSION+USVN Installation Configuration

Installation Environment

CentOS 6.7 x86_64

Main software:

Subversion

Usvn

Yum Install subversion httpd mod_dav_svn php php-mysql mysql-server perl-dbi perl-dbd-mysql mysql-devel mod_auth_mysql

if the centos7

Yum Remove Subversion httpd mod_dav_svn php php-mysql mariadb-server perl-dbi perl-dbd-mysql mysql-devel mod_auth_mysql

to configure/etc/httpd/conf/httpd.conf, Add the following:

Alias/usvn/var/www/usvn/public

<Directory/var/www/usvn/public>

Options +symlinksifownermatch

AllowOverride All

Order Allow,deny

Allow from all

</Directory>

Download usvn:http://www.usvn.info/download.html Latest version of the installation package

Unzip Usvn-1.0.7.zip

Cp-r USVN-1.0.7/VAR/WWW/USVN

Chown-r APACHE:APACHE/VAR/WWW/USVN

s ervice httpd Restart

Web access http://server-ip/usvn/install.php

Set up subversion repository /var/www/usvn/

Set subversion password file /var/www/usvn/htpasswd

Setting Subversion control files /var/www/usvn/authz

The path here can be set on its own, but must exist and be licensed to Apache users

Database Settings

Database Type PDO MySQL ( high compatibility with PDO )

Host localhost

Login Name Root

Password you set the root passwordfor MySQL (mysqladmin-u root password xxxx mysql password change)

Database name USVN

TICK CREATE Database

Table Prefixes Usvn_

These are the default unmodified

First build, need to tick on the "CREATE DATABASE", if it is a reload, the database already exists in the case, must also be ticked on the creation, the next step after the prompt database exists,

Then uncheck Create, and then proceed to the next step, directly do not tick create, will also error.

Next page Select Do not check for updates (check for updates will upload data)

HTTP://SERVER-IP/USVN can manage the repository, user name, and user groups by logging in with an administrator user .

Setup httpd and MySQL boot up

Chkconfig HTTPDD on

Chkconfig mysqld on

If Centos7

Systemctl Enable MARIADB

Systemctl Enable httpd

Firewall turned on Port

-A input-m state--state new-m tcp-p TCP--dport 80-j ACCEPT

Thank the major moderators to provide information


CENTOS+USVN (lamp based)

Related Article

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.