![]() The Jenkins is asking the administrator in the order to be unlocked. Finish Jenkins InstallationĪfter successful installation we can finish the installation by accessing the Jenkins Web Interface: You should see the screen below: You should receive the following output: netstat -tunlp | grep 8080 Loaded: loaded (/etc/init.d/jenkins generated)Īctive: active (exited) since Sat 04:50:43 EST 1min 35s agoįeb 12 04:50:41 test.vps systemd: Starting LSB: Start Jenkins at boot time.įeb 12 04:50:41 test.vps jenkins: Correct java version foundįeb 12 04:50:42 test.vps su: (to jenkins) root on noneįeb 12 04:50:42 test.vps su: pam_unix(su-l:session): session opened for user jenkins(uid=114) by (uid=0)įeb 12 04:50:42 test.vps su: pam_unix(su-l:session): session closed for user jenkinsįeb 12 04:50:43 test.vps jenkins: Starting Jenkins Automation Server: jenkins.įeb 12 04:50:43 test.vps systemd: Started LSB: Start Jenkins at boot time.Īnother way to check if Jenkins, is active and running is to check port 8080 netstat -tunlp | grep 8080 rvice - LSB: Start Jenkins at boot time.You should receive the following output: sudo systemctl status jenkins To check the status of the service execute the following command: sudo systemctl status jenkins sudo systemctl start jenkins & sudo systemctl enable jenkins ![]() Install Jenkins sudo apt-get install jenkins -yĪfter the installation, start and enable the Jenkins service, in order for the service to start automatically after system reboot. Once, the system is updated with the latest packages, install Jenkins. Update the repository before you install Jenkins: sudo apt update -y Once, the GPG key is added next is to add the PPA: echo "deb binary/" | tee /etc/apt//jenkins.list Add Jenkins GPG key and PPAīy default the repository of Debian 11, does not contain the Jenkins, so we need to add manually the key and the PPA. OpenJDK 64-Bit Server VM (build 11.0.14+9-post-Debian-1deb11u1, mixed mode, sharing) Step 3. OpenJDK Runtime Environment (build 11.0.14+9-post-Debian-1deb11u1) You should receive the following output: java -version To check whether Java is installed execute the following command: java -version Jenkins is written in Java, and that is why we need the Java installed on our system along with some dependencies: sudo apt install openjdk-11-jdk default-jre gnupg2 apt-transport-https wget -y Since we have a fresh installation of Debian 11, we need to update the packages to its latest versions available: sudo apt update -y & sudo apt upgrade -y Step 2. User privileges: root or non-root user with sudo privileges.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |