Objective
Previously, in Dudu's article, I saw a git server deployed on the Windows platform on IIS 7.5 with Bonobogit. Learning to deploy for a while, and finding that there are always problems like that. Bonobogit on the windows requirements of the platform is also high, so found on the Internet, and found that there are still many software support on the Windows platform for the deployment of Git Server.
Gitblit
Gitblit is a software that uses Java to manage Git, and itself has many feature branches. Detailed information about Gitblit can be viewed on the official website: http://gitblit.com
Less gossip, here are the installation steps for Gitblit. (Prerequisite Java Virtual machine!) )
1, download gitblit Here I am using the Gitblit Go Branch, the advantage of this branch version is that everything is integrated into a piece, do not need to install something else.
: Http://code.google.com/p/gitblit/downloads/detail?name=gitblit-1.0.0.zip
2, configure the Gitblit.properties file.
Gitblit need to configure a few things, generally we just configure the following items can be:
Git.repositoriesfolder This is the folder where the git library is stored.
Server.httpport and Server.httpsport are ports for the HTTP protocol and HTTPS protocol, respectively.
The Server.httpbindinterface and Server.httpsbindinterface host monitors the network interface, which is the server-side access URL.
When you are finished running the Gitblit.cmd batch file, you can see the following interface:
Then enter the address of the Httpbindinterface modified above (Localhost) and port Httpport in the browser:
Enter the username and password on the interface by default to admin (this is in the users.conf file).
After entering the system, you can create Git Repository and members.
Start in Windows service mode
Gitblit can be configured to install as a Windows service using the Apache Commons Daemon method.
Open Installservice.cmd in "edit" mode
Modify ARCH = x86 (this is set to x86, please set it according to the server platform)
Add a CD to the program directory,
Set cd=youpath\gitblit-0.9.3
Modify the startup parameters in the Startparams, here we will remove its configuration, using the Gitblit.properties configuration.
Open cmd as an administrator and run the batch file.
If no exception is indicated, the service "Gitblit" is found in the "services" component and then started.
Open the calendar to enter the address to see the site just now.
Note: You can run the SC delete "service name" in CMd to delete the service; View the log information under program directory Logs.
Other Git server-side on Windows
http://gitstack.com/, this is a charge.
http://www.chodounsky.net/bonobo-git-server/
https://github.com/otac0n/WebGitNet/wiki/Getting-Started
Https://github.com/yysun/Git-Web-Access
Use Gitblit to deploy your git Server on Windows