Dev Ops/Git Git for windows server 2012 R2
  • 728x90
    반응형

     

     

     

    Git for windows server 2012 R2

    (feat. bonobo git)


     

     

    목차

       

       

       

      Git windows server 2012 R2 설치 및 환경 설정

       

      windows server 2012 R2에 Git 를 설치하고 그룹 관리 및 계정 관리 권한설정 프로젝트 버전 체크 등을 수행하는 윈도우 Git 서버인 bonobo git 를 설치하는 과정을 설명한다.

       

       

       

      Git 다운로드

       

      Git - Downloading Package

      Download for Windows Click here to download the latest (2.43.0) 32-bit version of Git for Windows. This is the most recent maintained build. It was released about 2 months ago, on 2023-11-20. Other Git for Windows downloads Standalone Installer 32-bit Git

      www.git-scm.com

       

       

       

       

      Git 설치

      다운로드 받은 Git-2.18.0-64-bit.exe 파일을 실행 시킨다.

      Next.

       

       

       

      설치 경로 지정.

       

       

      • Additional icons (추가 아이콘 설치)
        • On the Desktop (바탕화면에 추가 아이콘 설치)

       

      • Windows Explorer integration (탐색기에 통합)
        • Git Bash Here (Git Bash 를 탐색기에 통합)
        • Git GUI Here (Git GUI 를 탐색기에 통합)

       

      • Git LFS (Large File Supoort)
      • Associate .git* configuration files with the default text editor (기본 텍스트 에디터로 .git 파일을 편집하게 함)
      • Associate .sh files to be run with Bash (.sh 파일을 Bash로 실행하게 함)
      • Use a True Type font in all console windows (모든 윈도우즈 콘솔에서 트루타입 글꼴 사용)
      • Check daily for Git for Windows updates (Git 윈도우즈 업데이트를 항상 체크함)

       

       

      시작메뉴에 생성될 폴더 이름 지정

       

       

      기본 텍스트 에디터 선택 (Vim 으로 선택)

       

       

      • Use Git form Git Bash only (Git Bash 사용자만)
      • Use Git from the Windows Command Prompt (윈도우즈 커맨드창으로 Git 사용)
      • Use Git and optional Unix tools from the Windows Command Prompt

      (윈도우즈 커맨드창에서 Git 와 유닉스 툴 사용)

       

       

      HTTPS 연결에 사용할 라이브러리 선택. (default 선택)

       

       

      멀티 플랫폼에서 작업시 윈도우와 유닉스의 엔딩라인에 대한 설정

       

      • Checkout wWindows-style, commit Unix-style line endings

      멀티 플랫폼에서 작업시 윈도우 환경용 설정으로 편집할때는 윈도우 스타일(CRLF) 이고 커밋할때는 유닉스 스타일(LF)

       

      • Checkout as-is, commit Unix-style line endings

      멀티 플랫폼에서 유닉스 환경용으로 편집시는 컨버터 없음. 커밋시에는 LF로 함

       

      • Checkout as-is, commit as-is

      엔딩라인을 사용하지 않고 다른 플랫폼에서 사용안할때 사용

       

       

      MinTTY 에뮬레이터 사용여부

       

      • Use MinTTY (the default terminal of MSYS2) (MinTTY 를 사용)
      • Use Windows default console windw (cmd 로 사용)

       

       

      기본 값으로 설치

       

      • Enable file system caching (파일 시스템 캐싱 활성화)
      • Enable Git Credential Manager (Git Credential Manager 설치 여부 및 비주얼스튜디오 와 GitHub 지원)
      • Enable sysmbolic links (심볼릭 링크 활성화 여부)

       

       

       

      Bonobo Git Server 설치

       

      Bonobo Git Server - Git Server for Windows

      Simple git server for Windows. Set up your own self hosted git server on IIS for Windows. Manage users and have full control over your repositories with a nice user friendly graphical interface. Download 6.5.0 See the changelog

      bonobogitserver.com

       

       

      위 사이트에서 다운로드 받은 파일을C:\inetpub\wwwroot 폴더에 압축을 해제한다.

       

       

      App_Data 폴더의 속성을 선택하고 보안 탭으로 이동후 편집을 선택한다.

      IIS_IUSRS 사용자를 선택하고 수정 및 쓰기 권한을 획득한다.

       

       

      IIS (인터넷 정보 서비스) 관리자를 실행하여 아래와 같이 응용 프로그램으로 변환 을 선택한다.

       

      IIS : 마이크로소프 인터넷 정보 서비스(Internet Information Services, IIS) 는 마이크로소프트 윈도우를 사용하는 서버들을 위한 인터넷 기반 서비스들의 모임이다.

       

       

      응용 프로그램 풀 선택 에서.Net v4.5를 선택한다.

       

       

      아래와 같이 사용 권한 편집을 선택한다.

       

       

      보안 탭에서 편집을 선택하여 IIS_IUSRS 사용자의 수정 및 쓰기 권한을 획득한다.

       

       

      아래와 같이 *.80 *(http) 찾아보기 를 선택하여 깃 서버가 정상적으로 설정 되었는지 확인한다.

       

       

      정상적으로 설정이 완료 되면 아래와 같이 BONOBO GIT SERVER 사이트가 열린다.

      기본 자격 증명은Username: adminPassword: admin이다.

       

       

       

      http://서버 IP 주소/Bonobo.git.Server/Repository/Index서버 주소를 사용하여 내부 또는 외부 에서 접속 할 수 있다.

       

       

       

       

       

       

       

      728x90
      반응형

      'Dev Ops > Git' 카테고리의 다른 글

      Tortoise Git  (0) 2018.06.28
      Bonogit 저장소 생성 및 Sourcetree 사용  (0) 2018.06.27
      Git 서버 I  (0) 2018.06.26
      Git 사용법 VI  (0) 2018.06.25
      Git 사용법 V  (0) 2018.06.22
    상단으로