If you are a developer of some sort, this tutorial is a must for versioning purposes.
Here is a brief description of this tutorial:
Follow the tutorial on Basic Net Installation...
Then we will setup a repository using XAMPP (Linux Apache Mysql PHP Package) with Subversion. I have chosen to use HTTPS: access since I am a Mac user and SSH is simply too much problems on MAC. Then I will setup NetBeans 6.5 IDE environment and svnX for MAC as a client interact with the repository. The repository will be called test-project with username james.
Ready? Let's go....
First you will need to download XAMPP and configure for https and http access.
cd /opt
wget http://kent.dl.sourceforge.net/sourceforge/xampp/xampp-linux-1.6.8a.tar....
tar zxvf xampp-linux-1.6.8a.tar.gz
/opt/lampp/lampp start
/opt/lampp/lampp security to setup security.
/opt/lampp/lampp restart
Browse to you server http://ip_address/ to test connection...
When prompted with username and password:
Username: lampp
Password: what you setup
After we setup the repos:
apt-get install subversion libapache2-svn
mkdir /var/svn-repos/
svnadmin create --fs-type fsfs /var/svn-repos/test-project
rm -f /var/svn-repos/test-project/conf/passwd
touch /var/svn-repos/test-project/conf/passwd
htpasswd /var/svn-repos/test-project/conf/passwd james
groupadd subversion
chmod -R 777 /var/svn-repos/*
Modules needed for web access:
cp /usr/lib/apache2/modules/mod_authz_svn.so /opt/lampp/modules/
cp /usr/lib/apache2/modules/mod_dav_svn.so /opt/lampp/modules/
nano /opt/lampp/etc/httpd.conf
Add these lines after LoadModule ssl_module modules/mod_ssl.so:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
Then go to the end and add:
# Subversion repositories
<Location /test-project>
DAV svn
SVNPath /var/svn-repos/test-project
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /var/svn-repos/test-project/conf/passwd
Require valid-user
SSLRequireSSL
</Location>
Restart LAMPP
/opt/lampp/lampp restart
Let's make a test
mkdir ~/TEMP/
echo "testing svn" > ~/TEMP/testing.txt
svn import -m "importing test over svn" ~/TEMP/ svn+ssh://localhost/var/svn-repos/test-project/trunk
svn co svn+ssh://localhost/var/svn-repos/test-project/trunk testcheckout
svnlook tree /var/svn-repos/test-project/