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.
Git.repositoriesfolder = D:/git represents the warehouse path
Server.httpport = 10010 indicates port is 10010
Server.httpsport = 0 Disable HTTPS
server.httpbindinterface = Server IP Address
Server.httpsbindinterface = localhost If you disable HTTPS, this doesn't matter.
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, and view the log information under program directory Logs.
Use Gitblit to deploy your git Server on Windows