Install Jenkins on AWS EC2 Instance | Jenkins CICD | Jenkins on EC2 Instance | Jenkins | AWS Demo

preview_player
Показать описание
Install Jenkins on AWS EC2 Instance | Jenkins CICD | Jenkins on EC2 Instance | Jenkins | AWS Demo

Jenkins is a popular open-source automation server that helps developers build, test and deploy software. Jenkins is written in Java and runs on various platforms, such as Windows, Linux, macOS and more. Jenkins supports many plugins that extend its functionality and integrate with other tools, such as version control systems, testing frameworks and cloud services. Jenkins enables continuous integration and continuous delivery (CI/CD) of software projects, which means that changes are automatically tested and delivered to the end users. Jenkins also provides a web interface that allows users to configure, monitor and manage their jobs and pipelines.

Here are the steps taken in this video:

# Create a hostname
sudo hostnamectl set-hostname jenkins

#Install wget command
sudo yum install wget -y

#Install jenkins repo

# Run the following commands for jenkins key:

(Note: If you've previously imported the key from Jenkins, the rpm --import will fail because you already have a key. Please ignore that and move on.)

# Upgrade installed packages to the latest
sudo yum upgrade -y

# Add required dependencies for the jenkins package
sudo yum install java-11-openjdk -y

# Install Jenkins
sudo yum install jenkins -y

#Run the following commands to reload the unit files:

sudo systemctl daemon-reload

# Start Jenkins
# You can enable the Jenkins service to start at boot with the command:
sudo systemctl enable jenkins

#You can start the Jenkins service with the command:=
sudo systemctl start jenkins

# You can check the status of the Jenkins service using the command:
sudo systemctl status jenkins
Рекомендации по теме