User Tools

Site Tools


mywiki:linux:websvn

WebSVN setup in Ubuntu 14.04

Since WEBSVN does not fully compatible with Ubuntu 14.04 yet. So we have to do some trick here

First uninstall failed websvn if already tried

  sudo apt-get remove websvn
  sudo apt-get remove --auto-remove websvn
  sudo apt-get purge websvn
  
  

Install Websvn

  sudo apt-get install websvn
  
  Note: Must select "**No**" for " Do you want to configure WebSVN now"
  

Manually configure Websvn

  cd /etc/websvn/
  sudo vi config.php and add below line, ie, provide root folder of svn repos:
    $config->parentPath('/mnt/data/ppa-data/svn/repos');

Link to apache2 Server

  cd /etc/websvn/
  copy apache.conf websvn_http.conf
  cd /etc/apache2/sites-available
  sudo ln -s /etc/websvn/websvn_http.conf .
  cd /etc/apache2/sites-enabled
  sudo ln -s ../sites-available/websvn_http.conf .
  sudo service apache2 reload
  

Try Websvn

In my setup, it is http://10.64.44.136/websvn

If it is installed correctly, it should display all wvn repos.

mywiki/linux/websvn.txt · Last modified: by 127.0.0.1