Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

How to install Jenkins on your Linux server

In this manual, we will show you how to install "Jenkins" on your own Server. This way you can count on your own pipelines for CI/CD in a completely private environment.

Attention: This manual has been made and tested correctly in Ubuntu 18.04. It is possible that for other distributions or versions the steps change.

All instructions in this manual assume that you have superuser privileges, which are essential to complete all the steps correctly.

Installation of Jenkins

1. Download and install the public key from the Jenkins repository

wget -q -O - [https://pkg.jenkins.io/debian-stable/jenkins.io.key](https://pkg.jenkins.io/debian-stable/jenkins.io.key) | sudo apt-key add -

This public key certifies the origin of the packages to be installed and prevents attempts to impersonate the manufacturer. It is a very common and normal procedure.

2. Add Jenkins repository to your list of repositories

nano /etc/apt/sources.list

The previous command will open our list of repositories with a text editor. Next, add the following line to the end of the document. deb https://pkg.jenkins.io/debian-stable binary/

Save the changes with CTRL + O and exit the editor with CTRL + X.

3. Update the list of packages

apt-get update

The previous command will update the list of packages, including those from the Jenkins repository that we have added.

4. Install Jenkins with the package manager

apt-get install jenkins

Finally, with the previous command, you can complete the installation of Jenkins. Is that easy.

It is done!

If you have followed the previous steps correctly, you will already have Jenkins installed and you will be able to connect to it through a web browser through port 8080. For example:

http://<dirección-ip>:8080

Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.