Setting Up Apache Subversion on Debian/Ubuntu

Published: 17 November 2022
on channel: i12bretro
3,037
20

#Subversion #Debian #Linux #SourceCode

Full steps can be found at https://i12bretro.github.io/tutorials...

--------------------------------------------------------------------
Installing Apache Subversion
--------------------------------------------------------------------
   01. Log into the Linux device
   02. Run the following commands in a terminal:
         update software repositories
         sudo apt update
         install apache
         sudo apt install apache2
         install subversion and apache modules
         sudo apt install subversion libapache2-mod-svn
         create a new subversion group
         sudo groupadd subversion
         add user(s) to the new group
         sudo addgroup i12bretro subversion
         create the repository directory and set permissions
         sudo mkdir /var/lib/svn
         sudo chown -R www-data:subversion /var/lib/svn/
         sudo chmod -R 770 /var/lib/svn/
         create a test repository
         sudo svnadmin create /var/lib/svn/Youtube_TEST
         enable apache modules
         sudo a2enmod dav dav_svn
         create a new svn.conf file to configure the site
         sudo nano /etc/apache2/sites-available/svn.conf
   03. Paste the following configuration into svn.conf
         Alias /svn /var/lib/svn
         ≪Location /svn≫
            DAV svn
            SVNListParentPath On
            SVNParentPath /var/lib/svn
            Require all granted
            AllowOverride None
         ≪/Location≫
   04. Press CTRL+O, Enter, CTRL+X to write the changes to svn.conf
   05. Continue with the following commands to enable the site and restart Apache:
         enable the svn site
         sudo a2ensite svn
         restart apache2 service for the changes to take effect
         sudo systemctl restart apache2
   06. Open a web browser and navigate to http://DNSorIP/svn/Youtube_TEST
   07. A bare bones directory listing of the "Youtube_TEST - Revision 0: /" should be displayed
 


Connect with me and others ###
★ Discord:   / discord  
★ Reddit:   / i12bretro  
★ Twitter:   / i12bretro  


On this page of the site you can watch the video online Setting Up Apache Subversion on Debian/Ubuntu with a duration of hours minute second in good quality, which was uploaded by the user i12bretro 17 November 2022, share the link with friends and acquaintances, this video has already been watched 3,037 times on youtube and it was liked by 20 viewers. Enjoy your viewing!