Open the web browser and type repo URL and hit enter. sudo a2dissite nfĮnable newly created virtual host file. sudo vim nfĮrrorLog $/ combinedĬhange “” to your hostname.ĭisable default virtual host file. Sudo htpasswd -m /etc/svn-auth-users fosslinux2Ĭreate Apache virtual host file for SVN- in order to do this we first need to change directory to “/etc/apache2/sites-available/” cd /etc/apache2/sites-available/Ĭreate a virtual host file and here we create a file called “nf”. sudo htpasswd -cm /etc/svn-auth-users fosslinux Here we create a password file in the “/etc” directory. sudo chmod -R 775/ opt/svn/fosslinuxrepoĪdd Subversion Users. sudo chown -R www-data:www-data /opt/svn/fosslinuxrepo/Ĭhanging permissions of the repository. Here we create a repository called “fosslinuxrepo” sudo svnadmin create /opt/svn/fosslinuxrepoĬhanging ownership of the repository. sudo mkdir -p /opt/svnĬreate svn repository. Here we use “/opt” directory to create our repository.Ĭreate svn directory. Now we are going to create the SVN repository. If svn modules are not enabled. run below commands and enable it sudo a2enmod dav sudo a2enmod dav_svn sudo a2enmod authz_svnĪfter enabling those modules, we need to restart the Apache service. Apache Subversion SVN authz protected copyfrom paths regression Subversion servers reveal copyfrom paths that should be hidden according to configured path. List the enabled modules sudo apachectl -M
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |