Open TheTrueCoder opened 2 years ago
Commonly used commands include:
sudo htpasswd -c /etc/apache2/dav_svn.passwd <New Username>
.sudo svnadmin create /mnt/extssd/svn_repos/<Repo Name>
.sudo chown -R www-data:www-data /mnt/extssd/svn_repos/
to set file ownership to the server account so it can be accessed properly.sudo /etc/init.d/apache2 restart
to restart the server after config changes.http://192.168.1.2/svn/<Repo Name>
.SVNAdmin Web GUI setup.
/var/www/html
.<RPI IP address:port>/svnadmin/index.php
The values include:
/etc/apache2/dav_svn.passwd
/etc/apache2/dav_svn.passwd
/mnt/extssd/svn_repos
/usr/bin/svn
/usr/bin/svnadmin
I can't log in to the web GUI yet.
My setup follows this guide pretty closely with key diffrences outlined below.
sudo apt-get install apache2 libapache2-mod-svn
because thelibapache2-svn
package is not available on Ubuntu 20.04LTS which is what I'm running on my pi.SVNListParentPath On
in thedav_svn.conf
so I can view all the repos on the server.I am running Ubuntu 20.04LTS 64bit on a Raspberry Pi 4 2GB.