Creating SVN on Ubuntu

Assume that you have installed the required apps, eg. apache, samba and such. After you config the configuration file, follow the commands below

sudo svnadmin create /var/lib/svn/$project
sudo chown -R www-data:www-data /var/lib/svn/$project
sudo chmod -R g+ws /var/lib/svn/$project

Then, you can check out from your SVN repository server like http://locahost/svn/$project.