Maintain a Versioning System in your work environment
if you have issues(like When did you upload it || it not redirecting anymore || it worked yesterday|| not sure what i did wrong )
{
Then this post would serve as a relieve for you
}
else {
if (you are a developer || you are a system administrator){
you can switch your job
}
}
This post would help you get started with subversion Source code management. for more information about subversion check http://subversion.tigris.org/
You would need to download subversion server http://subversion.apache.org/packages.html. Then you can connect to the server using you favorite IDE (Netbeans,Eclipse,Virtual Studio ).
In this post i would take you through how to install subversion on your windows 7 O/S using Netbeans 6.8
Subversion support various protocol (File, HTTP,HTTPS,SSH,SVN), but i would be install subversion as a window service using svnserve.exe.
1 install the subversion server ( set the subversion port number to 3790 )
## this explains how to create a subversion repository
## make sure the subversion server path as been added to your windows path so that you can call subversion from anywhere in your cmd
## start->right click on computer->properties->Advanced System Setup->Environment Variables->path->edit->add C:\Program Files\CollabNet\Subversion Server to the path variables assuming you installed the subversion server in this path
## this create a sub version repository in the following
## it create 4 folders (hooks,conf,look,db) in your repository
2 svnadmin create “c:\Subversion\svn”
## edit conf files so that you can authtenticate users that can access your subversion system
3 open the folder where you created the repository “c:\Subversion\svn\conf”
open the file svnserve.conf
uncomment the following lines
anon-access = read
auth-access = write
password-db = passwd
## add a user lanre with password lanre
## add username and password
##format username= password
4 open the file passwd in the folder “c:\Subversion\svn\conf”
lanre= lanre
## create a window service
##called svnserver
## with exe path C:\Program Files\CollabNet\Subversion Server\svnserve.exe
## with root folder c:\Subversion
## that listen at port 3790 (the port that you specified when installing subversion on the server)
## host server address localhost
## with display name Subversion Repository
## and depend on tcpip protocol
## service start auto
5 sc create svnserver binPath= “\”C:\Program Files\CollabNet\Subversion Server\svnserve.exe\” –service –root c:\Subversion\svn –listen-port=3790 –listen-host=localhost” DisplayName= “Subversion Repository” depend= Tcpip start= auto
6 open you subversion client (make sure the subversion server is up -> start the service “Subversion Repository” from your windows services )
## open you netbeans IDE ->team->subversion ->download the subversion plugin
4 connect to the repository using svn://localhost/snv
Enter the username and password to the server.
then checkout your project .



