Windows install git

Source: Internet
Author: User

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

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.