Debian security? SVN (subversion)-Debian information of the Linux release version. For details, refer to the following section. 1: Install "apache2" and "subversion"
Apt-get install libapache2-svn apache2 subversion
2: Create a subversion and project Archive
Mkdir/home/svn
Mkdir/home/svn/foo
Svnadmin create/home/svn/foo
3: Change the owner of the directory to the Web reader.
Chown-R www-data.www-data/home/svn/foo
4: Modify the apache svn configuration file:/etc/apache2/mod-available/dav_svn.conf
DAV svn
SVNParentPath/home/svn
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile/etc/apache2/dav_svn.passwd
AuthzSVNAccessFile/etc/apache2/dav_svn.authz
Require valid-user
5: Set User Permissions: Modify/etc/apache2/dev_svn.authz
[Foo:/]
Project_leader = r
Project_coder = rw
6: add the user account connected to apache to/etc/apache2/dev_svn.passwd.
/Usr/bin/htpasswd-c/etc/apache2/dev_svn.passwd project_leader
/Usr/bin/htpasswd-c/etc/apache2/dev_svn.passwd project_coder
7. Restart apache
/Etc/init. d/apache2 restart
8: Run svn co http: // localhost/svn/foo to get the project information.
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