Created
August 4, 2022 08:02
-
-
Save chandradeoarya/49c274d9c624816b42c86f8ddd212a4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum update -y | |
sudo amazon-linux-extras install java-openjdk11 -y | |
java -version | |
sudo yum install git -y | |
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo | |
sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key | |
sudo yum install jenkins -y | |
sudo systemctl start jenkins | |
sudo systemctl enable jenkins | |
sudo systemctl status jenkins | |
sudo cat /var/lib/jenkins/secrets/initialAdminPassword |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment