![]() ![]() Note that you should only use the -c option the FIRST time that you create a user. Sudo htpasswd -cm /etc/apache2/dav_svn.passwd To create a user on the repository use, the following command: # Uncomment the following 3 lines to enable Basic Authentication The password file will be located where the AuthUserFile setting sets it toâ¦Â probably best to leave it at the default. This is just basic authentication, so donât consider it extremely secure. The next section will let you turn on authentication. # Set this to the path to your repository The SVNPath line should be set to the same place your created the repository with the svnadmin command. # Uncomment this to enable the repository, The DAV line needs to be uncommented to enable the dav module The Location element in the configuration file dictates the root directory where subversion will be acessible from, for instance: Nano /etc/apache2/mods-enabled/dav_svn.conf Now what we’ll do is edit the configuration file for subversion… In the above example I have called the repository ‘svn’ but obviously you can substitute ‘/svn’ for ‘/’ if you’d like. ![]() Now we’ll install SVN, Apache and the SVN library for Apache…Īpt-get install apache2 subversion libapache2-svnĪnd now we’ll create our repository like so. Ok so first of all you’ll need Ubuntu Server 10.04 installed on your server… So this quick tutorial will show you the basics of how to setup an SVN server with public read access but authenticated write access. ![]() Another feature that I needed for my project over at .uk was an SVN server so that other members of my team can download the source code, make changes and upload it back to the master server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |