Configure svn server over Apache2, using https.
1 2 3 4 5 6 7 8 9 10 11 12 |
sudo apt update sudo apt upgrade sudo apt-get install apache2 sudo apt-get install subversion libapache2-mod-svn subversion-tools libsvn-dev sudo a2enmod dav dav_svn sudo service apache2 restart sudo mkdir -p /var/lib/svn/ sudo svnadmin create /var/lib/svn/apprepo sudo chown -R www-data:www-data /var/lib/svn sudo chmod -R 775 /var/lib/svn sudo touch /etc/apache2/dav_svn.passwd |
now let’s set the password of the first user:
1 |
sudo htpasswd -cm /etc/apache2/dav_svn.passwd <username> |
configuriamo gli accessi:
1 |
sudo nano /etc/apache2/mods-enabled/dav_svn.conf |
we configure the accesses to the svn folders
1 |
sudo nano /etc/apache2/dav_svn.authz |
Apache restart:
1 |
sudo service apache2 restart |
With bash you can more and more… In linux you can use the “find” command from terminal and execute a command for each result simply. To change all subfolder permission from a folder recursively you can type:
1 |
find /home/xtr/Desktop/myFolder -type d -print0 |xargs -0 chmod 755 |
now all falders have the execution permission. To change all files permission from a folder recursively you…
Read more