create own svn repository hosting

14,606

Solution 1

VisualSVN server is the easiest to get up and running

Solution 2

It is very easy to set up a simple subversion repository, especially if it just for you. Actually, if it is just for you, you may set up a svn repository on local disk and you do not have to setup any server. I do that sometimes for my own little projects, just to have the history of my work.

Assuming you are on Unix, you create a repository with:

svnadmin create /path/to/repo

and checkout with:

svn checkout file:///path/to/repo

Plus just a little configuration:-). Let me know if you need more details on this kind of setup.

Solution 3

You can't install subversion on a standard shared web hosting package. You will need either specialized hosting that explicitly provides subversion, or rent a small (possibly virtual) server and install all the software you need on that (the most flexible solution, but also requires quite a bit of knowledge to set up securely).

Also, check out my recent question on serverfault: Affordable combined Ruby/Rails/Redmine + Subversion hosting?

Solution 4

If you have your own server, then you can simply follow a tutorial for whatever os.

I have ubuntu server and followed this tutorial https://help.ubuntu.com/community/Subversion

Share:
14,606
netmajor
Author by

netmajor

I am interested in .NET platform ;) Tools : + MS Visual Studio 2010-2013 + MS SQL Server 2012, Sql Developer + SVN, GIT, TFS, Perforce + NUnit, Gallio, TestDriven.NET, Moq, Rhino Mocks + Reflector, Resharper + CodeRush Xpress + controls Telerik RedControls, DevExpress, Infragistics Programming language: - C# Technology: + ADO.NET Entity Framework, NHibernate + ASP.NET, WPF, Silverlight, ASP.NET MVC + HTML/XHTML + CSS + JQuery, Knockout + LINQ + WCF + XML Database: + MS SQL 2005/2008, MYSQL, Oracle

Updated on June 04, 2022

Comments

  • netmajor
    netmajor almost 2 years

    Since a week I use ToirtoiseSVN and AnkhSVN and GoogleCode and sourceforge.net as my project hosting. For me it's frustrating to fill all this forms before create next project. So I start thinking about my own repository hosting.

    Can I use simple file hosting etc. and install there software like use Google or SourceForge to have my own SVN Server? My point is to have independent repository in internet without all this uselessly UI interface which give me Google and SF to administrate my version control. I don't want to take advantage of already existing hosting services like GoogleCode etc. - I want to be independent from them! ;)

    Or maybe it's other way to do my own repository hosting and FREE ;) Please don't tell me that I'm at mercy of commercial hosting... :/

  • netmajor
    netmajor about 14 years
    I unfortunately have only laptop. No 24/7 server :/
  • netmajor
    netmajor about 14 years
    I see that this is solution for local repository? Your commands are equal to TortoiseSVN option "Create repository here" ?
  • netmajor
    netmajor about 14 years
    For student VPS it's too much :/ Filling form or local repo is only free solution...
  • pajton
    pajton about 14 years
    Yes, they are equal. If you are on Windows and need a repository just for yourself, creating/accessing it with TortoiseSVN like this should work nicely for you. And zero more configuration in case of Windows:).
  • netmajor
    netmajor about 14 years
    VisualSVN is something like Tortoise? what is difference between them ?
  • netmajor
    netmajor about 14 years
    I use only TortoiseSVN as a client, so could you explain me what is difference to use Mercurial? I install it local and use like tortoise?
  • netmajor
    netmajor about 14 years
    I just thinking to upload my project on hosting and if I don't have with me my laptop I just download project with svn... sorry if it's stupid! it's just my thought since using Tortoise...
  • dr.
    dr. about 14 years
    you would interact the same way as you would with google code
  • dr.
    dr. about 14 years
    I missed the SHARED portion of @Pekka answer. A shared hosting environment could be a problem.
  • Greg Hewgill
    Greg Hewgill about 14 years
    @netmajor: Yes, there is both a TortoiseHg tortoisehg.bitbucket.org and TortoiseGit code.google.com/p/tortoisegit
  • WestDiscGolf
    WestDiscGolf about 14 years
    The other option is to run the repo internally in your house on a different machine. When I was a student we use to have at least 1 spare machine on in the house somewhere all the time. Maybe you can go that route? You can then setup a nightly backup which backs up your repos to gmail bit.ly/7HsXHM
  • iOSAndroidWindowsMobileAppsDev
    iOSAndroidWindowsMobileAppsDev almost 8 years
    @dr. Thanks for the recommendation. Will my code online be in a private repository that is accessible to a few users or will it be a public repo and will my code be publicly visible to anyone?
  • dr.
    dr. almost 8 years
    That's up to you. You set the read/write privileges in VisualSVN. Whether it is accessible over the internet depends on whether the IP you assign VisualSVN is just a local IP, a public IP, or a local IP mapped to public IP.