Build a git server and client under the Windows operating system.

Source: Internet
Author: User
Tags git client

This article describes how to build a git server and client under the Windows operating system. The server side is the bonobo git server, a Git source control tool developed with ASP. NET, simple, web-based configuration, easy to use. The client is a Tortoisegit tool, UI action that eliminates the hassle of entering commands and is easier for Windows users to use.

Required Software:

    • Git server side:
      1. BONOBO GIT SERVER, download the latest version: http://bonobogitserver.com/
    • Git client:
      1. Msysgit, download the latest software: https://msysgit.github.io/
      2. Tortoisegit, download the latest software: https://code.google.com/p/tortoisegit/

If the above connection is not able to access, sequence Number 1: Can Baidu search: GIT64 bit or GIT32 bits and other keywords to find the appropriate version to download.

Serial 2: Can Baidu search: Tortoisegit 64 or GIT32-bit keywords to find the appropriate version to download.

One: Configure server-side

The following case server environment is based on WINDOWS10 + IIS7 + Bonobo Git Server 5.2 + WebDAV, other versions of the operating system or IIS slightly different

    1. Open the IIS7 function under WINDOWS10. Start-"Control Panel-" program-"Enable or disable Windows features, tick the Internet Information Services option." will not be able to Google or Baidu under.

2. Download the good bonobo Git Server. is a. zip package file, which is a Web site developed with ASP.

3. Unzip the compressed package that was downloaded from the previous step to C:\inetpub\wwwroot.

4. Modify the App_Data folder permissions. Allow IIS users to modify the (C:\inetpub\wwwroot\Bonobo.Git.Server\App_Data) folder in the site code, so the following configuration is required:

    • Right-click on the App_Data folder to select "Properties"
    • Click "Edit" on the tab page of "Security" (edit)
    • Gives Iis_iusrs write and modify permissions. (I am usually directly selected: Full Control)
      = "If the IIS_IUSRS user is not found on the previous step. Then click add → lower left corner advanced → Right click Find Now, and finally add, so you can display in the "group or user name" list.


When the above configuration is done, we first open IIS Manager.

1. Select: Site Right click Add URL, and then pop up a website to add the interface, you draw up a website name, and then the physical path is just the path of the unpacked file package. It's a good idea to customize a port number in one step.

2. After the last step, we can see the website that we just added in the list of websites. Then we clicked on the application pool and found the website we just posted to see if the. NET Framework version is 4.0.

If not, please right-click on the website, click "Basic Settings, select 4.0, managed pipeline mode selection" integration.

3. The final step: Select website right click "Manage URL" Browse, (or the right middle of the location has a: Browse the site) if you can see the following interface, we have successfully deployed. The default Administrator account password is: admin

  

If you are not accustomed to English, you can first login through the admin account password. Then go to the menu bar above to find settings "Language" Chinese (SIMPLIFIED,PRC) can.

This is where our git server is built. But here's a question to remind you:

If you are using IIS Manager for the first time, it is quite possible to report a variety of errors, one of which seems to be to register IIS with >framework 4.0. The following is a brief description of the steps for IIS to register FrameWork4.0. Or direct Baidu "IIS registered Framewrok 4.0 method.

1. Open the DOS command window and open the window as an administrator.

Start-type cmd-> find cmd.exe-> right-cmd.exe-> Open the DOS naming window as an administrator (pop-up menu).

2. Open the directory where the framework4.0 is located, in this directory under normal circumstances: C:\Windows\Microsoft.NET\Framework\v4.0.30319

3. In the DOS window, press the SPACEBAR, and then enter the-i parameter. (C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe-i) After the input is complete, enter to install framework4.0 on IIS.

Build a git server and client under the Windows operating system.

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.