100 Days od DeVops- Day 21

Lab Requirements – Nautilus Git Repository Setup

  1. Install Git on the Storage Server (ststor01) using yum.
  2. Create a bare Git repository named /opt/beta.git.
  3. Ensure proper ownership and permissions so the repository can be used by the user natasha.
  4. Verify that the repository is bare (no working directory, only Git metadata).

Steps Performed

  1. ssh [email protected]
  2. sudo yum install -y git
    git --version

    Confirm Git is installed

  3. sudo mkdir -p /opt/beta.git
  4. sudo git init --bare /opt/beta.git
  5. sudo chown -R natasha:natasha /opt/beta.git
  6. sudo chmod -R 770 /opt/beta.git
  7. Confirm the repository is bare using git --git-dir=/opt/beta.git rev-parse --is-bare-repository