TODO: Simple configuration of SVN under Windows 10

TODO: Simple configuration of SVN under Windows 10

Briefly introduce what is SVN? SVN, short for Subversion, is an open source version control system that uses a branch management system. To put it simply, SVN is used for multiple people to jointly develop the same project and share resources. svn server has 2 running modes: standalone server and running with apache. Both methods have their own advantages and disadvantages, and users can choose by themselves. When Xiao O adopts the independent server mode, the configuration is simple.

Download Subversion 1.9.5 (Windows 64-bit) Includes all Subversion command-line binaries. zip package, unzip it to the specified folder, set the environment variable path, and use SVN related commands under cmd. Common commands include svn, svnserve, etc.

TODO: Simple configuration of SVN under Windows 10

Start the SVN service, create the SVN warehouse directory, and specify the directory to start the service

svnserve -d -r D:/workspaces/svn

Note that -r and folder path are separated by spaces

If you dislike having to open cmd every time to start the service, you can add the svn startup command to the windows service.

Now that the SVN server has been started, configure the shared resource library.

To install the SVN client, Xiao O uses TortoiseSVN-1.9.5.27581-x64-svn-1.9.5.msi, and the fool-proof installation can go to the next step.

Create a folder code in the warehouse directory, enter the code, right-click -->TortoiseSVN-->Create Repository here, generate SVN related files

TODO: Simple configuration of SVN under Windows 10

Configure SVN, modify svnserve.conf under conf, as follows, to access the resource warehouse, submit resources require username authentication

anon-access = none

auth-access = write

password-db = passwd

Modify password under conf, add new user, format

[users]

admin = admin

You can checkout resources

TODO: Simple configuration of SVN under Windows 10

Simple configuration process, I hope to help you.

wxgzh: ludong86

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326351856&siteId=291194637