The reason for building a server on your computer is that you have developed a commercial project with a friend, such as the open-source code hosting of googlecode. The following are detailed steps for building a server. 1. operating system-WIN72. I used php for development, so I used the set... the reason for building a server on your computer is that you have developed a commercial project with a friend, such as the open-source code hosting of googlecode. The following are detailed steps for building a server.
1. operating system-WIN7
2. because I am using php development, so the integrated environment xampp (http://www.apachefriends.org/zh_cn/xampp-windows.html), detailed installation steps on the official website has been very clear (remember to install Apache and Mysql services ).
3. download SVN (http://sourceforge.net/projects/win32svn/files/), the latest version is 1.7.2, (my installation path D: \ Development \ Subversion)
(Download the turtle SVN and Language Pack (http://tortoisesvn.net/downloads.html), the corresponding version is 1.7.4), installation is not much said.
4. because we use dynamic IP addresses, domain names are required. download the peanut shells and register a free domain name (google on your own ). Configure vro dynamic DNS, as shown in:
Save ..
Next is the important integration steps of SVN and Apache.
5. from the bin directory of SVN (D: \ Development \ Subversion \ bin), configure httpd of Apache under the mod_authz_svn.so, mod_dav_svn.so directory of Apache. open the above two SVN modules in the conf file, and enable mod_dav.so and mod_dav_fs.so, as shown below:
1
LoadModule dav_module modules/mod_dav.so
2
LoadModule dav_svn_module modules/mod_dav_svn.so
3
LoadModule authz_svn_module modules/mod_authz_svn.so
4
LoadModule dav_fs_module modules/mod_dav_fs.so
Add the following configuration at the bottom of httpd. conf (restart Apache after modification)
6. create a test repository under E: \ repository \ svn \ and create user files and authorization files:
For details about the htpasswd command, google.
Manually create the E: \ repository \ auth_file \ test_accessfile authorization file. the content is as follows:
1
[/]
2
* = R
3
[Test:/]
4
[Your user name] = rw
[Your user name] indicates that the user has the rw (read/write) permission. For details, google
7. configure vro forwarding rules
This step maps requests from Port 80 to your computer, as shown in:
8. test
Access luffyke.gicp.net/svn
Enter the user name and password. As shown in, the server is successfully configured.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service