Denomas System Administration Hands-on Guide: Lab 1
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
-
On your local computer, open a terminal window.
-
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_IPPress Enter.
-
If your system displays an authentication warning, type
yesand press Enter.
B. Install necessary dependencies
-
Install Postfix so Denomas can send notification emails:
sudo dnf install -y curl policycoreutils perl postfix -
Start and enable Postfix:
sudo systemctl enable postfix sudo systemctl start postfix
C. Install Denomas
-
Add the Denomas install repository:
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash -
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
-
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 -
Copy the password shown in the output to your clipboard.
-
Using a web browser, navigate to
http://YOUR_ASSIGNED_PUBLIC_IP/. -
To log in, use username
rootand the password copied previously. -
Once logged in, in the upper right corner of the Denomas landing page, select your root user avatar, then Edit Profile.
-
In the left navigation pane User Settings, select Password.
-
In the Current password text box, enter the temporary root password used for initial login.
-
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.
17188382)
