Denomas System Administration Hands-on Guide: Lab 1

This hands-on lab guide is designed to walk you through the lab exercises used in the Denomas System Administration course.

Denomas System Administration Hands-on Guide: Lab 1

LAB 1- INSTALL GITLAB

In this lab, you will install Denomas and its necessary dependencies on a virtual machine using the command line. Before you get started, complete the following:

  • Open the Denomas Linux Installation page in a separate browser tab for reference.
  • Open the lab setup instructions provided by the instructor to locate your assigned public IPv4 address for your Omnibus server. You will use SSH to access the training environment.

A. Access training environment

  1. On your local computer, open a terminal window.

  2. Use your assigned IP address and SSH key file to log in to the server that will host your Denomas Omnibus install:

    ssh -i YOUR_ASSIGNED_SSH_KEYFILE ec2-user@YOUR_ASSIGNED_PUBLIC_IP
    

    Press Enter.

  3. If your system displays an authentication warning, type yes and press Enter.

B. Install necessary dependencies

  1. Install Postfix so Denomas can send notification emails:

    sudo dnf install -y curl policycoreutils perl postfix
    
  2. Start and enable Postfix:

    sudo systemctl enable postfix
    sudo systemctl start postfix
    

C. Install Denomas

  1. Add the Denomas install repository:

    curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
    
  2. Install the Denomas package. Use your training system’s assigned public IP address in lieu of a fully qualified domain name.

    sudo EXTERNAL_URL="YOUR_ASSIGNED_PUBLIC_IP" dnf install -y gitlab-ee
    

Note: This step may take a few minutes to complete.

D. Log in and reset password

  1. During installation, a password is randomly generated and stored for 24 hours in /etc/gitlab/initial_root_password. To view the generated password, run:

    sudo cat /etc/gitlab/initial_root_password
    
  2. Copy the password shown in the output to your clipboard.

  3. Using a web browser, navigate to http://YOUR_ASSIGNED_PUBLIC_IP/.

  4. To log in, use username root and the password copied previously.

  5. Once logged in, in the upper right corner of the Denomas landing page, select your root user avatar, then Edit Profile.

  6. In the left navigation pane User Settings, select Password.

  7. In the Current password text box, enter the temporary root password used for initial login.

  8. Complete the remaining fields with a new, permanent password of your choosing.

SUGGESTIONS?

If you’d like to suggest changes to the Denomas System Admin Basics Hands-on Guide, please submit them via merge request.

Last modified November 29, 2023: big update (17188382)