Install jenkins and access it from the browser using GUI¶
Steps¶
- Create a new virtual machine in any cloud provider ( use ubuntu OS preferablly)
- install according to official jenkins docs as this might get old.
-
Install Java first
-
Install Jenkins
sudo wget -O /usr/share/keyrings/jenkins-keyring.asc \ https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key echo "deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc]" \ https://pkg.jenkins.io/debian-stable binary/ | sudo tee \ /etc/apt/sources.list.d/jenkins.list > /dev/null sudo apt-get update sudo apt-get install jenkins
-
Run jenkins You can enable the Jenkins service to start at boot with the command:
You can start the Jenkins service with the command:
You can check the status of the Jenkins service using the command:
If everything has been set up correctly, you should see an output like this: