• 0

Easy and simple guide to create a Subversion (SVN) server in Windows?


Question

Hey

Ive been literally killing myself looking up guides but most are way outdated and/or complicated. I tried a few simply ones but they simply appear to be out of date.

Can someone point me on a easy way to set it up in Windows? Ive been trying to use (as a client) TortoiseSVN but I simply cant get it to work. So I need something simply and easy.....

Thanks a lot!

18 answers to this question

Recommended Posts

  • 0
  On 02/04/2012 at 14:28, hjf288 said:

http://www.codinghor...on-windows.html

You need to run a server before you can connect using the client and its detailed on there

or use:

http://www.visualsvn.com/server/

Both look good. Im going to try the VisualSVN as the GUI way looks alot easier :p

Its for a Java project, but I perfer a generic version. Both of these look pretty generic so....

  • 0
  On 02/04/2012 at 14:28, hjf288 said:

A big +1 for VisualSVN; dead easy to configure and maintain yet still runs Apache at its core, plus it integrates nicely into the Microsoft Management Console so it can be administered very easily remotely as well. Can use SVN or Windows authentication. Depending on your needs though you don't even really need a server, TortoiseSVN can make a file based repository that can be on a network share faster than it took me to type that.

If you use Visual Studio, their client is quite good too. (Wraps around Tortoise.)

  • 0

Setting it up locally was pretty easy :)

Now the remote access is the hard part....

Lets say the url is: http://computernamehere.somelocaldomain.local:3980/svn/

How can someone access that from the outside? Thats what I cant really do.

On my internal LAN it works, but on the external I cant get it to work.

  • 0
  On 02/04/2012 at 15:05, htcz said:
On my internal LAN it works, but on the external I cant get it to work.

Will most likely need to add a port forwarding rule to your router.

  • 0
  On 02/04/2012 at 15:18, Max Norris said:

Will most likely need to add a port forwarding rule to your router.

Already done and nothing.

Like I said, I have a port forward rule for 8080 and that works. But it doesnt work for this (which is 3980) and it has a port forward rule too....

  • 0
  On 02/04/2012 at 15:22, htcz said:
Like I said, I have a port forward rule for 8080 and that works. But it doesnt work for this (which is 3980) and it has a port forward rule too....

Ahh thought you were mentioning your firewall, not the router. Are you using SSL? (Namely, forgetting to use https instead of http per your example URL above.)

  • 0
  On 02/04/2012 at 15:26, Max Norris said:

Ahh thought you were mentioning your firewall, not the router. Are you using SSL? (Namely, forgetting to use https instead of http per your example URL above.)

Well, no. But locally it works. Do I have to use SSL when accessing it on the outside?

  • 0
  On 02/04/2012 at 15:28, htcz said:
Well, no. But locally it works. Do I have to use SSL when accessing it on the outside?

No, just eliminating a possible issue. Is it hitting the server and being refused, or just not seeing it at all? (That is, an authentication issue.) Also, I just saw your example URL above, you can't access the repositories node using a subversion client, need the full repository path, for example: https://svn.example.com/svn/test/ You should also be able to access the web interface remotely. I'm using the default SSL port of 443, and it's working for me remotely anyway. Make sure you're adding the port number if you're going with a non-standard port.

Copy/pasting from VisualSVN's docs:

  Quote
Note Unlike web browsers, Subversion clients are unable to access the content of the Repositories node in the VisualSVN Server Manager. In other words, you are unable to access https://svn.example.com/svn/ URL using Subversion clients such as TortoiseSVN or svn.exe.
  • 0
  On 02/04/2012 at 15:36, Max Norris said:

No, just eliminating a possible issue. Is it hitting the server and being refused, or just not seeing it at all? (That is, an authentication issue.) Also, I just saw your example URL above, you can't access the repositories node using a subversion client, need the full repository path, for example: https://svn.example.com/svn/test/

Copy/pasting from VisualSVN's docs:

Not seeing it at all. Im using a web browser both locally and remotely.

Local side I access: http://computernamehere.somelocaldomain.local:3980/svn/

Remote side I access (if 234.11.23.12 was my WAN address): http://234.11.23.12:3980

  • 0
  On 02/04/2012 at 15:38, GreyWolf said:

Many ISPs block port 80 and 8080 and other "known" HTTP access points. It's possible that's why you cannot access it externally.

8080 isnt blocked by my ISP (a service I have on 8080 works remotely), and putting in my hosts file (if my web server address was hello.dev):

234.11.23.12 hello.dev

I am able to remotely access hello.dev

I dont think this is the only port that is blocked right? It would be too much of a coincidence.....

  • 0

OK, I finally got it to work (not my fault; damn dumbed down network admins :p )

Now, my next question is how do I access this thru a SVN client? In this fashion:

svn://234.11.23.12:3980

in TortoiseSVN doesnt work. Simply cant find it....

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Nvidia 576.80 WHQL graphics driver fixes 5090 FE on idle, adds new games, and more by Taras Buria Nvidia has released a new graphics driver with support for new games and a long list of various fixes. If you have a compatible graphics card, you can download driver 576.80 WHQL. It adds optimizations and day-0 support for FBC: Firebreak, DLSS 4 and multi-frame generation for REMATCH, and path tracing support for DOOM: The Dark Ages. Fixed gaming bugs in driver 576.80 include the following: Dune: Awakening: stability issues EA Sports FC 25: stability issues Dragons Dogma 2: displays shadow flicker Clair Obscur: Expedition 33: stability issues Enshrouded: crashes after launching game Monster Hunter World: stability issues when playing in DX12 mode Gray Zone Warfare: stability issues Marvel Rivals: stability issues Ghost of Tsushima Directors Cut: Flickering/corruption around light sources GTA V Enhanced: stability issues Honor of Kings: World: stability issues Forza Horizon 5: stability issues Indiana Jones and The Great Circle: Image corruption And here is the list of general bugs that have been fixed: GeForce RTX 5090 FE acoustic improvements for idle and low loads Changing a setting in the NVIDIA Control Panel -> Manage 3D Settings may trigger shader disk cache rebuild Twinmotion: Bugcheck when attempting to launch Adobe Substance 3D Painter: showing viewport corruption after baking BlackmagicDesign: UI overlay in Fusion page is not displayed correctly Video playback in a web browser may show brief red/green flash corruption Videos captured with NVIDIA App may appear washed out after editing with the Windows Photos app Certain DisplayPort 1.4 monitors may display random black screen flicker when connected to DisplayPort 2.1 graphics card In addition to the new driver, Nvidia released a new version of the Nvidia app, which now supports DLSS 4 override options under Driver Settings > Graphics for supported titles. With today's release, DLSS override is available for 46 new games, such as DCS World, F1 25, Frostpunk 2, Avowed, and more. The full list of new games is available here. Also, the Nvidia app now has optimal settings for Dune: Awakening, F1 25, FBC: Firebreak, and REMATCH. You can download the driver Nvidia 576.80 WHQL from the official website or the Nvidia app. Full release notes are available here (PDF).
    • And you can guarantee they're going to sell a phone that is full of non-U.S. made parts assembled by non-U.S. labor. Agent Orange wants iPhones built in the U.S. despite the cost but won't care about his own product if it can be made cheaper in Asia.
    • Sorry, no - Data protection is solely the responsibility of the user. If you value the data, you have multiple copies. Microsoft/Dropbox/Apple/Box etc will all have similar ToS - it's still your data and you're still responsible for your DR planning. Sure there may be an issue with access or the provider going bust or a catastrophic failure of infra the datacentre end, and that's a problem (potentially very large and SLA invoking problem) but if that scenario means you loose all your data that's on you at the end of the day. I'm a huge fan of OneDrive with KFM and FOD, it's brilliant and I use it all the time both personally and professionally, but in both cases OneDrive is not the only place the data is stored and nor should it (or any cloud service) ever be.
  • Recent Achievements

    • Experienced
      dismuter went up a rank
      Experienced
    • One Month Later
      mevinyavin earned a badge
      One Month Later
    • Week One Done
      rozermack875 earned a badge
      Week One Done
    • Week One Done
      oneworldtechnologies earned a badge
      Week One Done
    • Veteran
      matthiew went up a rank
      Veteran
  • Popular Contributors

    1. 1
      +primortal
      703
    2. 2
      ATLien_0
      271
    3. 3
      Michael Scrip
      213
    4. 4
      +FloatingFatMan
      186
    5. 5
      Steven P.
      143
  • Tell a friend

    Love Neowin? Tell a friend!