Jump to content
The Uniform Server Community

Installing Subversion


coder123
 Share

Recommended Posts

I've been trying to install subversion by following the instructions in the Uniform Server Wiki at

http://wiki.uniformserver.com/index.php/Installing_SVN

but I'm stuck right off the bat since I can't find any httpd directory in the current version of subversion I installed from

http://subversion.tigris.org/files/documen...rsion-1.6.3.msi

 

(as a side note: the link on the wiki page takes one to the subversion package for an Apache version, which I understand to be no longer used by Uniform server)

 

What am I missing??

 

TIA

Link to comment
Share on other sites

The following assumes you installed US to C:\UniServer_4_3\UniServer

Note: Replace with your paths.

 

1) Download File: svn-win32-1.6.3.zip

Bottom of this page:

http://subversion.tigris.org/servlets/Proj...t?folderID=8100

 

2) Inside folder udrive create two new folders svn_temp and svn

C:\UniServer_4_3\UniServer\udrive\scn_temp

C:\UniServer_4_3\UniServer\udrive\svn

 

3) Copy the entire content of folder svn-win32-1.6.3\svn-win32-1.6.3

To folder C:\UniServer_4_3\UniServer\udrive\svn_temp

Folder svn_temp will now contain folders bin, iconv, licenses, share and file README.txt

 

4) Navigate to C:\UniServer_4_3\UniServer\udrive\svn_temp\bin

Copy files: mod_authz_svn.so and mod_dav_svn.so

To folder: C:\UniServer_4_3\UniServer\udrive\usr\local\apache2\modules

 

5) Navigate to C:\UniServer_4_3\UniServer\udrive\svn_temp\bin

Copy these files:

 

intl3_svn.dll

libapr-1.dll

libapriconv-1.dll

libaprutil-1.dll

libdb44.dll

libsvn_delta-1.dll

libsvn_fs-1.dll

libsvn_repos-1.dll

libsvn_subr-1.dll

 

To: C:\UniServer_4_3\UniServer\udrive\usr\local\apache2\bin

 

6) Edit file: C:\UniServer_4_3\UniServer\udrive\usr\local\apache2\conf\httpd.conf

 

Confirm these modules are enabled as shown:

 

LoadModule dav_module modules/mod_dav.so - Already enabled

LoadModule dav_fs_module modules/mod_dav_fs.so

 

7) At the end of load modules section add these two lines:

 

LoadModule dav_svn_module modules/mod_dav_svn.so

LoadModule authz_svn_module modules/mod_authz_svn.so

 

8) At the end of httpd.conf, add the following block of code.

 

DAV svn

SVNListParentPath on

SVNParentPath /svn

AuthType Basic

AuthName "Subversion repositories"

 

 

9) Restart Servers

 

Access the SVN repository. Type http://localhost/svn

 

You should see: A "Collection of Repositories" page

Powered by Subversion version 1.6.3 (r38063).

 

That will get you started

 

All the best

Ric :)

Link to comment
Share on other sites

Thank you very much - it was exactly what I needed and it did give me access to the repositories from the local machine.

 

Now I need to figure out how to make the repositories accessible from the rest of the LAN :-)

 

PS I was not able to start the server with UniController, though the batch files work as expected.

UniController complained about port 80 being in use, though it does seem to start MySql and allows me to stop it

Link to comment
Share on other sites

Put UniServer on-line:

Edit file: C:\UniServer_4_3\UniServer\udrive\www\.htaccess

 

Comment out these three lines as shown

#Order Deny,Allow

#Deny from all

#Allow from 127.0.0.1

 

Now get your ip address, to find this open a command prompt: Type ipconfig

You will see something ike this:

 

IP Address. . . . . . . . . . . . : 192.168.1.6

 

On another PC on your network use the ip address instead of localhost

e.g type the following ino a browser:

 

http://192.168.1.6/svn/

 

All the best

Ric :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...