Set Up Git Repository on Storage Server

Tasks

  1. Utilize yum to install the git package on the Storage Server.

  2. Create a bare repository named /opt/apps.git (ensure exact name usage).

Steps

1

SSH into Storage Server

ssh natasha@172.16.238.15
2

Update the Package Manager's Cache

sudo yum update -y
3

Install Git

sudo yum install git -y
4

Verify Git Installation

git --version
5

Change the current directory to the /opt directory

cd /opt
6

Create the bare repository using the git init command with the --bare flag

git init --bare apps.git 

Last updated