28
loading...
This website collects cookies to deliver better user experience
T2 micro
instance type as it satisfies the above minimum criteria.T2 micro
for instance typeSSH
into the EC2 instancesudo yum update -y
sudo amazon-linux-extras install java-openjdk11 -y
sudo tee /etc/yum.repos.d/jenkins.repo<<EOF
[jenkins]
name=Jenkins
baseurl=http://pkg.jenkins.io/redhat
gpgcheck=0
EOF
sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
sudo yum repolist
sudo yum install jenkins -y
sudo systemctl start jenkins
sudo systemctl enable jenkins
sudo systemctl status jenkins
sudo systemctl is-enabled jenkins
http://[server-ip-or-hostname]:8080
Unlock Jenkins
screen to authenticate the installation.cat /var/lib/jenkins/secrets/initialAdminPassword
Install suggested plugins
to install the recommended set of plugins based on most common use cases.