Skip to content

Instantly share code, notes, and snippets.

@chandradeoarya
Created August 4, 2022 08:02
Show Gist options
  • Save chandradeoarya/49c274d9c624816b42c86f8ddd212a4c to your computer and use it in GitHub Desktop.
Save chandradeoarya/49c274d9c624816b42c86f8ddd212a4c to your computer and use it in GitHub Desktop.
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