For linux, you can configure the subversion. For more information, see Linux Enterprise Application-Linux server application. 1. Preparations
In centos5 or fedora 8, httpd and subversion are installed by default. apache mod_dav_svn and mod_authz_svn modules are also required to access svn through the web. If they are not loaded, reinstall them;
3. Add a user
// Create the MD5 encrypted password file authfile,-c: create,-m: Encrypted with MD5
Htpasswd-c-m/home/svnrepo/authfile pujing
// Add a second user
Htpasswd-m/home/svnrepo/authfile bushi
6. import the file to the version Repository
Svn import-m "the first import"/var/www/html/ecshop file: // home/svnrepo/ecshop
7. Access
Http: // 192.168.1.139/svn/ecshop
8. commit to the version library and update the web test environment
# Cd/home/svnrepo/ecshop/hooks
# Cp post-commit.tmpl post-commit // remove. tmpl.
# Chmod 755 post-commit
# Vi post-commit
// Add three lines at the end of the post-commit File
SVN =/usr/bin/svn
WEB =/home/website/ecshop
$ SVN update -- username pujing -- password 123456 $ WEB
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