Let's just enter the topic.
--"
Svn Download Address: http://subversion.tigris.org/files/documents/15/43506/Setup-Subversion-1.5.2.en-us.msi
Apache Download Address: 2.2.9 (http://down.zzbaike.com/download/apache-1059.html)
TortoiseSVN-1.5.3.13783-win32-svn-1.5.2.msi Download Address: http://tortoisesvn.net/downloadsthis has current Lasted version.
Because a desktop is idle, a desktop computer is used to configure a server. Let's briefly introduce the environment.
Now, because the computer is connected to the Internet on the router, We have to configure a port ing first. How to configure port ing is not described here. If necessary, leave a message and I will help you solve the problem.
Since I have not passed level 4 in English, I will first practice more and may have some words to understand.
××× Prompt: It is configured in windows and has not been tried in linux.
First, install Apache
Install apache to drive D. Create a folder named apache and install it in this directory. The installation process is relatively simple. Pay attention to the Port during installation. Run cmd to run the netstat-a command to view the port.
Second, install SVN
Create the svn folder on disk D. Note the installation process. Select for apache2.2.x for svn installation.
It is recommended that you check the readme.txt file in the SVN/bindirectory after the installation is complete, which actually teaches us how to configure apache.
Third: Install TortoiseSVN and language packs. You can download various language packs from the above official website.
Next Step:
Open httpd. conf in the apache/conf folder:
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so // The previous # Remove all
Add the following two lines at the end of the LoadModule section:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
Change it
Copy mod_dav.so and mod_dav_fs.so under the svn/bin directory to the apache/modules directory.
Add the last side of apache httpd. conf
<Location/svn>
DAV svn
SVNParentPath D: \ Apache \ modules
</Location>
Next step:
Go to cmd and run the following command in the d:/svn/bin path:
Svnadmin create d: \ svn
After execution, the Directory d: \ svn will be created. This is the resource library.
You can also create a svn folder under D: \ svn and right-click it,
Create repository here to create a resource library.
Next Step:
Go to cmd and run the command in the path d:/apache/bin.
D:/apache/bin/htpasswd-c d:/apache/bin/passwd svnadmin
Enter the password twice;
We recommend that you use absolute paths to avoid generating passwd files.
Here is the password you need to access. The user name is svnadmin. You can also use another name.
Next Step:
Create a file named svnaccessfile under apache bin and write the following content:
[Groups]
Admin = svnadmin
Guest = guest
[Svn:/]
@ Admin = rw
@ Guest =
In the httpd. conf file, change <Location> to the following content:
<Location/svn>
DAV svn
SVNParentPath d: \ svn
AuthType Basic
AuthName "Subve repositories"
AuthUserFile "bin/passwd"
# AuthzSVNAccessFile bin/svnaccessfile
Require valid-user
SVNListParentPath on
</Location>
To restart the paache service, you must enter the user name and password for access, that is, the user name and password just set above.
Okay. Let's briefly introduce it here. If you have any questions, leave a message.
Powed by rockay