If you on windows and developing alone, microsoft source safe (VSS) will often be all you need to use.
VSS uses the SMB protocol for transferring files and as such, is not suitable for access across networks.
There are plugins, such as source anywhere and source offsite, that push VSS traffic through a valid
protocol. These packages are nice, but not cheap.
Team foundation server could also do the job, but it more power than I need.
I need to use dedicated machine for my repository. Only spare I have
at the moment is a G4 Mac Mini--so running source safe or tfs under windows is obviously not going to happen.
As long as only a few developers need simultaneous access, hosting a repository doesn't take much horse
power, so almost any old machine will work.
Step 1: Get Subversion. I recommend using MacPorts. After MacPorts is installed, open a terminal window
$ sudo port install subversion
This will download and compile the current version of Subversion.
Step 2: Make the file structure for your repository.
mkdir -p /Library/Subversion/Repository
Step 3: Make your repository.
svnadmin create myRepo
Step 4: Change repository settings.
When you edit 'svnserve.conf', make the contents of the file look like this:
anon-access = none
auth-access = write
password-db = passwd
realm = myRepo on my Dedicated Server
This will only allow registered users to have read/write access.
Add your individual users to your passwd file.
Step 5: Update your acl's
sudo chown -R root:admin /Library/Subversion/Repository
sudo chmod -R ug+rwX,o= /Library/Subversion/Repository
Step 6: Turn on the server daemon
svnserve -d -r /Library/Subversion/Repository
Now you are ready to do your initial import.
Point your client to IP and provide one of the username/password combinations from your
passwrds file and you are set.