1. Connect to SVN server
2. Switch to the root user
3. Switch to the SVN root directory
4. Create SVN directory
5. Grant Apache permission to read and write directories
6. View the test Catalog
Directory Description: Conf: Related configuration, common passwd, used to store user information, user name and password after encryption.
7. Add User and password
The "test" in the figure indicates the SVN directory created, "Test" is the user name and changes according to the actual situation. Note: If you add users, do not use the-c parameter, otherwise the original passwd file will be overwritten.
8. View passwd
, passwd display for encrypted password Exit VI editor, first ESC and then enter: Q, if you want to save, enter: Wq, if changed but not saved, enter: q! forced to quit.
9. Configure Apache parameters to edit SVN-related parameter profiles/etc/apache2/mods-available/dav_svn.conf
Add the following content:
Ctrl+x End, Y save
10. Restart Apache
SVN add Directory