![]() ![]() yum install -y wget Download Oracle Java JDK This guide will be more useful for them to set up a development environment when they especially use RHEL 7 or CentOS 7. Java JDK is the most important base for the developers. You can access Jenkins by providing the password after reading the file.Today we will be looking into the installation of Oracle Java JDK on RHEL 7 / CentOS 7. You can configure the Jenkins service on port 8080 of your system, but Jenkins is temporarily locked with a password present in the /var/lib/jenkins/secrets/initialAdminPassword file. Now, the Jenkins server will be running on port 8080 for our server. To check the firewall status and accessible ports, use the firewall-cmd command: # firewall-cmd -list-all # firewall-cmd -add-port=8080/tcp -permanent Finally, we need to reload the firewall service for the changes to take effect. ![]() You also need to add Jenkins service to run with firewall and add its exception so that it is available to access from the outside world. To check if the Jenkins service is running, use the command: # systemctl status jenkins Using the systemctl start command starts the Jenkins service and enabling the service will start it on bootup. When the repository is updated, you need to install Jenkins and start the service. ![]() The following links are for the LTS version for Jenkins. You can check the presence of the repo using this command: # yum repolist
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |