Detailed explanation: SVN cooperates with Apache under Centos6.6
yum install -y httpd httpd-devel subversion mod_dav_svn
#cd /etc/httpd/modules #ls | grep svn mod_authz_svn.so mod_dav_svn.so
#svn- -version
Go to the /etc/httpd/conf.d directory and use vim to open the subversion.conf configuration file to modify the options
Module configuration must ensure that the following two sentences exist in the configuration file, otherwise the svn warehouse will not be accessible
LoadModuledav_svn_module modules/mod_dav_svn.so LoadModuleauthz_svn_module modules/mod_authz_svn.so
# mkdir -p /home/svn # cd /home/svn # svnadmin create myapp # chown -R apache.apache myapp $apache是httped服务的默认用户 # vi /etc/httpd/conf.d/subversion.conf 加入以下配置 LoadModuledav_svn_module modules/mod_dav_svn.so LoadModuleauthz_svn_module modules/mod_authz_svn.so <location> DAV svn SVNParentPath /svn 仓库目录 SVNListParentPath on 使用多仓库 AuthType Basic AuthName "Authorization Realm" AuthUserFile /home/svn/svn/httpdpasswd 使用的用户文件 AuthzSVNAccessFile /home/svn/authz 使用的用户配置 Require valid-user 用户需要验证才能登录 </location>
# htpasswd -c /var/svn/passwd Justin //创建一个httpd的用户 ,第一次使用需要用 -c 选项 # servicehttpd restart
There is a passwd file under the created SVN warehouse myapp/conf/passwd. Create user information and user password passwd configuration by editing the file.
There is an authz file under the created SVN warehouse myapp/conf/authzz to configure user permissions
svnserve -d -r /home/svn/myapp ps aux | grep svn
The above is the detailed content of Detailed explanation: SVN cooperates with Apache under Centos6.6. For more information, please follow other related articles on the PHP Chinese website!

Linuxisidealforcustomization,development,andservermanagement,whileWindowsexcelsineaseofuse,softwarecompatibility,andgaming.Linuxoffershighconfigurabilityfordevelopersandserversetups,whereasWindowsprovidesauser-friendlyinterfaceandbroadsoftwaresupport

The main difference between Linux and Windows in user account management is the permission model and management tools. Linux uses Unix-based permissions models and command-line tools (such as useradd, usermod, userdel), while Windows uses its own security model and graphical user interface (GUI) management tools.

Linux'scommandlinecanbemoresecurethanWindowsifmanagedcorrectly,butrequiresmoreuserknowledge.1)Linux'sopen-sourcenatureallowsforquicksecurityupdates.2)Misconfigurationcanleadtovulnerabilities.Windows'commandlineismorecontrolledbutlesscustomizable,with

This guide explains how to automatically mount a USB drive on boot in Linux, saving you time and effort. Step 1: Identify Your USB Drive Use the lsblk command to list all block devices. Your USB drive will likely be labeled /dev/sdb1, /dev/sdc1, etc

Cross-platform applications have revolutionized software development, enabling seamless functionality across operating systems like Linux, Windows, and macOS. This eliminates the need to switch apps based on your device, offering consistent experien

Artificial Intelligence (AI) is rapidly transforming numerous sectors, from healthcare and finance to creative fields like art and music. Linux, with its open-source nature, adaptability, and performance capabilities, has emerged as a premier platfo

Looking for a fast, minimal, and efficient Linux distribution without a graphical user interface (GUI)? Lightweight, GUI-less Linux distros are perfect for older hardware or specialized tasks like servers and embedded systems. They consume fewer res

Wine 10.0 stable version release: Running Windows applications on Linux to a higher level Wine, this open source and free application, allows Linux users to run Windows software and games on Unix/Linux operating systems, ushering in the release of the 10.0 stable version! This version has been provided with source code and binary package downloads, and supports various distributions such as Linux, Windows and Mac. This edition embodies a year of hard work and over 8,600 improvements, bringing many exciting improvements. Key highlights include: Enhanced support for Bluetooth devices. Improve support for HID input devices. Optimized performance of 32-bit and 64-bit applications.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Atom editor mac version download
The most popular open source editor

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)
