Install subversion on centos 4.7 release

Source: Internet
Author: User

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

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.