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)