If everything went well, the beginning of the status output shows that the service is active and configured to start at boot: Since systemctl doesn’t display status output, we’ll use the status command to verify that Jenkins started successfully: Let’s start Jenkins by using systemctl: sudo systemctl start jenkins Now that Jenkins and its dependencies are in place, we’ll start the Jenkins server. sudo sh -c 'echo deb binary/ > /etc/apt//jenkins.list'Īfter both commands have been entered, we’ll run update so that apt will use the new repository.įinally, we’ll install Jenkins and its dependencies.Next, let’s append the Debian package repository address to the server’s sources.list: To ensure you have the latest fixes and features, use the project-maintained packages to install Jenkins.įirst, add the repository key to the system:Īfter the key is added the system will return with OK. The version of Jenkins included with the default Ubuntu packages is often behind the latest available version from the project itself. Oracle JDK 11 installed, following our guidelines on installing specific versions of OpenJDK on Ubuntu 20.04.Visit Jenkins’s “ Hardware Recommendations” for guidance in planning the capacity of a production-level Jenkins installation. We recommend starting with at least 1 GB of RAM.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |