Set up the svn server on opensuse10.3-Linux Enterprise Application-Linux server application information. The following is a detailed description. From: http://www.rocrocket.cn /? P = 96
The difference between suse release and fedora is not small ~ It takes a long time for the open-source community to configure an svn server to become familiar with the suse environment, including how to configure the yast source and how to modify system settings ~ Finally, the configuration is successful. The D tutorial is as follows:
Preparation Phase
First, make sure that the system has the following packages:
Apache2, apache2-doc, apache2-prefork, libapr1, libapr-util1, neon, subversion, subversion-server
To obtain these packages, You need to configure the yast source to install these packages.
Add a new yast Source: (example)
Zypper addrepo http: // 210.25.132.176/distro suse_roc
Suse_roc is the alias of the software source, which can be defined by yourself
Then run the command yast to enter the management interface. Select software management, and the system will search for and verify the software source on its own.
After the installation is complete, you can use the tab to select search to install the above software.
Source Operations:
Add Source: zypper addrepo http: // 210.25.132.176/distro suse_roc
Delete Source: zypper rr 'opensuse-10.3-DVD 100 ′
Configuration phase
Create svn user groups and svn users
(Su) groupadd-r svn
Useradd-r-g svn-m-d/srv/svn-s/bin/false svn load svn module:
(Su) a2enmod dav
(Su) a2enmod dav_svn modify the/etc/apache2/conf. d/subversion. conf file as follows:
CODE: # Example configuration for a subversion repository
# See/usr/share/doc/packages/subversion for the full documentation
# Set up single repository directory 'kdrepos'
# This has open read access, but limited write (commit) access
DAV svn
SVNParentPath/srv/svn/BOSS
# Allow the 'kdrepos' index page to list all the repositories it contains
SVNListParentPath On
# Limit write permission to list of valid users.
# Require SSL connection for password protection.
# SSLRequireSSL
AuthType Basic
# Message to give to the committer
AuthName "Write access requires a password"
# File listing users with write (commit) access
AuthUserFile/srv/svn/user_access/BOSS_passwdfile
Require valid-user
# Set up stricter conditions for one directory within the 'kdrepos' dir:
# 'Secret _ repo 'has limited write access, and also limited read access.
Require valid-user
|