Configure SVN using windows
I came across this google search, but the page seemed to be deleted or moved away, so here is the original article on how to configure SVN using windows….the credit goes to the original author and not to me…I have just blogged it for reference purposes…
Setting up a Subversion Server under Windows
I talked a little bit about what Subversion is in my previous post. Now, let’s get it set it up in Windows.
Luckily for us, Joe White has done most of the work already; he has a tremendously helpful post that documents how to set up Subversion. I’ll see if I can streamline his excellent post a bit further, and illustrate it with screenshots.
A) Download Subversion
You’ll need the latest version of..
- the Windows binaries
- the “run Subversion as a windows service” wrapper
- the TortoiseSVN shell integration utility
B) Install Subversion
- Unzip the Windows binaries to a folder of your choice. I chose c:\program files\subversion\ as my path.
- Now, add the subversion binaries to the path environment variable for the machine. I used %programfiles%\subversion\bin\
- You’ll also need another environment variable, SVN_EDITOR, set to the text editor of your choice. I used c:\windows\notepad.exe
C) Create a Repository
- Open a command prompt and type
svnadmin create "c:\Documents and Settings\Subversion Repository"
- Navigate to the folder we just created. Within that folder, uncomment the following lines in the /conf/svnserve.conf file:
[general] anon-access = read auth-access = write password-db = passwd
Next, uncomment these lines in the /conf/passwd file:
[users] harry = harryssecret sally = sallyssecret
D) Verify that everything is working
- Start the subversion server by issuing this command in the command window:
svnserve --daemon --root "C:\Documents and Settings\Subversion Repository"
- Create a project by opening a second command window and entering this command:
svn mkdir svn://localhost/myproject
It’s a standard Subversion convention to have three folders at the root of a project:
/trunk
/branches
/tags - At this point, Notepad should launch:
Enter any comment you want at the top of the file, then save and exit.
- You’ll now be prompted for credentials. In my case I was prompted for the administrator credentials as well:
Authentication realm: 0f1a8b11-d50b-344d-9dc7-0d9ba12e22df Password for 'Administrator': ********* Authentication realm: 0f1a8b11-d50b-344d-9dc7-0d9ba12e22df Username: sally Password for 'sally': ************ Committed revision 1.
Congratulations! You just checked a change into Subversion!
E) Start the server as a service
- Stop the existing command window that’s running svnserve by pressing CTRL+C.
- Copy the file SVNService.exe from the zip file of the same name to the subversion\bin folder.
- Install the service by issuing the following commands:
svnservice -install --daemon --root "C:\Documents and Settings\Subversion Repository" sc config svnservice start= auto net start svnservice
- Test the new service by listing all the files in the repository:
svn ls svn://localhost/
You should see the single project we created earlier, myproject/
F) Set up the shell extension
- Run the TortoiseSVN installer. It will tell you to restart, but you don’t need to.
- Create a project folder somewhere on your hard drive. Right click in that folder and select “SVN Checkout…”
type svn://localhost/myproject/ for the repository URL and click OK.
- Create a new file in that directory. Right click the file and select “TortoiseSVN, Add”
- The file hasn’t actually been checked in yet. Subversion batches any changes and commits them as one atomic operation. To send all your changes to the server, right click and select “SVN Commit”:
And we’re done! You now have a networked Subversion server and client set up on your machine. Note that the default port for svnserve is 3690.
how do install Linux on my Imate
I have been trying to find many ways to install linux on my Handheld mobile phone (Imate – KJam), does anyone know how do i replace the exisiting windows mobile with Linux based OS ?? If yes please let me know and if any one can provide step by step guidance that would be really great
Installation of Fedora
Prior to my previous post about moving to Linux. I have made a bold step, uninstalled my Vista once and for all, and now have my new OS as Fedora 8.
I first messed up with the installation, the installation does not proceed further after the message “Initializing boot…”, i reinstalled again and all worked so fine…
1) my resolution was messed up a little, i selected 1280 x something and my screen was way too away, the changed the resolution back(System –> Preferences –> HArdware –> Screen resolution) – as easy as that….
2) now I’m starting to play around, using the multiple work spaces,one always has my music player so that my current workplace, does not look messy at all(i always longed for this feature in windows –> even thou there were program groups –> it still did not have this multiple wrkspace thing, my first love with linux
3) there are some 128 updates available and my download manager is still downloading them(for more than 2 hrs now), so i will have my patience in letting it to complete…
I’m now trying to host my webserver and see how i can use Linux for websites…
jst a screen shot of my desktop as of now…more later…love to all who have helped me…thnx
Changing my citizenship to Linux
I have been so desperate to move to Linux environment for quite sometime, just not becos many people say ITS GREAT, but becos i want to see whatz so great. By work I develop MS.NET applications and so have to stick to Windows series, as there is not much options available, but since I know PHP/JAVA, i preferred to have Linux at my home.
So i started to Digg on articles that contains the key word “Linux Vx Windows” “Ubuntu” “Fedora” and found that its very convincing, which has made me to download Linux OS. Iam going to install it over the weekend. But if the open source community can help me with some insights on how to configure my Network (it may sound dump, but i think it will be helpful) / internet / wireless keyboard/mouse etc., you can jst give me a pointer, ofcourse i can google them, but i would like the expert comments from the community. Thanks for your help in advance, i will keep posting my experience on Linux soon….and finally special thnx to Matthew Helmke – whose article was very helpful for me to seriously migrate to Linux.
-
Archives
- October 2009 (2)
- June 2009 (9)
- May 2009 (5)
- October 2008 (9)
- June 2008 (2)
- April 2008 (1)
- March 2008 (2)
- February 2008 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS
