How install Jenkins on an Ubuntu Server
How install Jenkins on an Ubuntu Server 22.04 Step 1: Install Java sudo apt update sudo apt install openjdk-11-jdk -y sudo apt install openjdk-8-jdk -y java -version Step 2: Add Jenkins Repository curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key | sudo tee \ /usr/share/keyrings/jenkins-keyring.asc > /dev/null echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \ https://pkg.jenkins.io/debian-stable binary/ | sudo tee \ /etc/apt/sources.list.d/jenkins.list > /dev/null Step 3: Install Jenkins sudo apt update sudo apt install jenkins -y sudo systemctl status jenkins Jenkins service is not running or active, run the following command to start it: sudo systemctl enable --now jenkins Step 4: Modify Firewall to Allow Jenkins sudo ufw allow 8080 Step 5: Set up Jenkins http://localhost:8080 (Server ip : port number) Obtain the defaul...