![]()  | 
| 
 How to Install Jenkins on Ubuntu - Printable Version +- My Board (https://ellohost.com/forum) +-- Forum: Tutoriel EN (https://ellohost.com/forum/forumdisplay.php?fid=8) +--- Forum: Others (https://ellohost.com/forum/forumdisplay.php?fid=20) +--- Thread: How to Install Jenkins on Ubuntu (/showthread.php?tid=792)  | 
How to Install Jenkins on Ubuntu - aaron - 09-10-2023 How to Install Jenkins on UbuntuInstalling Jenkins is as easy as using the integrated APT package manager of Ubuntu. However, keep in mind that some requirements must be met for a VPS-based system before proceeding with the installation. Prerequisites for Jenkins Installation
 1. Install Java Development KitJenkins supports Java 8 and Java 11. However, in this tutorial, we will use Java Runtime Environment 11. First, update the default Ubuntu packages lists for upgrades with the following command: 
Then, run the following command to install JDK 11: 
To test if Java has been installed successfully, run this command: 
It should look something like this: ![]() 2. Install JenkinsNow, we will install Jenkins itself. Issue the following four commands in sequence to initiate the installation from the Jenkins repository: 
Once that’s done, start the Jenkins service with the following command: 
To confirm its status, use: 
If it’s working correctly, the terminal window will look like this: ![]() 3. Adjust Firewall and Configuring JenkinsWith Jenkins installed, we can proceed with adjusting the firewall settings. By default, Jenkins will run on port 8080. In order to ensure that this port is accessible, we will need to configure the built-in Ubuntu firewall (ufw). To open the 8080 port and enable the firewall, use the following commands: 
Once done, test whether the firewall is active using this command: 
     |