Subversion  Overview of Administration Only for information
Current Versions of Server <ul><li>Subversion 1.4.6  </li></ul><ul><li>Open source from Tigris.Org </li></ul>
Current Version of client <ul><li>TortoiseSVN 1.4.8 works against Subversion 1.4.6 </li></ul><ul><li>Available at Tigris.o...
How to create a Subversion repository -1  <ul><li>Open a command prompt  </li></ul><ul><li>Navigate to drive on which you ...
Creating a repository - 2 <ul><li>Now go into the new directory ‘myWebApp’ </li></ul><ul><li>See the files created by Subv...
Setup a repository -3 <ul><li>Edit the file ‘passwd’  </li></ul><ul><li>Uncomment the 2-user/password combinations for har...
Setup a repository -4 <ul><li>Create a batch file called ‘StartSVN.bat’ </li></ul><ul><li>Key in the value ‘svnserve.exe –...
Setup a repository - 5 <ul><li>Now go to the folder, which has the project to be ‘imported’ into the above repository  </l...
How to take a ‘hot’ backup <ul><li>Svnadmin –hotcopy SourceRepositoryFolder BackupFolder  </li></ul>
Upcoming SlideShare
Loading in …5
×

Subversion Admin

787 views

Published on

How to setup a Subversion repository

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
787
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Subversion Admin

  1. 1. Subversion Overview of Administration Only for information
  2. 2. Current Versions of Server <ul><li>Subversion 1.4.6 </li></ul><ul><li>Open source from Tigris.Org </li></ul>
  3. 3. Current Version of client <ul><li>TortoiseSVN 1.4.8 works against Subversion 1.4.6 </li></ul><ul><li>Available at Tigris.org </li></ul><ul><li>It works in the Windows Explorer, and is not bound to any software development tool </li></ul>
  4. 4. How to create a Subversion repository -1 <ul><li>Open a command prompt </li></ul><ul><li>Navigate to drive on which you wish to create the Subversion repository (say D:) </li></ul><ul><li>Create an empty folder D:SVNx </li></ul><ul><li>Create another folder within it called ‘MyWebApp’ </li></ul><ul><li>Go to D:SVNx and type ‘ svnadmin create --fs-type fsfs MyWebApp’ </li></ul>
  5. 5. Creating a repository - 2 <ul><li>Now go into the new directory ‘myWebApp’ </li></ul><ul><li>See the files created by Subversion (dir) </li></ul><ul><li>Go into the sub folder ‘conf’ </li></ul><ul><li>Edit the file titled ‘svnserve.conf’ </li></ul><ul><li>Uncomment the lines ‘anon-access’, ‘auth-access’ and ‘password-db’. Save the file </li></ul>
  6. 6. Setup a repository -3 <ul><li>Edit the file ‘passwd’ </li></ul><ul><li>Uncomment the 2-user/password combinations for harry and sally </li></ul><ul><li>Change the user name (harry and sally) to the user names you wish to assign for the project to the developers in the team </li></ul><ul><li>Change the passwords as required </li></ul><ul><li>Save the file </li></ul>
  7. 7. Setup a repository -4 <ul><li>Create a batch file called ‘StartSVN.bat’ </li></ul><ul><li>Key in the value ‘svnserve.exe –d –r D:/SVNx/myWebApp -–listen-port 3691’ </li></ul><ul><li>Run this batch file </li></ul><ul><li>Now the Subversion server is up and running </li></ul>
  8. 8. Setup a repository - 5 <ul><li>Now go to the folder, which has the project to be ‘imported’ into the above repository </li></ul><ul><li>Right click that folder and choose the ‘Import’ option </li></ul><ul><li>Key in ‘ svn://localhost:3691/myWebApp’ in the URL field of the dialog box (Replace local host with the name or IP address of the server) </li></ul><ul><li>Folders will now get imported into the Repository </li></ul>
  9. 9. How to take a ‘hot’ backup <ul><li>Svnadmin –hotcopy SourceRepositoryFolder BackupFolder </li></ul>

×