1. Preface
Recently, I have encountered some trouble in building a version library that supports git on the server (mainly because I am not familiar with the Linux system). I will take notes here for reference by myself and others.
My environment is shown in the following table. I clone the version library from another machine to verify: git clone
Ubuntu perfectly installs and builds a Git Server
Recently, the company's project needs Git to manage the project. Just over the weekend, it took some time to build a git server in the Ubuntu System of the Virtual Machine. Due to the small problems encountered during the con
password, which can be verified using the SSH public key.⑤ client creates SSH public and private keys$ ssh-keygen-t rsa-c "[Email protected]"At this time C:\Users\ user name \.ssh will be two more files Id_rsa and id_rsa.pubId_rsa is the private keyId_rsa.pub is the public key⑥ server-side Git opens RSA authenticationEnter the/etc/ssh directory, edit the Sshd_config, and
Git is an open source distributed version control software developed by Linux Torvalds to help manage Linux kernel development, unlike a centralized version control system such as Subversion and CVS. In a centralized version control system there is only one warehouse (repository), many working directories (working copy), and in a distributed version control syste
in the Remote Warehouse section, we talked about the remote repository is actually not very different from the local warehouse, purely for 7x24 hours to switch on and exchange everyone's changes. GitHub is a remote repository that hosts open source code for free. But for some source code such as the life of the business company, neither want to
repository In/home/data/git/gittest.git/[[email protected] home]# CD Data/git/[[email protected] git]# Chown-r Git:git gittest.git/4. Client creates SSH public key and private keyAt this time C:\Users\ user name \.ssh will be two more files Id_rsa and id_rsa.pubId_rsa is the private keyId_rsa.pub is the public key5, server
Build a git server on CentOs
First install setuptools
Wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz
Tar zxvf setuptools-0.6c11.tar.gz
Cd setuptools-0.6c11
Python setup. py build
Python setup. py install
Install the git software on the serv
In the Remote Warehouse section, we talked about the remote warehouse is actually not very different from the local warehouse, purely for 7x24 hours to boot and exchange changes. GitHub is a remote repository that hosts open source code for free. But for some source code such as the life of the business company, neither want to
Ubuntu 13.10 System of the virtual machine, the following describes how to install the git client on the client machine (host machine Win7) and how to use git bash on the client.
1. install the software required by the git Server
Open the terminal and enter the following co
Build a git server
In the Remote Warehouse section, we talked about the remote warehouse is actually not very different from the local warehouse, purely for 7x24 hours to boot and exchange changes.GitHub is a remote repository that hosts open source code for free. But for some
1. Compile and install git1 $ wget http://kernel.org/pub/software/scm/git/git-1.7.3.tar.gz # current Latest Version 2 $ tar-xzvf git-1.7.3,tar.gz # unzip it out 3 $ CD git-1.7.3 # Enter directory 4 $ Yum install-y gettext-devel expat-devel curl-devel zlib -devel OpenSSL-devel #-y is automatically installed by default,
GitHub is a remote repository that hosts open source code for free. But for some source code such as the life of the business company, neither want to open source code, but also reluctant to pay for the protection of GitHub, then you can only build a
, which can be verified using the SSH public key.⑤ client creates SSH public and private keys$ ssh-keygen-t rsa-c "[Email protected]"At this time C:\Users\ user name \.ssh will be two more files Id_rsa and id_rsa.pubId_rsa is the private keyId_rsa.pub is the public key⑥ server-side Git opens RSA authenticationEnter the/etc/ssh directory, edit the Sshd_config, and open
should be said first in the Linux kernel application, we cannot but say kernel first use of this GIT-centric code development process is very realistic, and help kernel business success.So let's take a look at GitHub and why is the JBoss community moving almost everything to GitHub? Because its code-management process fits very well with the pyramid structure of an open
Whether you are studying or borrowing it, it is undoubtedly a good place:
Http://csharp-source.net/
C # Open Source
Open source Aspect-Oriented Frameworks in C #
Aspectsharp-Aspect # (pronunced as aspectsharp) is a free AOP (Aspect Oriented Programming) Framework for the. NET Framework, it uses dynamic proxies and xml
Bonobo Git Server is an open source GIT source code Server running on IIS6/7, MVC 3, and. net 4.0 platforms. The following describes how to install Windows
Objective
GitHub is a remote repository that is free to host open source code. But for some depending on the source code such as life of commercial companies, neither want to open the source code, but also reluctant to give GitHub to pay protection fees, then you can only b
This article takes open source China as an example, upload to GitHub can use a similar method, because they are all using git this version control system. The use of private items on GitHub will be charged, while open source China is free. Recommend everyone support domestic
. GitCD. GitGit -- bare initIn this way, D:/project1 becomes a git repository.Grant user modification permissionRight-click on D: \ project1> Security, and allow the newly created Windows Account to "write" and "modify"Open Port 22 on the serverBecause the SSH server cannot find the GIT command, the following operation
,Ubuntu:apt-get Install Git-core or apt-get install Gitcentos:yum install gitGitolite ServerBuild gituser account, source code warehouse placed in the server's general account [email protected]# adduser--system--shell/bin/bash--group gituser[email protected]# passwd gituser User Gituser Set the password, after the SSH public key is established can disable this passwordManagement side Generate key[Email prot
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.