how to install Jenkins on an Ubuntu 18.04 using google cloud

Опубликовано: 12 Октябрь 2020
на канале: Technical Skills Linux
163
6

how to install Jenkins on an Ubuntu 18.04 using google cloud
#jenkinsinstallation

Installing Jenkins
#Jenkins
To install Jenkins on your Ubuntu system, follow these steps:
Install Java.

sudo apt update
sudo apt install openjdk-8-jdk

Add the Jenkins Debian repository.

Import the GPG keys of the Jenkins repository using the following wget command:

wget -q -O - https://pkg.jenkins.io/debian/jenkins... | sudo apt-key add -


Next, add the Jenkins repository to the system with:

sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ = /etc/apt/sources.list.d/jenkins.list'

Install Jenkins.

sudo apt update
sudo apt install jenkins

systemctl status jenkins

sudo ufw status
Status: active

sudo cat /var/lib/jenkins/secrets/initialAdminPassword
2115173b548f4e99a203ee99a8732a32

At this point, you’ve successfully installed Jenkins on your system.

If you have any questions, please leave a comment below.
jenkins
ubuntu
devops

Thank you for watching my video if my video any help to you please like , comment, and subscribe to my channel for the next video.

Thank you once again...

-like -comment -share -subscribe

***********************Subscribe Please**************************