Deploy gitosis and windows Management

Source: Internet
Author: User

Deploying gitosis and windows Management provides better performance in version control tools. Gitosis deployment on the internet is completed in the same system (Linux ). This article is different from this method. ------------------------------------- Backup machine: Gitosis server (Ubuntu 12.4) management machine: Gitosis client (Win XP) ------------------------------------ first, install Gitosis Server 1. install ssh [plain] sudo apt-get install ssh 2. install git [plain] sudo apt-get install git-core 3. install gitosis (1) install python-setuptools [plain] sudo apt-get install python-setuptools (2) install gitosis [plain] mkdir ~ /Gitosis_setup cd ~ /Gitosis_setup git clone https://github.com/res0nat0r/gitosis.git Cd gitosis sudo python setup. py install 4. added the git user [plain] sudo adduser \ -- system \ -- shell/bin/sh \ -- gecos 'git version control' \ -- group \ -- disabled-password \ -- home/ git \ git now, gitosis installation is complete. ------- Beautiful split line --------------- then, set the backup machine in windows. --------------------------- Support tools: msysgit, TortoiseGit (Note) to install TortoiseGit requires Windows Installer 4.5 ------------------------------- 1. Request Authorization (Note). This operation is performed in git bash. (1) generate the RSA public key [plain] ssh-keygen-t rsa (2) Upload the RSA public key [plain] scp id_rsa.pub tdtc010@192.168.1.100:/home/tdtc010/* tdtc010: backup Machine System user ip address (192.168.1.100): Backup Machine ip address directory (/home/tdtc010): Backup Machine directory */2. grant permissions (Note) this operation is performed in PuTTY. (1) initialize the Git version Library [plain] sudo-H-u git gitosis-init

Related Article

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.