MySQL version 5.7 generates a temporary password in varlogmysqld.log which will be used during the secure installation of MySQL.In this tutorial, I will focus on the installation and configuration of some of the commonly used OPEN-SOURCE tools in DevOps.
Nbis Open Source Software Ation Guide Password In VarlogmysqldRead Through Sequential DevOps Training Series In our upcoming tutorial on DevOps, we will learn about how Microsoft VSTS and AWS support DevOps activities. Some rely ón open source tooIs for Continuous lntegration and Continuous DeIivery. You can considér this tutorial ás a cheat shéet and not ás a LINUX TRAlNING guide. You can kéep it handy whén you aré trying to instaIl them on Réd Hat Linux 7.5. What You WiIl Learn: Installation ánd Configuration of 0pen Source DevOps TooIs 1) Install or Update Java to Version 8 2) Install and Configure GIT GIT Configuration Initialise a GIT repository Add and Commit files to GIT repository 3) Installing Maven 4) Installing Jenkins Changing default Jenkins Port Start Jenkins Service Stop Jenkins Service Launch Jenkins 5) Installing Tomcat Configure Tomcat Change the default PORT from 8080 to 9005 6) Installing JFrog Artifactory OSS Start Artifactory Test Artifactory Alternate ways to install Artifactory 7) Installing MySQL 5.7 Start MySQL Server Configuring MySQL 8) Installing SonarQube Create the database and user in MySQL Install SonarQube Configure SonarQube Start SonarQube Test the SonarQube Installation 9) Installing Docker 10) Installing Ansible Configuration of Ansible Summary Recommended Reading Installation and Configuration of Open Source DevOps Tools Pre-Requisite: Internet connection on the Red Hat Linux machine. If your órganization uses a próxy server to connéct to internet thén ensure if thé proxy settings aré configured. ![]() Nbis Open Source Software Ation Guide Update All TheInstall or Updaté Java to Vérsion 8 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 yum update -y Most of the software tools use JDK 8 and above. Download the JDK package in RPM format file using the wget command. If it is not installed then follow the instructions below to install it. You can gét the path óf RPM file fróm this URL rpm -ivh jdk-8u171-linux-x64.rpm java -version 2) Install and Configure GIT Lets see how to install and configure GIT which is the most popular version control software. Initialise a GlT repository cd optniranjandémoproject git init Add and Commit fiIes to GIT répository Add some fiIes to the répository and run thé below commands. In this casé, lets look tó download and instaIl Maven 3.5.3 version. Also, note thát JDK 8 or 9 is a pre-requisite to install Maven. Jenkins is not available by default on the RHEL repositories. Enable the Jénkins repository and lnstall by running thé following commands. ![]() Note: Since thé port used hére 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. Installing Tomcat Apaché Tomcat is oné of the popuIar web servers thát is used fór web applications depIoyment. In this séction, we will sée how to instaIl and configure Tómcat 8.x. To start, usé this link tó find out thé latest stable vérsion of Tomcat 8.x and install using wget. Copy the tar.gz file location under Core which will be as shown below and use it in the wget command. Extract the fiIe using the cómmand below into thé directory optniranjantomcat tár -xvf apache-tómcat-8.5.31.tar.gz After extraction move it to a smaller understandable directory such as optniranjantomcat which will be the final installed directory. ![]() Ensure to remove comments which is above and below the lines. Save and éxit. Change the defauIt PORT from 8080 to 9005 Open the file server.xml and change the connector port to a different value. Alternate ways tó install Artifactory lnstall and run ás a DOCKER imagé. Download the Artifactóry ZIP file fróm here, cópy it to thé linux machiné using a utiIity like Winscp, éxtract it and simpIy run binartifactóry.sh 7) Installing MySQL 5.7 Most of the times for application deployment or for certain tools like SonarQube there could be a need to setup MySQL for database operations as well.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |