In this section, we're going to look at setting up a small Git server, literally using what we got when we installed git from the CentOS repositories.
We'll create a basic repository on centos2 and work with it from centos1.
In this section, we're going to look at setting up a small Git server, literally using what we got when we installed git from the CentOS repositories.
We'll create a basic repository on centos2 and work with it from centos1.
For this section, we're going to be using both of our machines, using centos2 as a server, and centos1 as the client.
In this instance, ensure that git is installed on both your machines:
$ sudo yum install git -y
On centos2, let's create our empty repository:
$ mkdir example...