Jenkins Tool:
---------------------
Jenkins is an open-source automation tool that helps automate parts of the software development process. It is primarily used for building, testing, and deploying software. Jenkins can be used to automate tasks such as building, testing, and deploying code, as well as running automated tests, and deploying code to various environments.
Jenkins is highly configurable and can be integrated with a wide range of tools and plugins, including version control systems like Git and Subversion, testing frameworks, and continuous integration (CI) and continuous delivery (CD) tools. Jenkins can also be integrated with other tools such as Selenium, Maven, and Ant to automate a wide variety of tasks.
Jenkins is a popular tool among developers and is widely used in software development teams to automate repetitive tasks and improve the overall software development process.
Jenkins is a free and open source automation server. It helps automate the parts of software development related to building, testing, and deploying, facilitating continuous integration and continuous delivery.
It is a server-based system that runs in servlet containers such as Apache Tomcat.
(Open Web Broser & Type https://pkg.jenkins.io/ in addrees bar. Click redhat-stable & Follow the instaructions mentioned there to install Jenkins.)
Install & Configure Jenkins in RHEL 7 (CentOS 7):
---------------------------------------------------------------
1. Login as root and make sure local yum repository is working in your server.
# yum repolist
2. Install java packages from local repository in your machine.
# yum install java -y
3. Download repo file using below command.
# wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/...
4. Import the jenkins key using below command.
# rpm --import https://pkg.jenkins.io/redhat-stable/...
5. Now install Jenkins Using Yum command.
# yum install jenkins -y
6. Start, enable & check the status of Jenkins service after the installation gets completed.
# systemctl start jenkins
# systemctl enable jenkins
# systemctl status jenkins
7. Add Jenkins Port (8080) in firewall using below command.
# firewall-cmd --permanent --add-port=8080/tcp
8. Reload the firewall.
# firewall-cmd --reload
9. Note down the ip address of your server.
# ip addr
10. Open Web Browser from same LAN & mention the server Ip address in address bar. Then provide the Admin Password which will you generate by running the command provided on Jenkins Sign In Page on Browser. Then install plugins and create Jenkins Admin User.
You are done.
------------------
No comments:
Post a Comment