This content originally appeared on DEV Community and was authored by Thu Kha Kyawe
Step 1: Install Git using yum
First, connect to the Storage server and install Git:
bash
- Connect to the Storage server
ssh natasha@ststor01
- Install Git using yum
sudo yum install git -y
Step 2: Create a bare Git repository
Once Git is installed, create the bare repository at the specified location:
# Create the bare repository
sudo git init --bare /opt/cluster.git
Step 3: Verify the repository
Check that the repository was created correctly:
bash
Check if the repository exists and has the proper structure
ls -la /opt/cluster.git
Resources & Next Steps
-
Full Code Repository: KodeKloud Learning Labs
-
More Deep Dives: Whispering Cloud Insights – Read other technical articles -
Join Discussion: DEV Community – Share your thoughts and questions
*
Let’s Connect: Linkedin – I’d love to connect with you
This content originally appeared on DEV Community and was authored by Thu Kha Kyawe

