Nnamdi Kenneth Nwosu
Posted on July 8, 2024
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
Step 2: Install Java:
sudo apt install openjdk-11-jdk -y
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'
Step 4: Install Jenkins:
sudo apt update
sudo apt install jenkins -y
Step 5: Checking the Jenkins:
sudo systemctl start jenkins
sudo systemctl enable jenkins
sudo systemctl status jenkins
Step 6: Access Your Jenkins:
your_server_ip:8080
Step 7: Unlock Jenkins:
To unlock Jenkins, you need the initial admin password. Retrieve it by running:
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
Thank You.
💖 💪 🙅 🚩
Nnamdi Kenneth Nwosu
Posted on July 8, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.