It's messy. It's just a record of the installation process. If you want to install SVN, please refer
Http://blog.csdn.net/Kryptonum/archive/2007/03/07/1523643.aspx
Http://blog.csdn.net/Kryptonum/archive/2007/03/08/1524136.aspx
Bytes ------------------------------------------------------------------------------------------------
# Yum install httpd subversion mod_dav_svn
Modify/etc/httpd/CONF/httpd. conf
Listen 80
Listen 88
# Apachectl start
Httpd: Bad user name apache
# Groupadd Apache
# Useradd-G Apache
# Apachectl start
Open browser, enter http: // localhost: 88
Configure SVN
# Cd/home/
# Mkdir svnroot
# Cd svnroot
# Mkdir Repository
# Svnadmin create repository/test // create test Repository
# Mkdir-P import/{trunk, branches, tags}
# SVN import/home/svnroot/import file: // home/svnroot/Repository/test-M "init repository"
# Chown-r Apache: Apache svnroot
# Chmod 700 svnroot
# Chmod 700 svnroot/Repository
// Add to/etc/httpd/CONF/httpd. conf
<Location/SVN>
Dav SVN
Svnparentpath/home/svnroot/Repository/
Authtype basic
Authname "Subversion repository"
Authuserfile/home/svnroot/Repository/pwdfile
Authzsvnaccessfile/home/svnroot/Repository/authz
Satisfy any
Require valid-user
</Location>
# Apachectl restart
Http: // localhost: 88/SVN/test/
Command:
// Add User and modify Password
# Htpasswd-M/home/svnroot/Repository/pwdfile Username
New Password :******
Re-type new password :******
// Update authorize File
// Delete a user
# Htpasswd-D/home/svnroot/Repository/pwdfile Username
Reference
Http://blog.csdn.net/Kryptonum/archive/2007/03/07/1523643.aspx
Http://blog.csdn.net/Kryptonum/archive/2007/03/08/1524136.aspx