Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Problems installing subversion1.6.6 on ubuntu

Shulou Source: shulou.com Published: 2022-06-03 07:26:00 11月10日 Update

Operation procedure:

1. Download the subversion installation with Xinlide and verify it after success.

two。 Install packages accessed using http: found to have been installed in / usr/lib/apache2/modules/mod_dav_svn.so and / usr/lib/apache2/modules/mod_ authz_svn.so, this information is in the file / etc/apache2/mods-available / dav_svn.load.

3. Modify the / etc/apache2/mods-available/dav_svn.conf file.

DAV svn

SVNParentPath / var/lib/svn-repos

AuthType Basic

AuthName "Subversion Repository"

AuthUserFile / etc/apache2/dav_svn.passwd

Require valid-user

4. Restart apache using sudo / etc/init.d/apache2 restart

5. A 403 error occurred while accessing the svn library through http://localhost/cms. Change to visit: http://localhost/cms/domestic, the error remains.

6. It is considered that because the user of apache does not have access to subversion, modify the access rights of apache user daemon to the library

Chown-R daemon / var/lib/svn-repos

Chmod-R 755 / var/lib/svn-repos

7. Re-visit: http://localhost/cms/domestic Jing OK.

8. Add users to svn:

Through the htpasswd command: htpasswd-bm / etc/apache2/userfilename username password

Htpasswd-D / etc/apache2/userfilename username / / Delete user

9. Import the exported library into an existing library:

Svn import-m "new import" [projectname] http://ip/cms/domestic/004-project-stockOption

Tags: Users files errors successes messages commands permissions procedures new interests validation problems Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Shulou Technology Apple MySQL macOS