2. Switch to root user
3. Switch to SVN root directory
4. Create SVN directory
5. Authorize Apache to read and write directory permissions
6. View the test directory
Directory Description: Conf: Related configuration, commonly used passwd, used to store user information, username and encrypted password.
7. Add User and password
The "test" in the figure indicates the SVN directory you created, and "test" is the user name, changing according to the actual situation. Note: If you add a user, do not use the-c parameter, otherwise the original passwd file will be overwritten.
8. View passwd
As shown in the picture, passwd displayed for the encrypted password to exit the VI editor, the first ESC and then input: Q, if you need to save, input: Wq, if there are changes but do not save, enter: q! force exit.
9. Configure Apache parameter edit SVN-related parameter profile/etc/apache2/mods-available/dav_svn.conf
Add the following content:
Ctrl+x End, Y save
10. Restart Apache
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.