DevOps Classroom Series – 09/Feb/2021

CI/CD Engine – Jenkins

  • Installation:
    • Create an Ubuntu 18/20 instance in any cloud
  • Lets create an ec2 instance with ubuntu 20 in AWS Cloud
  • Install Jenkins on ubuntu by following the official docs Refer Here
sudo apt update
sudo apt install openjdk-11-jdk -y
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > \
    /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins

  • Refer Here to install specific version of jenkins

  • Now navigate to http://publicip:8080

  • For creating ec2 instance and connecting from your system Refer Here

  • For create a vm in azure and connecting from your system Refer Here

  • Lets try to install jenkins on Centos.

  • Create a centos instance on Azure

  • For the documentation Refer Here

sudo yum install wget -y
sudo wget -O /etc/yum.repos.d/jenkins.repo \
    https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
sudo yum upgrade
sudo yum install jenkins java-1.8.0-openjdk-devel -y
sudo systemctl daemon-reload
sudo systemctl enable jenkins
sudo systemctl start jenkins

  • Now navigate to http://publicip:8080 and finish the setup

  • Exercise: Install Jenkins on centos/ubuntu on your favorite cloud

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Integration by Acurax Social Media Branding Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%