divided into the following steps:
1. Install socat. Run the following command in ubuntu to install socat:
[Python]View plaincopyprint?
Sudo apt-get install socat
sudo apt-get install socat
2. edit a script file named git-proxy. The content is as follows:
[Python]View plaincopyprint?
#! /Bin/sh
# Use socat to proxy git through an http connect firewall.
According to a lot of information on the Internet, this problem occurs. Now I will summarize the procedure for setting up git on Ubuntu.
1. Install Git-core openssh-server openssh-client.
2. server operations:
(1) Configure git users
Useradd-M Git-S/bin/bash
Passwd
Look at some of the building git server tutorial, are not very detailed, so, there is this article →_→Environment Description:Local: Win7 ip:192.168.111.1Server: Ubuntu 14.04 ip:192.168.111.222On the server:#安装git, if you have permission problems, remember to add sudoapt-get install git# new User (user name
= " Mailbox"These two options are automatically added to your code during future use.4. Create a public key for authenticationThis is a more complex and confusing place for most people, because git accesses the repository through SSH, so you need to create a validation file locally. Using the command: $ ssh-keygen-c "you email [email protected]"-t RSA will establish the corresponding key file under the user directory ~/.ssh/. You can use the $ ssh-v
Reference BlogHttp://www.xitongzhijia.net/xtjc/20150320/42297.htmlHttp://blog.chinaunix.net/uid-17188120-id-4650534.htmlinstall git under 1.UbuntuUbuntu14.04 LTS is already installed by default, you can use git–version to test if it is installed.If not installed, use the command: sudo apt-get install git git-core insta
1. Requirements and EnvironmentHardware: a pc or virtual machine with an Ubuntu System (tested as Ubuntu11.10)Software: openssh-server, openssh-client, git-core2. install and configure the git ServerA. Install ssh. Because git is based on the ssh protocol, you must first install ssh:
Sudo apt-get install openssh-serv
named at will. The Key content is copied from ~ /. Ssh/id_rsa.pub content, after completion, you can use the ssh-v git@github.com for testing. The following information indicates that the verification is successful.
Ii. Configure and use Git
You can use github to manage your projects by following the steps below.
1. Create a warehouse
Use git init to create a re
This series of articles is produced by @yhl_leo. Reprint please indicate the source.
Article Link: http://blog.csdn.net/yhl_leo/article/details/50760140
This article has compiled and summed up the resources for installing and using Git in Ubuntu, and we hope to help you.1 InstallationThere are two main ways of installation, namely, through Apt and source :1.1 by Apt installation:The commands ava
downloaded to the My_proj_a directoryJacob already has a ready-made project Proj_a being developed and managed with git and now wants to share this project to Proj_a[Email protected]:~$ cd proj_a[email protected]:~/proj_a$ git push--all [email protected]:p roj_a # push to remote server7. List the libraries that I have permissions forTry logging in to the remote server with an account of the normal user Git
Install the Git 2.2.0 version control system in Ubuntu
Git is an open-source version control system. The latest available version is Git 2.2.0, which has recently been released. Git 2.1 brings 550 changes and fixes. For more information, see the email list.
Install
Install the source code package of Git and Gitolite Ubuntu Server 11.04git In Ubuntu. the gcc tool is not installed in the server version system by default, and additional installation is required. The desktop can be installed through sudo apt-get after the machine can connect to the Internet. (Note: update the package source list first,Sudo apt-get update. Other
Original URL: http://www.cnblogs.com/cocowool/archive/2010/10/19/1855616.htmlRecently started using Git to do some supplemental work on KOHANA3 's documentation, using Git and GitHub, from understanding to using, or a little distance, here are some of the ways to summarize.1, the installation of GitI use Ubuntu 10.04, which is not installed by default in
Configure git service operations in Ubuntu 1. Prepare related software 1.1 prepare necessary ssh tools for easy logon and ssh authentication: www.2cto.com 1 $ sudo apt-get install openssh-client2 $ sudo apt-get install openssh-server 1.2 prepare necessary git tools pay attention to building dedicated users for control, such as the following two commands: 1 $ sudo
4. upload the code to Oschina .Prior to the GIT configuration has been completed, now through SSH access to the repository, the first command ssh-keygen–c ' your mailbox ' –t RSA. This will create a corresponding key file under the SSH folder. After the public key is created , enter the ~/.ssh folder via the command CD ~/.SSH, and the Id_rsa.pub file is opened with the command getit id_rsa.pub . Copy all of the contents. After copying, open Http://gi
the home page, then you succeed half, then visit the other sites you built on Apache Redmine, if the normal access, then you succeedFinally, an extra step, build a phpmyadmin on topInstall PHPsudo apt-get install php5 libapache2-mod-php5Installing phpMyAdminsudo apt-getinstall phpmyadminEstablish linkssudo ln-s/usr/share/phpmyadmin/var/wwwAccess to HTTP./Host ip/phpmyadmin See if the normal access, may be prompted missing somethingFor example, but the missing is not necessarily the following fi
Install Odoo8.0 with git source code on Ubuntu Server 14.04 LTS
In September 19, 2014, Odoo officially released the official version of Odoo8.0, which is a brand new version that integrates various functions such as website construction.
In the Linux operating system, the conventional way to install Odoo is to download from the Odoo official website download library http://nightly.openerp.com corresponding
Analysis of Android source code (ii)--ubuntu root,git,vmware Tools, installation Input method, theme beautification, Dock, installation JDK and configuration environment
Next, on the film is mainly introduced some of the installation tools of the small knowledge Point Android source Analysis (a)--vmware Workstation Pro and Ubuntu Kylin 16.04 lts installa
Do not accumulate kuibu, not even thousands of miles. Do not accumulate small stream, no to become Jianghai."An exhortation"-- Xun ZiPro git Simplified Chinese version http://iissnan.com/progit/1 InstallationThere are two main ways of installation, namely, through Apt and source :1.1 by Apt installation:The commands available on the official website are:$ sudo add-apt-repository ppa:git-core/ppaPress ENTER to continue the installation while the middle
Let's look at how to build a git server on Ubuntu. We use VMware virtual machines to install two Ubantu systems, named Gitserver and Gitclient_01, respectively.1, install OpenSSH and configure SSH login without passwordInstall the SSH service by ordering sudo apt-get install openssh-server.Use the command ps–e|grep SSH to see if the SSH service is started.Through the above command, we install the SSH servic
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.