{"id":28350,"date":"2018-07-18T13:02:21","date_gmt":"2018-07-18T13:02:21","guid":{"rendered":"https:\/\/www.softwaretestinghelp.com\/?page_id=28350"},"modified":"2025-04-01T08:03:54","modified_gmt":"2025-04-01T08:03:54","slug":"open-source-devops-tools-installation","status":"publish","type":"page","link":"https:\/\/www.softwaretestinghelp.com\/open-source-devops-tools-installation\/","title":{"rendered":"Best Open Source DevOps Tools (with Installation and Configuration)"},"content":{"rendered":"<p><strong>Steps involved in Installation and Configuration of Open Source DevOps Tools:<br \/>\n<\/strong><\/p>\n<p>In our last tutorial, we listed some of the <a href=\"https:\/\/www.softwaretestinghelp.com\/devops-tools\/\">top 10 best DevOps tools in 2018<\/a>. <em><strong>In this tutorial, I will focus on the installation and configuration of some of the commonly used OPEN-SOURCE\u00a0tools in DevOps.\u00a0<\/strong><\/em><\/p>\n<p><strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Read Through =&gt; <a href=\"https:\/\/www.softwaretestinghelp.com\/devops-tutorials\/\">Sequential DevOps Training Series<\/a><\/strong><\/p>\n<p>In our upcoming tutorial on DevOps, we will learn about how Microsoft VSTS and AWS support DevOps activities.\u00a0<em><strong> <\/strong><\/em><\/p>\n<p>But not all the organization\u2019s use of commercial tools. Some rely on open source tools for Continuous Integration and Continuous Delivery.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-29887 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/devops.png\" alt=\"Open Source DevOps tools installation\" width=\"600\" height=\"337\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/devops.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/devops-300x169.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>You can consider this tutorial as a cheat sheet and not as a LINUX TRAINING guide. You can keep it handy when you are trying to install them on Red Hat Linux 7.5.<\/p>\n<h2>Installation and Configuration of Open Source DevOps Tools<\/h2>\n<p><strong>Pre-Requisite:<\/strong><\/p>\n<ul>\n<li>Internet connection on the Red Hat Linux machine.<\/li>\n<li>If your organization uses a proxy server to connect to internet then ensure if the proxy settings are configured.<\/li>\n<li>Root user privileges.<\/li>\n<\/ul>\n<h3>#1) Install or Update Java to Version 8<\/h3>\n<p>Firstly while installing certain open source tools, it is very important to update all the packages to the latest version by using the below command<\/p>\n<p># yum update -y<\/p>\n<p>Most of the software tools use JDK 8 and above. Download the JDK package in RPM format file using the wget command. Wget Linux utility helps to download the files from the web. If it is not installed then follow the instructions below to install it.<\/p>\n<p># cd \/opt\/niranjan<br \/>\n# yum install wget<\/p>\n<p># wget &#8211;no-check-certificate &#8211;no-cookies &#8211;header &#8220;Cookie: oraclelicense=accept-securebackup-cookie&#8221;<\/p>\n<p>Check <a href=\"http:\/\/download.oracle.com\/otn-pub\/java\/jdk\/8u171-b11\/512cd62ec5174c3487ac17c61aaa89e8\/jdk-8u171-linux-x64.rpm\" target=\"_blank\" rel=\"noopener nofollow\">this<\/a>.<\/p>\n<p>You can get the path of RPM file from this <a href=\"http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html\" target=\"_blank\" rel=\"noopener nofollow\">URL <\/a><\/p>\n<p># rpm -ivh jdk-8u171-linux-x64.rpm<\/p>\n<p># java -version<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Checking-Java-Verison.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28525\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Checking-Java-Verison.png\" alt=\"Checking Java Version\" width=\"633\" height=\"324\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Checking-Java-Verison.png 633w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Checking-Java-Verison-300x154.png 300w\" sizes=\"(max-width: 633px) 100vw, 633px\" \/><\/a><\/p>\n<h3>#2) Install and Configure GIT<\/h3>\n<p>Let\u2019s see how to install and configure GIT which is the most popular version control software.<\/p>\n<p># yum install git \u2013y<\/p>\n<p>GIT is installed in \/usr\/bin. Check the version of the GIT installed.<\/p>\n<p># git \u2013version<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Install-GIT.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28537\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Install-GIT.png\" alt=\"Install GIT\" width=\"395\" height=\"111\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Install-GIT.png 395w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Install-GIT-300x84.png 300w\" sizes=\"(max-width: 395px) 100vw, 395px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff6600;\">GIT Configuration<\/span><\/h4>\n<p>Let\u2019s now configure the user name and email id for the GIT repository.<\/p>\n<p># git config \u2013global user.name \u201cV Niranjan\u201d<\/p>\n<p># git config \u2013global user.email <a href=\"mailto:vniranjan72@outlook.com\">vniranjan72@outlook.com<\/a><\/p>\n<p>The above information is stored in the .gitconfig file which is in the home directory.<\/p>\n<p>CD to your home directory and look at the file.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Configure-GIT.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28527\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Configure-GIT.png\" alt=\"Configure GIT\" width=\"352\" height=\"292\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Configure-GIT.png 352w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Configure-GIT-300x249.png 300w\" sizes=\"(max-width: 352px) 100vw, 352px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff6600;\">Initialise a GIT repository<\/span><\/h4>\n<p># cd \/opt\/niranjan\/demoproject<\/p>\n<p># git init<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Initialize-Git-Repository.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28534\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Initialize-Git-Repository.png\" alt=\"Initialize Git Repository\" width=\"555\" height=\"130\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Initialize-Git-Repository.png 555w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Initialize-Git-Repository-300x70.png 300w\" sizes=\"(max-width: 555px) 100vw, 555px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff6600;\">Add and Commit files to GIT repository<\/span><\/h4>\n<p>Add some files to the repository and run the below commands.<\/p>\n<p># git add<\/p>\n<p># git commit \u2013m \u201cFirst Commit\u201d<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Add-and-Commit-files-to-GIT-repository.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28522\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Add-and-Commit-files-to-GIT-repository.png\" alt=\"Add and Commit files to GIT repository\" width=\"533\" height=\"190\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Add-and-Commit-files-to-GIT-repository.png 533w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Add-and-Commit-files-to-GIT-repository-300x107.png 300w\" sizes=\"(max-width: 533px) 100vw, 533px\" \/><\/a><\/p>\n<h3>#3) Installing Maven<\/h3>\n<p>Maven is a utility which is used for any project build using a project object model (POM). Download the appropriate maven binaries from <a href=\"http:\/\/www-us.apache.org\/dist\/maven\/maven-3\/\" target=\"_blank\" rel=\"noopener nofollow\">here<\/a>.<\/p>\n<p>In this case, let\u2019s look to download and install Maven 3.5.3 version. Also, note that JDK 8 or 9 is a pre-requisite to install Maven.<\/p>\n<p># wget http:\/\/www-us.apache.org\/dist\/maven\/maven-3\/3.5.3\/binaries\/apache-maven-3.5.3-bin.tar.gz<\/p>\n<p># tar xzf apache-maven-3.5.3-bin.tar.gz<\/p>\n<p>Add the bin directory of the newly created directory to the PATH env variable and run the command to test maven.<\/p>\n<p># mvn -version<\/p>\n<h3>#4) Installing Jenkins<\/h3>\n<p>Jenkins is the most popular Continuous Integration tools. Jenkins is not available by default on the RHEL repositories. Enable the Jenkins repository and Install by running the following commands.<\/p>\n<p># wget -O \/etc\/yum.repos.d\/jenkins.repo http:\/\/pkg.jenkins-ci.org\/redhat-stable\/jenkins.repo<br \/>\n# rpm \u2013import <a href=\"http:\/\/pkg.jenkins-ci.org\/redhat-stable\/jenkins-ci.org.key\" rel=\"nofollow noopener\" target=\"_blank\">http:\/\/pkg.jenkins-ci.org\/redhat-stable\/jenkins-ci.org.key<\/a><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Install-Jenkins.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28539\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Install-Jenkins.png\" alt=\"Install Jenkins\" width=\"650\" height=\"320\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Install-Jenkins.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Install-Jenkins-300x148.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>Install Jenkins as follows<\/p>\n<p># yum install jenkins \u2013y<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Jenkins-Dependies.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28544\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Jenkins-Dependies.png\" alt=\"Jenkins Dependencies\" width=\"502\" height=\"622\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Jenkins-Dependies.png 502w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Jenkins-Dependies-242x300.png 242w\" sizes=\"(max-width: 502px) 100vw, 502px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff6600;\">Changing default Jenkins Port<\/span><\/h4>\n<p>If in case you need to use the other port than 8080 for jenkins then edit the file \/etc\/sysconfig\/jenkins and modify the parameter JENKINS_PORT to use some other port number.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Changing-Default-post.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28524\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Changing-Default-post.png\" alt=\"Changing Default port Jenkins\" width=\"426\" height=\"404\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Changing-Default-post.png 426w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Changing-Default-post-300x285.png 300w\" sizes=\"(max-width: 426px) 100vw, 426px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff6600;\">Start Jenkins Service<\/span><\/h4>\n<p>Start Jenkins service by running the following command:<\/p>\n<p># service jenkins start<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Start-Jenkins-Service.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28553\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Start-Jenkins-Service.png\" alt=\"Start Jenkins Service\" width=\"554\" height=\"93\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Start-Jenkins-Service.png 554w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Start-Jenkins-Service-300x50.png 300w\" sizes=\"(max-width: 554px) 100vw, 554px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff6600;\">Stop Jenkins Service <\/span><strong><span style=\"color: #ff6600;\"><br \/>\n<\/span><\/strong><\/h4>\n<p>Stop Jenkins service by using the following command:<\/p>\n<p># service jenkins stop<\/p>\n<h4><span style=\"color: #ff6600;\">Launch Jenkins<\/span><\/h4>\n<p>Once Jenkins service is started, proceed to launch Jenkins by entering the URL http:\/\/&lt;HostnameOrIPAddress&gt;:8089<\/p>\n<p>Enter the password from the file given and click on Continue.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Launch-Jenkins.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28546\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Launch-Jenkins.png\" alt=\"Launch Jenkins\" width=\"599\" height=\"368\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Launch-Jenkins.png 599w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Launch-Jenkins-300x184.png 300w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>Click on <strong>Install suggested plugins<\/strong><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Install-Jenkins-Plugins.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28538\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Install-Jenkins-Plugins.png\" alt=\"Install Jenkins Plugins\" width=\"650\" height=\"367\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Install-Jenkins-Plugins.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Install-Jenkins-Plugins-300x169.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>Post this you will be asked to create a ADMIN user id and password.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Creating-Admin-User-ID.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28530\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Creating-Admin-User-ID.png\" alt=\"Creating Admin User ID\" width=\"522\" height=\"374\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Creating-Admin-User-ID.png 522w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Creating-Admin-User-ID-300x215.png 300w\" sizes=\"(max-width: 522px) 100vw, 522px\" \/><\/a><\/p>\n<p>Click on <strong>Save and Finish. <\/strong>Jenkins is now ready for use.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Jenkins-WElcome-sccreen.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28545\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Jenkins-WElcome-sccreen.png\" alt=\"Jenkins Welcome screen\" width=\"650\" height=\"473\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Jenkins-WElcome-sccreen.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/Jenkins-WElcome-sccreen-300x218.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p><span style=\"color: #ff6600;\"><strong>Note:<\/strong><\/span> Since the port used here is 8089 than the default one 8080 make sure that this port is opened on the firewall or in the AWS security group if installing on AWS Cloud.<\/p>\n<h3>#5) Installing Tomcat<\/h3>\n<p>Apache Tomcat is one of the popular web servers that is used for web applications deployment. In this section, we will see how to install and configure Tomcat 8.x.<\/p>\n<p>To start, use <a href=\"http:\/\/tomcat.apache.org\/download-80.cgi\" rel=\"nofollow noopener\" target=\"_blank\">this<\/a> link to find out the latest stable version of Tomcat 8.x and install using <em>wget<\/em>.<\/p>\n<p>Copy the tar.gz file location under \u201c<strong>Core\u201d<\/strong> which will be as shown below and use it in the <em>wget<\/em> command.<\/p>\n<p><a href=\"http:\/\/www-us.apache.org\/dist\/tomcat\/tomcat-8\/v8.5.31\/bin\/apache-tomcat-8.5.31.tar.gz\" rel=\"nofollow noopener\" target=\"_blank\">http:\/\/www-us.apache.org\/dist\/tomcat\/tomcat-8\/v8.5.31\/bin\/apache-tomcat-8.5.31.tar.gz<\/a><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image014-2.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29850\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image014-2.png\" alt=\"Installing Tomcat\" width=\"600\" height=\"466\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image014-2.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image014-2-300x233.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/wget-commnad-Jenkins.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28558\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/wget-commnad-Jenkins.png\" alt=\"wget commnad-Jenkins\" width=\"644\" height=\"297\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/wget-commnad-Jenkins.png 644w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/wget-commnad-Jenkins-300x138.png 300w\" sizes=\"(max-width: 644px) 100vw, 644px\" \/><\/a><\/p>\n<p>Extract the file using the command below into the directory \/opt\/niranjan\/tomcat<\/p>\n<p># tar -xvf apache-tomcat-8.5.31.tar.gz<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/apache-Tomcat.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28523\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/apache-Tomcat.png\" alt=\"apache Tomcat\" width=\"591\" height=\"69\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/apache-Tomcat.png 591w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/apache-Tomcat-300x35.png 300w\" sizes=\"(max-width: 591px) 100vw, 591px\" \/><\/a><\/p>\n<p>After extraction move it to a smaller understandable directory such as <strong>\/opt\/niranjan\/tomcat<\/strong> which will be the final installed directory.<\/p>\n<pre><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/final-installed-directory.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-28533\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/final-installed-directory.png\" alt=\"final installed directory\" width=\"609\" height=\"138\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/final-installed-directory.png 609w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/06\/final-installed-directory-300x68.png 300w\" sizes=\"(max-width: 609px) 100vw, 609px\" \/><\/a><\/pre>\n<h4><span style=\"color: #ff6600;\">Configure Tomcat<\/span><\/h4>\n<p>Do the following changes in <strong>tomcat-users.xml<\/strong> which are in the <strong>conf<\/strong> directory. Ensure to remove comments &lt;!&#8211; and &#8211;&gt; which is above and below the lines.<\/p>\n<p>&lt;role rolename=&#8221;manager-gui&#8221;\/&gt; &lt;role rolename=&#8221;manager-script&#8221;\/&gt; &lt;user username=&#8221;tomcat&#8221; password=&#8221;tomcat&#8221; roles=&#8221;tomcat,manager-gui,manager-script&#8221;\/&gt;<br \/>\n<a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/Configure-Tomcat.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29883\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/Configure-Tomcat.jpg\" alt=\"Configure Tomcat\" width=\"650\" height=\"389\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/Configure-Tomcat.jpg 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/Configure-Tomcat-300x180.jpg 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>Save and exit.<\/p>\n<h4><span style=\"color: #ff6600;\">Change the default PORT from 8080 to 9005<\/span><\/h4>\n<p>Open the file server.xml and change the <strong>connector port to a different value.<\/strong><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image019-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29852\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image019-1.png\" alt=\"change the connector port to a different value.\" width=\"600\" height=\"364\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image019-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image019-1-300x182.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Save and exit.<\/p>\n<p>Start Tomcat by running the file startup.sh<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image020-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29853\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image020-1.png\" alt=\"Start Tomcat by running the file startup.sh\" width=\"600\" height=\"271\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image020-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image020-1-300x136.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Launch Tomcat using URL http:\/\/&lt;HostnameOrIPAddress:9005\/<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image021-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29855\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image021-1.png\" alt=\"Launch Tomcat \" width=\"600\" height=\"430\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image021-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image021-1-300x215.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>#6) Installing JFrog Artifactory OSS<\/h3>\n<p>To install JFrog Artifactory, which is a popular binary distribution repository manager, follow the steps as shown below which is just similar to Jenkins installation.<\/p>\n<p># wget <a href=\"https:\/\/bintray.com\/jfrog\/artifactory-rpms\/rpm\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/bintray.com\/jfrog\/artifactory-rpms\/rpm<\/a> -O bintray-jfrog-artifactory-rpms.repo<\/p>\n<p># mv bintray-jfrog-artifactory-rpms.repo \/etc\/yum.repos.d\/<br \/>\n# yum install jfrog-artifactory-oss<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image022-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29856\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image022-1.png\" alt=\"Installing JFrog Artifactory OSS\" width=\"600\" height=\"377\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image022-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image022-1-300x189.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff6600;\">Start Artifactory<\/span><\/h4>\n<p>The service can only be started or stopped as a root user only.<\/p>\n<p># service artifactory start<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image023-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29857\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image023-1.png\" alt=\"Start Artifactory\" width=\"500\" height=\"100\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image023-1.png 500w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image023-1-300x60.png 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff6600;\">Test Artifactory<\/span><\/h4>\n<p>Launch Artifactory by using the URL<\/p>\n<p>http:\/\/&lt;HostnameOrIPAddress&gt;:8081\/artifactory<\/p>\n<p>Initial steps would ask you to create an admin id and password.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image024-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29858\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image024-1.png\" alt=\"Test Artifactory\" width=\"600\" height=\"337\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image024-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image024-1-300x169.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff6600;\">Alternate ways to install Artifactory<\/span><\/h4>\n<ul>\n<li>Install and run as a DOCKER image.<\/li>\n<li>Download the Artifactory ZIP file from <a href=\"https:\/\/jfrog.com\/open-source\/\" target=\"_blank\" rel=\"noopener nofollow\">here<\/a> , copy it to the linux machine using a utility like <a href=\"https:\/\/winscp.net\/eng\/download.php\" target=\"_blank\" rel=\"noopener nofollow\">Winscp<\/a> , extract it and simply run &lt;Path&gt;\/bin\/artifactory.sh<\/li>\n<\/ul>\n<h3>#7) Installing MySQL 5.7<\/h3>\n<p>Most of the times for application deployment or for certain tools like <a href=\"https:\/\/www.softwaretestinghelp.com\/sonarqube-for-dot-net-node-js-gradle\/\">SonarQube<\/a> there could be a need to setup MySQL for database operations as well. To install MySQL 5.7 follow the steps as shown.<\/p>\n<p>Download the RPM package for MySQL for installation.<\/p>\n<p># wget http:\/\/dev.mysql.com\/get\/mysql57-community-release-el7-7.noarch.rpm<\/p>\n<p># rpm -ivh mysql57-community-release-el7-7.noarch.rpm<\/p>\n<p># yum install mysql-community-server<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image025-2.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29859\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image025-2.png\" alt=\"Installing MySQL 5.7\" width=\"600\" height=\"171\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image025-2.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image025-2-300x86.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff6600;\">Start MySQL Server<\/span><\/h4>\n<p># service mysqld start<\/p>\n<p># mysql &#8211;version<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image026-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29860\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image026-1.png\" alt=\"Start MySQL Server\" width=\"600\" height=\"153\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image026-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image026-1-300x77.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff6600;\">Configuring MySQL<\/span><\/h4>\n<p>To configure MySQL we need to run the secure installation which helps us to setup the root password for MySQL DB operations.<\/p>\n<p>MySQL version 5.7 generates a temporary password in <strong>\/var\/log\/mysqld.log<\/strong> which will be used during the secure installation of MySQL.<\/p>\n<p># grep &#8216;temporary password&#8217; \/var\/log\/mysqld.log<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image027-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29861\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image027-1.png\" alt=\"Configuring MySQL\" width=\"600\" height=\"113\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image027-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image027-1-300x57.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Run the command as given below and setup the root password to login to MySQL.<\/p>\n<p># mysql_secure_installation<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image028-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29862\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image028-1.png\" alt=\"mysql_secure_installation\" width=\"600\" height=\"257\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image028-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image028-1-300x129.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Proceed further with the other options and setup as per the need. Once completed login to MySQL as<\/p>\n<p># mysql \u2013u root -p<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image029-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29863\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image029-1.png\" alt=\"complete login to MySQL \" width=\"600\" height=\"278\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image029-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image029-1-300x139.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>#8) Installing SonarQube<\/h3>\n<p>SonarQube is the most widely used code analysis tool, hence inorder to install it during the continuous integration follow the steps below. SonarQube requires a backend database and we will see how it is configured with MySQL database.<\/p>\n<h4><span style=\"color: #ff6600;\">Create the database and user in MySQL<\/span><\/h4>\n<p>Since we have seen how to install MySQL in the previous section, login and run the following SQL commands.<\/p>\n<p>mysql&gt; CREATE DATABASE sonardb CHARACTER SET utf8 COLLATE utf8_general_ci;<\/p>\n<p>mysql&gt; CREATE USER &#8216;sonaruser&#8217; IDENTIFIED BY &#8216;sonaruser&#8217;;<\/p>\n<p>mysql&gt; GRANT ALL ON sonardb.* TO &#8216;sonaruser&#8217;@&#8217;%&#8217; IDENTIFIED BY &#8216;sonaruser&#8217;;<\/p>\n<p>mysql&gt; GRANT ALL ON sonardb.* TO &#8216;sonaruser&#8217;@\u2019localhost&#8217; IDENTIFIED BY &#8216;sonaruser&#8217;;<\/p>\n<p>mysql&gt; FLUSH PRIVILEGES;<\/p>\n<h4><span style=\"color: #ff6600;\">Install SonarQube<\/span><\/h4>\n<p># wget -O \/etc\/yum.repos.d\/sonar.repo http:\/\/downloads.sourceforge.net\/project\/sonar-pkg\/rpm\/sonar.repo<\/p>\n<p># yum install sonar \u2013y<\/p>\n<h4><span style=\"color: #ff6600;\">Configure SonarQube<\/span><\/h4>\n<p>Open the sonar properties file and enter the database details to connect with.<\/p>\n<p># vi \/opt\/sonar\/conf\/sonar.properties<\/p>\n<p>Update the username and password as shown below in the file.<\/p>\n<p>sonar.jdbc.username=sonaruser<br \/>\nsonar.jdbc.password=sonaruser<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image030-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29864\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image030-1.png\" alt=\"Update the username and password\" width=\"600\" height=\"377\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image030-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image030-1-300x189.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Scroll down to the MySQL section and update it as below. Add the hostname or IP address. Save and exit the file once done.<\/p>\n<p>#&#8212;&#8211; MySQL 5.6 or greater<br \/>\n# Only InnoDB storage engine is supported (not myISAM).<br \/>\n# Only the bundled driver is supported. It cannot be changed.<br \/>\nsonar.jdbc.url=jdbc:mysql:\/\/<strong>localhost<\/strong>:3306\/sonardb?useUnicode=true&amp;characterEncoding=utf8&amp;rewriteBatchedStatements=true&amp;useConfigs=maxPerformance<\/p>\n<h4><span style=\"color: #ff6600;\">Start SonarQube<\/span><\/h4>\n<p>Run the following command to start the SonarQube service<\/p>\n<p># service sonar start<\/p>\n<h4><span style=\"color: #ff6600;\">Test the SonarQube Installation<\/span><\/h4>\n<p>Launch the URL using http:\/\/&lt;HostnameOrIPAddress&gt;:9000<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image031-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29865\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image031-1.png\" alt=\"Test the SonarQube Installation\" width=\"600\" height=\"217\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image031-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image031-1-300x109.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>#9) Installing Docker<\/h3>\n<p>To install Docker CE edition which is a very popular containerization platform, you need to follow the below steps.<\/p>\n<p># yum-config-manager &#8211;add-repo <a href=\"https:\/\/download.docker.com\/linux\/centos\/docker-ce.repo\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/download.docker.com\/linux\/centos\/docker-ce.repo<\/a><\/p>\n<p># yum -y &#8211;enablerepo=rhui-REGION-rhel-server-extras install container-selinux<\/p>\n<p># yum install docker-ce \u2013y<\/p>\n<p># docker \u2013version<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image032-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29866\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image032-1.png\" alt=\" Installing Docker\" width=\"400\" height=\"104\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image032-1.png 400w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image032-1-300x78.png 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p># service docker start<\/p>\n<p># docker run \u2013it hello-world<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image033-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29867\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image033-1.png\" alt=\"docker run \u2013it hello-world\" width=\"600\" height=\"193\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image033-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image033-1-300x97.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p># docker images<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image034-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29868\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image034-1.png\" alt=\" docker images\" width=\"600\" height=\"86\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image034-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image034-1-300x43.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>#10) Installing Ansible<\/h3>\n<p>To install Ansible which is an open-source IT automation tool for configuration management and deployment of application, follow the steps as shown below.<\/p>\n<p>Firstly enable the Extra Packages repository which contains add-on software\u2019s for linux and install ansible as a root user.<\/p>\n<p># wget http:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-7.noarch.rpm<\/p>\n<p># rpm -ivh epel-release-latest-7.noarch.rpm<\/p>\n<p># yum install ansible \u2013y<\/p>\n<p># ansible &#8211;version<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image035-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29869\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image035-1.png\" alt=\" Installing Ansible\" width=\"600\" height=\"198\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image035-1.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image035-1-300x99.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff6600;\">Configuration of Ansible<\/span><\/h4>\n<p>Ansible configuration are managed in a file called <strong>ansible.cfg<\/strong>. To enable the hosts, uncomment the inventory value.<\/p>\n<p># vi \/etc\/ansible\/ansible.cfg<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/Configure-Ansible.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29884\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/Configure-Ansible.jpg\" alt=\"Configure Ansible\" width=\"624\" height=\"389\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/Configure-Ansible.jpg 624w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/Configure-Ansible-300x187.jpg 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/a><\/p>\n<p>All the required hosts to connect to and manage can be added to the required host groups in the ansible hosts file.<\/p>\n<p># vi \/etc\/ansible\/hosts<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image037.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-29871\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image037.png\" alt=\"All the required hosts to connect to and manage can be added\" width=\"600\" height=\"377\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image037.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/07\/image037-300x189.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Post the ansible configuration and inventory file setup you will also need to setup password less SSH key authentication which enables the client machines or nodes to be connected from the master and vice versa.<\/p>\n<p>Before performing the above or below configuration, it is better to have a common user across all the servers and the user be added to the <strong>\/etc\/sudoers<\/strong> file to ensure that the tasks which will be run through ansible have admin or root privileges.<\/p>\n<p>So in a nutshell, control machine or nodes can be connected through SSH using the below 2 commands. The below commands have to be run on both the master and client machines.<\/p>\n<p>\u201cssh-keygen\u201d and \u201cssh-copy-id user@nodemachine \u201c<\/p>\n<p>To test the connectivity run the command<\/p>\n<p>\u201cansible all \u2013m ping\u201d<\/p>\n<h3>Summary<\/h3>\n<p>In this tutorial, we saw how to install the most commonly used open-source tools in any DevOps environment.<\/p>\n<p>As DevOps talks about the speed of delivery, I am sure that this tutorial or cheat sheet should help all of your DevOps enthusiasts to quickly get started on installing these tools in your environment and help the entire team\/organization to automate the Continuous Integration and Continuous Delivery process.<\/p>\n<p><em><strong>Watch out our upcoming tutorial to know more about Frequently asked DevOps interview questions and answers.<\/strong><\/em><\/p>\n<p><strong><a href=\"https:\/\/www.softwaretestinghelp.com\/devops-tools\/\">PREV Tutorial<\/a> | <a href=\"https:\/\/www.softwaretestinghelp.com\/tools\/24-best-continuous-integration-tool\/\">NEXT Tutorial<\/a><\/strong><\/p>\n\r\n\t\t\t<div id=\"daexthefup-container\"\r\n\t\t\t\tclass=\"daexthefup-container daexthefup-layout-stacked daexthefup-alignment-center\"\r\n\t\t\t\tdata-post-id=\"28350\">\r\n\r\n\t\t\t\t<div class=\"daexthefup-feedback\">\r\n\t\t\t\t\t<div class=\"daexthefup-text\">\r\n\t\t\t\t\t\t<h3 class=\"daexthefup-title\">Was this helpful?<\/h3>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"daexthefup-buttons-container\">\r\n\t\t\t\t\t\t<div class=\"daexthefup-buttons\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefup-yes daexthefup-button daexthefup-button-type-icon\" data-value=\"1\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-up-cls-1{fill:#c9c9c9;}.thumb-up-cls-2{fill:#e1e1e1;}.thumb-up-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_up\">\r\n                        <path class=\"thumb-up-cls-2 daexthefup-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-up-cls-3 daexthefup-icon-secondary-color\" x=\"10\" y=\"20\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefup-icon-primary-color\" d=\"m30.57,9.06l-.49-.1c-.81-.17-1.61.35-1.78,1.16l-5.3,11.74c-.17.81,3.16,1.61,3.97,1.78l1.96.41c.81.17,1.61-.35,1.78-1.16l2.18-10.27c.34-1.61-.7-3.21-2.31-3.56Z\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefup-icon-primary-color\" d=\"m38.17,20h-18.67c-.83,0-1.5.67-1.5,1.5v12c0,.83.67,1.5,1.5,1.5h16.27c.71,0,1.33-.5,1.47-1.21l2.4-12c.19-.93-.53-1.8-1.47-1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefup-no daexthefup-button daexthefup-button-type-icon\" data-value=\"0\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-down-cls-1{fill:#c9c9c9;}.thumb-down-cls-2{fill:#e1e1e1;}.thumb-down-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_down\">\r\n                        <path class=\"thumb-down-cls-2 daexthefup-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-down-cls-3 daexthefup-icon-secondary-color\" x=\"10\" y=\"13\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefup-icon-primary-color\" d=\"m30.57,38.94l-.49.1c-.81.17-1.61-.35-1.78-1.16l-5.3-11.74c-.17-.81,3.16-1.61,3.97-1.78l1.96-.41c.81-.17,1.61.35,1.78,1.16l2.18,10.27c.34,1.61-.7,3.21-2.31,3.56Z\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefup-icon-primary-color\" d=\"m38.17,28h-18.67c-.83,0-1.5-.67-1.5-1.5v-12c0-.83.67-1.5,1.5-1.5h16.27c.71,0,1.33.5,1.47,1.21l2.4,12c.19.93-.53,1.8-1.47,1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefup-comment\">\r\n\t\t\t\t\t<div class=\"daexthefup-comment-top-container\">\r\n\t\t\t\t\t\t<label id=\"daexthefup-comment-label\" class=\"daexthefup-comment-label\"><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"daexthefup-comment-character-counter-container\">\r\n\t\t\t\t\t\t\t\t<div id=\"daexthefup-comment-character-counter-number\"\r\n\t\t\t\t\t\t\t\t\tclass=\"daexthefup-comment-character-counter-number\"><\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"daexthefup-comment-character-counter-text\"><\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<textarea id=\"daexthefup-comment-textarea\" class=\"daexthefup-comment-textarea\"\r\n\t\t\t\t\t\t\t\tplaceholder=\"Type your message\"\r\n\t\t\t\t\t\t\t\tmaxlength=\"\r\n\t\t\t\t\t\t\t\t400\t\t\t\t\t\t\t\t\t\"><\/textarea>\r\n\t\t\t\t\t<div class=\"daexthefup-comment-buttons-container\">\r\n\t\t\t\t\t\t<button class=\"daexthefup-comment-submit daexthefup-button\">Submit<\/button>\r\n\t\t\t\t\t\t<button class=\"daexthefup-comment-cancel daexthefup-button\">Cancel<\/button>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefup-successful-submission-text\">Thanks for your feedback!<\/div>\r\n\r\n\t\t\t<\/div>\r\n\r\n\t\t\t","protected":false},"excerpt":{"rendered":"<p>Steps involved in Installation and Configuration of Open Source DevOps Tools: In our last tutorial, we listed some of the top 10 best DevOps tools in 2018. In this tutorial, I will focus on the installation and configuration of some of the commonly used OPEN-SOURCE\u00a0tools in DevOps.\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Read Through &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Best Open Source DevOps Tools (with Installation and Configuration)\" class=\"read-more button\" href=\"https:\/\/www.softwaretestinghelp.com\/open-source-devops-tools-installation\/#more-28350\" aria-label=\"Read more about Best Open Source DevOps Tools (with Installation and Configuration)\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":29887,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_helpful_pro_status":1,"footnotes":""},"categories":[405],"tags":[],"class_list":{"0":"post-28350","1":"page","2":"type-page","3":"status-publish","4":"has-post-thumbnail","6":"category-devops"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/pages\/28350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/comments?post=28350"}],"version-history":[{"count":0,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/pages\/28350\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/media\/29887"}],"wp:attachment":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/media?parent=28350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/categories?post=28350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/tags?post=28350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}