Launch jenkins-setup step by step
prerequisite -
- docker install
sudo apt install docker.io
2. add user
sudo usermod -aG docker $USER
docker ps , if not running then restart docker or reboot
sudo systemctl restart docker
sudo reboot
docker ps
3. install java
4. install jenkins
5. give port 8080 in ec2 instance
then open browser, <ip_add>:8080
6. password
then you can see you jenkins window open but its unlock and here you can see a password location in your ec2 terminal there are-
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
you can copy this password and copy in your browser
7. then clock install suggestion plugin window
8. Create Admin User Account
9. your jenkins is ready.