![]() Read our next article How to Backup and Restore SVN Repository in Linux. Change with your system hostname, domain name or IP address. Use HTTP URLs to access your repository in the browser. sudo htpasswd -m /etc/apache2/dav_svn.passwd user1 sudo htpasswd -m /etc/apache2/dav_svn.passwd user2 Step 6 – Access Repository in Browser To create additional users, use following commands. sudo htpasswd -cm /etc/apache2/dav_svn.passwd admin These users will use for authentication of svn repositories for checkout, commit processes. Now create first svn user in /etc/apache2/dav_svn.passwd file. sudo mkdir -p /var/lib/svn/ sudo svnadmin create /var/lib/svn/myrepo sudo chown -R www-data:www-data /var/lib/svn sudo chmod -R 775 /var/lib/svn Step 5 – Create Users for Subversion Also, set the required permissions on newly created directories. Use following commands to create your first svn repository with name myrepo. ![]() You just need to make necessary changes to it. Subversion Apache module package creates an configuration file /etc/apache2/mods-enabled/dav_svn.conf. Extract the installer zip archive file to a location on your local drive. sudo a2enmod dav sudo a2enmod dav_svn sudo service apache2 restart Step 3 – Configure Apache with Subversion Go to and enter your details into the form, then click on the download link to get the SmartSVN 7 Windows installer. sudo apt-get install subversion libapache2-mod-svn libapache2-svn libsvn-devĪfter installation, enable required Apache modules and restart Apache service. Also, install svn module for Apache libapache2-mod-svn packages on your system. Use the following command to install subversion packages and their dependencies. sudo apt-get update sudo apt-get install apache2 Step 2 – Install SVN Server Skip this step if you already have Apache web server on your system. You need to install the Apache web server to access the svn server using HTTP URLs. We are using Apache web server to host SVN server. This article will help you for step by step setup of Subversion (svn) server on Debian 11, Debian 10 and Debian 9 Linux systems.
0 Comments
Leave a Reply. |