SVN build a fool tutorial for Windows

ZZ from http://energykey.iteye.com/blog/540990

Due to see a lot of Q & Q SVN server set up the way, I will own experience posted, usually I reinstall the system are in accordance with the following steps to operate a total of seven steps, very simple!

Under Windows SVN server 1. subversion http://subversion.tigris.org/files/documents/15/44102/svn-win32-1.5.4.zip download from structures;

2. decompress downloaded zip package, e.g. Extract to: E: \ the svn-win32-1.5.4;

3. switch to the MS-DOS E: \ svn-win32-1.5.4 \ bin; and

4. Create repository:

   . 1: Create the svnadmin E: \ svndemo \ Repository

5. configure users and rights:

to E: \ svndemo \ repository \ conf folder, locate the file svnserve.conf, comments password-db = passwd cancel this line [Note] can not leave a space, then the passwd file in the directory added a username and password, username = password format

6. start svn server:

   1: svnserve -d -r E: \ svndemo \ Repository
careful not to close the window.

Set windows Service:

   1: sc = the Create svnservice binPath "E: \ svn-win32-1.5.4 \ bin \ svnserve.exe --service -r E: \ svndemo" the DisplayName = "SVNService" the depend = Tcpip Auto Start =

7.svn address:

svn: // / localhost

when you want to access other pc localhost instead ip address:

svn: //192.168.1.101



===========
Once configured can go to the bin directory find svnserve.exe send a shortcut to the desktop, and then add the parameter behind startup items "-d -r E: \ svndemo \ repository", and then drag the shortcut to launch the item inside.

Reproduced in: https: //www.cnblogs.com/ericsun/archive/2012/02/24/2366224.html

Guess you like

Origin blog.csdn.net/weixin_33670786/article/details/93154929