Getting started with SVN on Ubuntu takes only a few minutes, and enabling web access to the repository is also very straightforward.
First (in order to actually serve the files) you need to install Apache, open up a terminal window and run the following command. This will ensure that Apache is installed if you unselected it for some reason during the install.
sudo apt-get install apache2
Note the use of the sudo command. This will run the command you give it as a super user as normal users will not generally have access to install software like this. When you use sudo you will be prompted for the super user password. Next, use the following command to install SVN.