Set Up Git Repository on Storage Server
Tasks
- Utilize - yumto install the- gitpackage on the- Storage Server.
- 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 -y3
Install Git
sudo yum install git -y4
Verify Git Installation
git --version
5
Change the current directory to the /opt directory
cd /opt6
Create the bare repository using the git init command with the --bare flag
git init --bare apps.git 
Last updated