To install Jenkins on AlmaLinux 9, follow these steps:
Step 1 : Update the System
Run the following command to update your system packages:
Step 2 : Install OpenJDK
Jenkins requires Java. Install OpenJDK with:
Step 3 : Add Jenkins Repository Key
Step 4 : Add Jenkins Repository
Step 5 : Install Jenkins
Step 6 : Start Jenkins
Step 7 : Enable Jenkins to Start on Boot
Step 8 : Check Jenkins Status
Step 9 : Configure Firewall (if applicable)
If you have firewalld
enabled, allow Jenkins port (8080):
Step 10 : Retrieve the Initial Admin Password
Step 11 : Access Jenkins
Open your web browser and go to:
- Enter the initial admin password when prompted.
- Click "Install suggested plugins" and wait for the process to complete.
- Fill in the required details to set up an admin account.
- Set your preferred Jenkins URL in the configuration settings.
Click "Start using Jenkins" to finish the setup.
Congratulations! You have successfully installed and configured Jenkins on AlmaLinux 9.