![]() ![]() When you access Jenkins for the first time (after installation) it will ask you for the password. (or) domain :8080 (or) 5.1: Unlock Jenkins To configure Jenkins you need to access it on any web browser with a domain/host IP address. Executing: /usr/lib/systemd/systemd-sysv-install enable jenkins ~]$ Start Jenkins service on Rocky Linux 8 sudo systemctl start jenkins Verify Jenkins service status $ systemctl status jenkins Step 4: Configure the firewall and allow 8080 port sudo firewall-cmd -permanent -zone=public -add-port=8080/tcp sudo firewall-cmd -reload Step 5: Configure Jenkins on Rocky Linux 8 Sample output ~]$ sudo systemctl enable jenkins Synchronizing state of rvice with SysV service script with /usr/lib/systemd/systemd-sysv-install. Enable Jenkins service on Rocky Linux 8 sudo systemctl enable jenkins Type Y, then press the ENTER KEY to proceed with Jenkins installation on Rocky Linux. Sample output: ~]$ sudo dnf repolist repo id repo name appstream Rocky Linux 8 - AppStream baseos Rocky Linux 8 - BaseOS extras Rocky Linux 8 - Extras jenkins Jenkins-stable powertools Rocky Linux 8 - PowerTools ~]$ Step 3: Install Jenkins on Rocky Linux 8 sudo dnf install jenkins You can also download the Jenkins package.Ĭheck if the repository is now available $ sudo dnf repolist 03:48:00 (5.16 MB/s) - ‘/etc//jenkins.repo’ saved ~]$ Import GPG key sudo rpm -import Sample Output: ~]$ sudo wget -O /etc//jenkins.repo OpenJDK 64-Bit Server VM 18.9 (build 11.0.15+10-LTS, mixed mode, ~]$ Step 2: Add Jenkins YUM repository to Rocky Linux sudo dnf -y install wget sudo wget -O /etc//jenkins.repo OpenJDK Runtime Environment 18.9 (build 11.0.15+10-LTS) See also: Step 1: Install OpenJDK 11 on Rocky Linux 8 sudo dnf -y install java-11-openjdk
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |