NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
MoonSire
Feb 08, 2014Aspirant
subversion configuration
I am trying to get a subversion server running on my RN314. I have the following packages installed: root@sausage:/root# dpkg --get-selections | grep subversion subversion install subversion-n...
twinpeaks1
Feb 16, 2014Aspirant
Hi,
AFAIK, for SVN HTTP(S) access the apache modules "mod_dav_svn.so" and "mod_authz_svn.so" are missing. I think these should be provided by the subversion app.
Anyway, I just installed the svnserve (SVN://) method, to get at least any kind of subversion:
The SVN server should now be available at svn://<your nas address>/projects (or the name you gave your repository).
Disclaimer: I'm no Linux expert and this might not be the best/safest/whatever approach, but it works for me. Feel free to make suggestions for improvement!
twinpeaks
AFAIK, for SVN HTTP(S) access the apache modules "mod_dav_svn.so" and "mod_authz_svn.so" are missing. I think these should be provided by the subversion app.
Anyway, I just installed the svnserve (SVN://) method, to get at least any kind of subversion:
- Select a place for the SVN repositories. I just created a share 'svn' from frontview for this. This is located at /data/svn. Probably best to don't make it accessible by any network protocol.
- Create a SVN repository, I called it "projects". Rename it as you like.
svnadmin create /data/svn/projects
- Optionally, edit /data/svn/projects/conf/svnserve.conf. I disabled anonymous access completely:
[general]
anon-access = none
auth-access = write
password-db = passwd - Edit /data/svn/projects/conf/passwd
Add usernames and passwords as desired. - Create /etc/systemd/system/svnserve.service
[Unit]
Description=SVN Server
After=network.target
[Service]
Type=forking
PIDFile=/run/svnserve.pid
ExecStart=/usr/bin/svnserve -d -r /data/svn/ --pid-file /run/svnserve.pid
[Install]
WantedBy=multi-user.target - Start the SVN service with:
systemctl start svnserve.service
- If the above worked correctly you can install the service so that it starts automatically on bootup:
systemctl enable svnserve.service
The SVN server should now be available at svn://<your nas address>/projects (or the name you gave your repository).
Disclaimer: I'm no Linux expert and this might not be the best/safest/whatever approach, but it works for me. Feel free to make suggestions for improvement!
twinpeaks
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!