How to Install and configure Jenkins on CentOS Stream 10

To install Jenkins on CentOS Stream 10, follow the steps below:

Step 1 : Update your system to ensure all packages are up to date:

Step 2 : Jenkins requires Java. Install OpenJDK with:

Step 3 : Import the Jenkins repository GPG key:

Step 4 : Add the Jenkins repository using the following command:

Step 5 : Install Jenkins using the following command:

Step 6 : Start the Jenkins service:

Step 7 : Enable Jenkins to start on boot:

Step 8 : Verify if Jenkins is running properly:

Step 9 : If you are using a firewall, allow Jenkins to communicate:

Step 10 : To set up Jenkins for the first time, retrieve the initial admin password:

Step 11 : Open your browser and navigate to Jenkins:

Step 12 : Log in with the initial admin password retrieved earlier.

Step 13 : After logging in, select Install suggested plugins to get started with the recommended setup.

Step 14 : Wait for Jenkins to finish installing the plugins.

Step 15 : Create your Jenkins admin user by filling out the required fields.

Step 16 : Set the Jenkins URL to match your server's domain or IP.

Step 17 : Click Start using Jenkins to complete the setup.

Congratulations! You have successfully installed and configured Jenkins on CentOS Stream 10.