

“` VirtualBox – Setup the nat network port forwarding You can check the status of the Jenkins service using this systemctl command:

# Replace the line HTTP_PORT=8080 with HTTP_PORT=8082 Start the Jenkins service Warning: apt had planned for dpkg t odo more than it reported back (0vs4)Ĭhange the port that jenkins listens to 8082 instead of 8080 (Optional ) Sudo apt-get update & sudo apt-get upgrade If it trows an error, you might want to check that the correct java version is installed onto the system.Ĭonfigure the version using alternative java command Jenkins is now installing on your ubuntu server.

Sudo apt-get update & sudo apt-get install jenkins Sudo sh -c 'echo deb binary/ > /etc/apt//jenkins.list' Wget –no-check-certificate -vvv -O – | sudo apt-key add -Īdd the package repository to the source list so it gets updated when typing apt-get update and install Jenkins Sudo update-alternatives -config java Install Jenkinsįirst you need to add the package key to your Ubuntu packaging system, If you have multiple java versions you can set the one you want to use at boot time iso file of Ubuntu that you have downloaded in the storage CD section of virtualbox in your virtual machine settings page. Setup the memory you want to give to the machine. Tip: if you start with the name of the Operative system like Ubuntu the type and version will be populated automatically.ģ. Now install the downloaded version of Ubuntu on the Virtual machine that you just created following the instruction on screen. Select new to create a new virtual machine, type the name, select the os and follow the instruction on screen.
