Installing Jenkins on Ubuntu 18 on AWS

 3 years ago
source link: https://fuzzyblog.io/blog/jenkins/2020/05/12/installing-jenkins-on-ubuntu-18.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Installing Jenkins on Ubuntu 18 on AWS

May 12, 2020


Jenkins is an Open Source CI / CD software program that you can easily install on an AWS instance.

Here is how to install Jenkins:

sudo apt install default-jre    
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt update
sudo apt install jenkins
sudo systemctl start jenkins

Here are some additional useful commands:

sudo systemctl status jenkins

Here are the next steps you need to follow:

  1. Open a port in the AWS Security Group for your instance for port 8080 on to allow http access to the Jenkins user interface.
  2. Go to the instance's IP address at port 8080 to run through the Jenkins installation.
  3. Confirm the Jenkins password per the instructions on screen.
  4. Select the plugins that you need for your Jenkins installation.
  5. Create your account and password.


Posted In: #jenkins #linux #ubuntu

About Joyk

Aggregate valuable and interesting links.
Joyk means Joy of geeK