![]() Repeat this step to create all the users who can access the repository. To do so, type: sudo htpasswd -cm /etc/svn-auth-users user_nameĪ password to authenticate the user with the system will be required. Then, restart the Apache service with the command: sudo service apache2 restart Configuring Apache Subversionįirst, create a folder for all the Subversion files: sudo mkdir -p /opt/svnĬreate a repository for SVN (here called ‘tutorial’) and specify the owner: sudo svnadmin create /opt/svn/tutorial sudo chown -R /opt/svn/tutorial/ sudo chmod -R 775 /opt/svn/tutorialĪt this point, create the authorized users to act on the repository. Use the following command to install Subversion (SVN) and all the necessary dependencies: sudo apt-get install subversion libapache2-mod-svn -yĪfter its installation, to make sure that the necessary modules are enabled, type: sudo a2enmod dav dav_svn authz_svn ![]() Now, enable Apache to start at system boot: sudo systemctl enable apache2 Installing the Subversion server If it is not running, enable it with the following command: sudo systemctl start apache2 To access the Subversion server install the Apache web server: sudo apt-get update sudo apt-get install apache2 -yĬheck the Apache status with the command: sudo systemctl status apache2 ![]() In this guide, you will find all the necessary steps to install and configure a SVN Subversion server on Apache Ubuntu 18.04. Moreover, previous versions of your data can also be recovered while protecting their reversibility. Through Subversion, a complete history of the changes made to the files and folders of your server, managed with the versioning system can be accessed. Apache Subversion, often abbreviated to SVN, is a version control system, distributed as open-source software.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |