Content Introduction Prerequisites Virtual Host Redirect to HTTPS Conclusion Introduction To secure the data transfer redirecting the HTTP traffic to...
Read MoreIn this tutorial, we will set up Jenkins by installing the package using apt-get from it’s Debian Package repository.
The Jenkins version is included with the default packages of Ubuntu, therefore to take advantage of the latest features or latest fixes we will use the packages maintained by the project itself to install Jenkins.
Java version 8 or greater should be available in the environment to install Jenkins.
wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
echo deb https://pkg.jenkins.io/debian-stable binary/ | sudo tee /etc/apt/sources.list.d/jenkins.list
sudo apt-get update
sudo apt-get install jenkins
sudo service jenkins start
sudo service jenkins status
● jenkins.service – LSB: Start Jenkins at boot time
output
Loaded: loaded (/etc/init.d/jenkins; bad; vendor preset: enabled)
Active: active (exited) since Tue 2019-09-19 05:49:26 UTC; 3min 2s ago
Docs: man:systemd-sysv-generator(8)
sudo ufw allow 8080
sudo ufw status
sudo ufw allow OpenSSH
sudo ufw enable
The initial setup is completed.
Open the URL in browser using the server domain name or IP address with the default Jenkins port like below:
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
Great! Enjoy using Jenkins.
In this article, we have installed and configured the Jenkins using packages, then we have started the server and opened the firewall ports, then created an administrative user. Now you can explore Jenkins.
Content Introduction Prerequisites Virtual Host Redirect to HTTPS Conclusion Introduction To secure the data transfer redirecting the HTTP traffic to...
Read MoreContent Introduction Requirement Getting Started Conclusion Introduction Angular is an open-source web application framework. It is a TypeScript-based free and development...
Read More