Installation on Amazon Linux 2 AMI (HVM)
Connect to Linux Machine through Putty or SSH
$ sudo su
# cd
# sudo yum install java-1.8.0-openjdk -y
# sudo amazon-linux-extras install java-openjdk11
# java -version
# sudo alternatives --config java
# wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
# rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
# amazon-linux-extras install epel -y
# yum install jenkins -y
# systemctl start jenkins
# systemctl enable jenkins
Now take the public IP and paste it in prowser with :8080
give the password à install suggested à ok
No comments:
Post a Comment