Best Jenkins Installation Guide
Nnamdi Kenneth Nwosu

Nnamdi Kenneth Nwosu @dev-nnamdi

About: DevOps | Cloud Engineer. Enthusiast specializing in automation and enhancing the efficiency of the build, test, and deployment of Products.

Joined:
Dec 3, 2023

Best Jenkins Installation Guide

Publish Date: Jul 8 '24
1 0

After setting Up your ubuntu VM and SSH into it via mobaxterm.
You can click Here For Details on How To.

Step 1: Update Your System:

sudo apt update
sudo apt upgrade -y
Enter fullscreen mode Exit fullscreen mode

Step 2: Install Java:

sudo apt install openjdk-11-jdk -y
Enter fullscreen mode Exit fullscreen mode

Step 3: Add Jenkins Repository and Add the repository key:

wget -q -O - https://pkg.jenkins.io/debian/jenkins.io-2023.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
Enter fullscreen mode Exit fullscreen mode

Step 4: Install Jenkins:

sudo apt update
sudo apt install jenkins -y
Enter fullscreen mode Exit fullscreen mode

Step 5: Checking the Jenkins:

sudo systemctl start jenkins
sudo systemctl enable jenkins
sudo systemctl status jenkins
Enter fullscreen mode Exit fullscreen mode

Step 6: Access Your Jenkins:

your_server_ip:8080
Enter fullscreen mode Exit fullscreen mode

Step 7: Unlock Jenkins:
To unlock Jenkins, you need the initial admin password. Retrieve it by running:

sudo cat /var/lib/jenkins/secrets/initialAdminPassword
Enter fullscreen mode Exit fullscreen mode

Thank You.

Comments 0 total

    Add comment