Make the directory where the repository is going to be
mkdir /srv/svn/myproject
Set the permissions so apache can have the access to the folder and repository
cd /srv/svn/myproject
chown wwwrun /srv/svn
Now create the repository in the directory
svnadmin create –-fs-type fsfs /srv/svn/myproject/repos
You should now have a direcory /srv/svn/myproject/repos/
To view the repository in a browser enter the following into the address bar: http://localhost/svn/myproject