Install the Subversion server record on Windows
Date: 2007.12.30
OS: Window XP, subversion 1.4.5
1. Download the server software of the Subversion Windows version as follows:
Http://subversion.tigris.org/servlets/ProjectDocumentList? Folderid = 91
For example, svn-1.4.5-setup.exe,
Then execute the installation, the installation directory is D: Program filessubversion, and then this is the system environment variable path. Add the bin path of subversion to the system path.
2. Create a subersion Library: first create a directory to store the Subversion library, and store all the Subversion projects in the library, such as E: Repository
3. Create a New subversion project.
Run: svnadmin create E: repositorytest-Project
To set the user information of the project, you only need to open the passwd file in the conf directory of the Subversion project to add a new user, as shown in figure
[Users]
# Username = Password
Test = 111111.
Next, set some other information about the project, open the svnserve. conf file in the conf directory, and then perform the following settings:
[General]
Anon-access = read
Auth-access = write
Password-DB = passwd
Realm = demo
4. Start the Subversion service.
Install services
SC create subversionservice binpath = "" D: Program filessubversionbinsvnserve.exe "-- service -- root E: repository"
Displayname = "Subversion repository" depend = TCPIP start = auto
Delete a service
SC Delete subversionservice
5. Import a project to Subversion: now we need to import the project to the Subversion library, just run the following command:
SVN import D: Demo SVN: // localhost/demo-M "Initial import" -- username test -- password 111111
In this way, the project is imported into the Subversion library.
6. Export a project: Exporting a project from a subversion project is also easy. You only need to perform the following operations:
SVN Co SVN: // localhost/demo -- username test -- password 111111