EC2 Jenkins installation Commands and verification - Pratikgit1/reference GitHub Wiki
Install Jenkins
wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
echo deb https://pkg.jenkins.io/debian-stable binary/ | sudo tee /etc/apt/sources.list.d/jenkins.list
sudo apt-get update
sudo apt-get install jenkins
sudo systemctl start jenkins
sudo systemctl status jenkins
For EC2 instance open port 8080
uninstall Jenkins sudo apt-get remove jenkins