Build Environment: Windo Server 2012
Scheme:
Server side: Gitblit. : http://www.gitblit.com/
Client: Git for Windows. : Https://git-scm.com/downloads
Specific steps:
Server-side:
1. Download the JDK. : Http://rj.baidu.com/soft/detail/17531.html?ald (can also be under the official website, but too slow)
Gitblit requires a Java runtime environment, so you need to download the JDK.
2. Install the JDK and set the environment variables.
Reference Tutorial: http://jingyan.baidu.com/article/f96699bb8b38e0894e3c1bef.html
3. Download the Gitblit and configure it.
Reference: http://www.codeceo.com/article/windows-git-server.html
Website Description: http://www.gitblit.com/setup_go.html
Specific configuration
Configuration (where hardships do not want to say, are tears):
1. Install Java Virtual machine (this is because Gitblit is a product of Java, so it needs the support of Java environment to run).
64 guests
32 Guests
2. Edit Data/gitblit.properties file after decompression
Server.httpport = Port of 8000 HTTP protocol
Server.httpsport = port for 8001 HTTPS protocol
Server.httpbindinterface = server-side access URL under localhost HTTP protocol
Server.httpsbindinterface = server-side access URLs under the localhost HTTPS protocol
Git.repositoriesfolder = E:\GitServiceRoot This is the folder where the git library is stored
:
3. Run the Gitblit.cmd batch file under the first level directory
When the run starts
4, after the configuration is completed, after the browser input http://localhost:8000 or https://localhost:8001 can see the login success;
5. The default account password is Admin
This rookie is just configured successfully!!!!
Continue to study tomorrow, follow-up will continue to record their own experience, so as not to lose their memories. It's great to help others.
Windows install git