Web Age Solutions Inc. WA2639 Devops with Jenkins, Terraform and Hashicorp Stack. Classroom Setup Guide. Web Age Solutions Inc. 1

Similar documents
WA2621 DevOps Foundations for Java with Git, Jenkins, and Maven. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

WA2321 Continuous Integration with Apache Maven Jenkins-CI and Nexus. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

WA2271 Continuous Integration with Jenkins-CI. Classroom Setup Guide. Web Age Solutions Inc.

WA2451 DevOps Fundamentals. Classroom Setup Guide. Web Age Solutions Inc.

WA2012 Programming Java SOAP and REST Web Services - JBoss-Eclipse. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA1278 Introduction to Java using Eclipse. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

WA day Java prereq for Selenium. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

WA2493 What's New in Java 8. Classroom Setup Guide. Web Age Solutions Inc.

WA2445 Programming REST Web Services with JAX-RS Wildfly / JBoss Developer Studio. Classroom Setup Guide. Web Age Solutions Inc.

WA2009 Java EE 6 Programming - WebLogic 12c - Eclipse. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA2684 Developing MicroServices. Classroom Setup Guide. Web Age Solutions Inc.

WA2579 Technical Introduction to Microservices. Classroom Setup Guide. Web Age Solutions Inc.

WA1827 Cloud Programming Workshop. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

WA2214 Mastering JAX-RS REST Web Services and AJAX Clients - JBoss / Eclipse. Classroom Setup Guide. Web Age Solutions Inc.

WA2387 Hands-On soapui - Classroom Setup Guide. WA2387 Hands-On soapui. Classroom Setup Guide. Web Age Solutions Inc.

WA2217 Programming Java EE 6 SOAP Web Services with JAX-WS - JBoss-Eclipse. Classroom Setup Guide. Web Age Solutions Inc.

WA2442 Introduction to JavaScript. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

WA EJB and JPA Programming with Java EE 6 - WebLogic 12 / Eclipse. Classroom Setup Guide. Web Age Solutions Inc.

WA2056 Building HTML5 Based Mobile Web Sites. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

WA2488 JavaScript Changes with ECMAScript Classroom Setup Guide. Web Age Solutions Inc.

WA2423 JavaScript for Web 2.0 Development. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

WA2452 Node.js Software Development. Classroom Setup Guide. Web Age Solutions Inc.

WA2185 Platform Independent Mobile Development with jquery Mobile and Apache Cordova. Classroom Setup Guide. Web Age Solutions Inc.

WA1927 Introduction to Struts 2.x Using Eclipse. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA1958 Mobile Software Design Patterns and Architecture Android Edition. Classroom Setup Guide. Web Age Solutions Inc.

WA2535 Apache Cordova From the Ground Up. Classroom Setup Guide. Web Age Solutions Inc.

WA1884 Introduction to Java. using Oracle JDeveloper 11g. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA2402 Introduction to Responsive Web Development with HTML5, CSS3, JavaScript and jquery. Classroom Setup Guide. Web Age Solutions Inc.

WA2486 JBoss AS 7 and JBoss EAP 6 Administration and Clustering on Windows. Classroom Setup Guide. Web Age Solutions Inc.

WA2583 React JavaScript Programming. Classroom Setup Guide. Web Age Solutions Inc.

WA1845 EJB 3.0 Programming with WebLogic Server 11g. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA1739 Oracle WebLogic Server 10.3 Performance Tuning. Classroom Setup Guide. Web Age Solutions Inc. Copyright 2009 Web Age Solutions Inc.

WA1677 J2EE Application Development with Spring and Hibernate. Classroom Setup Guide. Web Age Solutions Inc.

WA1937 WebSphere Portal 7.0 Programming. Classroom Setup Guide. Web Age Solutions Inc. Copyright 2012 Web Age Solutions Inc. 1

WA2168 Introduction to Java using Rational Application Developer 8.5. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

WA2164 Programming Java SOAP Web Services with JAX-WS - WebSphere 8.5 / RAD 8.5. Classroom Setup Guide. Web Age Solutions Inc.

WA2174 EJB and JPA Programming with Java EE 6 - WebSphere 8.5 / RAD 8.5. Classroom Setup Guide. Web Age Solutions Inc.

WA2256 Responsive Mobile Web Development with HTML5, CSS3, JavaScript, and jquery Mobile. Classroom Setup Guide. Web Age Solutions Inc.

WA2087 Programming Java SOAP and REST Web Services - WebSphere 8.0 / RAD 8.0. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

WA1973 IBM Business Process Manager 8.0 Programming Using IBM Integration Designer. Classroom Setup Guide. Web Age Solutions Inc.

WA2393 Data Science for Solution Architects. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

WA1685 WebSphere Portal v6.1 Programming. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc

WA2592 Applied Data Science and Big Data Analytics. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA2572 Introduction to Responsive Web Development for Mac. Classroom Setup Guide. Web Age Solutions Inc.

WA2503 Hadoop Programming on the. Hortonworks Data Platform. Lab Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA1699 JSF Web Application Programming Using Rational Application Developer 7.5. Classroom Setup Guide. Web Age Solutions Inc.

WA2031 WebSphere Application Server 8.0 Administration on Windows. Classroom Setup Guide. Web Age Solutions Inc.

WA1547 WebSphere Portal v6 Programming. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA1735 Java Persistence (JPA) Programming using Rational Application Developer 7.5. Classroom Setup Guide. Web Age Solutions Inc.

WA1804 WebSphere Enterprise Service Bus v6.2 Administration. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA1561 WebSphere Application Server v6.1 Administration. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA1976 WebSphere Application Server 7.0 Administration Fundamentals. Classroom Setup Guide. Web Age Solutions Inc.

WA1797 WebSphere Enterprise Service Bus (ESB) 6.2 Programming Using WebSphere Integration Developer. Classroom Setup Guide. Web Age Solutions Inc.

WA1740 Developing J2EE Applications Using Spring 2.5 and Rational Application Developer (RAD) v7.0 - Classroom Setup Guide

WA1701 Java EE 5 Programming with JSF, EJB 3.0 and JPA Using Rational Application Developer Classroom Setup Guide

WA1561 WebSphere Application Server v6.1 Administration. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA1649 Java EE 5 Programming Using WebLogic 10. Classroom Setup Guide. Web Age Solutions Inc. Copyright 2011 Web Age Solutions Inc.

WA1562 Web Services Development Using Rational Application Developer (RAD) v7.0 - Classroom Setup Guide

WA1787 Designing and Developing Higher Performance Web Services. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA1841 Introduction to Developing OO Applications with Java for Procedural Programming using RAD 7.5. Classroom Setup Guide. Web Age Solutions Inc.

WA1926 Introduction to Struts 2.x using RAD 7.5. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA1327 WebSphere Application Server v6 Administration. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

WA1574 SOA Testing Workshop. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

WA2342 NoSQL Systems Comparison. Lab Server VM Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Cisco Remote Expert Manager Agent s Workstation Setup Guide

Appendix A: Courseware setup

WA2031 WebSphere Application Server 8.0 Administration on Windows. Student Labs. Web Age Solutions Inc. Copyright 2012 Web Age Solutions Inc.

Digital Pack Tutorial - For Mac

EUSurvey OSS Installation Guide

Dell EMC ME4 Series vsphere Client Plug-in

EVALUATION ONLY. WA2097 WebSphere Application Server 8.5 Administration on Linux. Student Labs. Web Age Solutions Inc.

Installing the Cisco Prime Optical Client

System 44 Installation Guide

VMware Plugin Installation for Windows 8.1 or newer

VMWare Workstation Installation. Microsoft Windows Server 2008 Enterprise with Service Pack 2

Setting up your Computer

User Manual. Virtual and Hardware Appliance User Manual - Version

READ 180 Next Generation Installation Guide

System 44 Next Generation Installation Guide

READ 180 Next Generation Installation Guide

JCCC Virtual Labs. Click the link for more information on installing on that device type. Windows PC/laptop Apple imac or MacBook ipad Android Linux

CIS 231 Windows 10 Install Lab # 3

Living Systems Process Suite. Installation. Living Systems Process Suite Documentation. 3.1 Thu Nov

VDI Users Guide. Mac OS X

System 44 Installation Guide

Sample Spark Web-App. Overview. Prerequisites

ETK Installation and Configuration Manual

How To Install Java Manually Linux Terminal Server 2008

Java TM SE 7 Release Notes Microsoft Windows Installation (32-bit)

TEMPO INSTALLATION I O A. Platform Independent Notes 1. Installing Tempo 3. Installing Tools for the Plugins 5. v0.2.

SAP GUI 7.30 for Windows Computer

Help with F5 Networks Virtual Classroom. Troubleshooting your client connection to the remote Windows PC

CIS 231 Windows 7 Install Lab #2

Lab - Data Migration in Windows

Downloading, Installing, and Configuring Blackboard Drive

Scholastic Reading Inventory Installation Guide

Live Data Connection to SAP Universes

Contents Overview... 2 Part I Connecting to the VPN via Windows OS Accessing the Site with the View Client Installing...

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. Jenkins

FireFox. CIS 231 Windows 10 Install Lab # 3. 1) Use either Chrome of Firefox to access the VMware vsphere web Client.

Transcription:

WA2639 Devops with Jenkins, Terraform and Hashicorp Stack Classroom Setup Guide Web Age Solutions Inc. Web Age Solutions Inc. 1

Table of Contents Part 1 - Introduction...3 Part 2 - Minimum Hardware Requirements...3 Part 3 - Minimum Software Requirements...3 Part 4 - AWS keys...3 Part 5 - Software Provided...4 Part 6 - Installing the WA2639 [CentOS] VMWare Image...4 Part 7 - WA2639 Windows Setup installation...7 Part 8 - Minimum Software Requirements...7 Part 9 - Instructions...8 Part 10 - Installing JDK 8 Update 45...9 Part 11 - Verification of JDK 8 Update 45...13 Part 12 - Jenkins 2.89.3 Installation...15 Part 13 - Installing GIT...20 Part 14 - Summary...25 Web Age Solutions Inc. 2

Part 1 - Introduction This course requires to install a pre-built VMWare image and a Windows setup that you need to install in a clean Windows image [VMWare, cloud, Virtual pc] or directly on a Windows computer. Part 2 - Minimum Hardware Requirements 8 GB RAM minimum (12 GB recommended) 50 GB free on the drive where the image will run Internet connectivity Part 3 - Minimum Software Requirements Adobe Acrobat Reader Zip extraction utility that supports 7zip VMWare workstation 12 or compatible. Part 4 - AWS keys This course requires AWS key for the students that will be generated before the class by Web Age Solutions. Please contact support@webagesolutions.com to request keys generation and delivery of keys to the instructor. Web Age Solutions Inc. 3

Part 5 - Software Provided List of ZIP files required for this course and used in next steps on this document: WA2639_REL_2_0.ZIP VM-WA2639.zip [CentOS VMWare image] Send an email to support@webagesolutions.com in order to obtain a copy of the software for this course if you haven't receive it yet. All other software listed under Minimum Software Requirements is either commercially licensed software that you must provide or software that is freely available off the Internet. Part 6 - Installing the WA2639 [CentOS] VMWare Image In this part you will extract and start the Linux and Ubuntu VM images. 1. Extract the VM-WA2639.zip file directly to C:\ 2. Review that the following folder was created: C:\VM-WA2639 3. Select Start VMWare VMware Player to start the VMWare player. Note. If you don't have VMWare player installed then search for 'VMWare workstation 12 or above' on internet and install it. Web Age Solutions Inc. 4

4. Click Open a Virtual Machine. 5. Navigate to the C:\VM-WA2639 folder, right click the file with extension as vmx and select Open. 6. The name of the VMWare image will appear in the console. 7. Click "Edit virtual machine settings". 8. Verify the Memory and the Processors assigned to the VM. If your computer doesn't have enough resources modify this settings and click OK. 9. Click Play virtual machine. 10. Select I copied it and click OK. The virtual machine will open. 11. Login using the user wasadmin user with password wasadmin. 12. The VM image will open. Web Age Solutions Inc. 5

13. If a message asking to install the VM Ware Tools open, you can simply close it, it's optional installing the most recent version of the VM Ware Tools. 14. If you get an error when launching the VM regarding the version of the VMWare player is probably because you are using an older version of VMWare Player, we recommend using VMWare player 12 workstation or above, older VMWare players may not work but you can try changing the setting as follows: Close the VM player. Use notepad to edit the file with.vmx extension that is located in the folder where you copied the VM. Change the lines that relate to the config version and hardware version as follows: config.version = "X" virtualhw.version = "X" Replace "X" with "7" for VMware Players 7 or below. Replace "X" with "8" for VMware Players 8 or above. Replace "X" with "12" for VMware Player 12 or above. Save and close the file. Launch again the VM, if doesn't start then contact support. 15. You have started successfully the WA2639 VM, you can leave this VM running or you can shut it down depending on the computer resources. 16. Make a shortcut to the desktop and call it WA2639 Linux. Web Age Solutions Inc. 6

Part 7 - WA2639 Windows Setup installation The following steps are to install the Windows image, this can be done in a clean Windows VM or directly in the computer. Make sure your computer has enough resources to host the VM that you just started, and the Windows software below. Part 8 - Minimum Software Requirements Windows 7 (Professional, Enterprise, or Ultimate) Latest web browsers: Chrome Firefox Adobe Acrobat Reader Zip extraction utility JDK 8 Update 45 * Eclipse JEE Kepler SR1* Artifactory 3.3.0 OSS * Apache Tomcat 6.0.37 * Jenkins 2.89.3 * GIT 2.8.1 * Apache Maven 3.3.9 * * - indicates software provided as part of the courseware. Web Age Solutions Inc. 7

Part 9 - Instructions 1. Open your Windows VM or computer. 2. Login with an administrator account. NOTE. THIS COURSE REQUIRES ADMIN PRIVILEGES TO THE STUDENT ACCOUNT. 3. Makes sure the computer has internet access from the browser and the command line. If needed open the proxy. 4. Extract the WA2639_REL_2_0.ZIP file directly to C:\ 5. Review that the following folders were created: C:\LabFiles C:\Software\apache-maven-3.3.9 C:\Software\apache-tomcat-6.0.37 C:\Software\artifactory-3.3.0 C:\Software\eclipse C:\Software\jenkins-2.89.3-Windows 6. Review that the following files were created: C:\Software\Git-2.8.1-32-bit.exe C:\Software\jdk-8u45-windows-i586.exe Web Age Solutions Inc. 8

7. Make sure you see the following folders and files under C:\LabFiles: 8. Install Mozilla and Chrome. 9. Make sure the student will have full control under C:\LabFiles and C:\Software folders. Part 10 - Installing JDK 8 Update 45 1. Make sure there is no previous Java version already installed on the system. You can check this by using the Windows Add/Remove Programs utility. For the best compatibility with the labs it is suggested that all previous versions of Java be uninstalled before proceeding with these instructions. If this is an issue, please contact the setup support person for the course. 2. From the C:\Software directory run the following file: jdk-8u45-windows-i586 Note: If using prompted by a security prompt allow the installation to continue. Web Age Solutions Inc. 9

3. When the initial step of the setup appears, press the Next button. 4. Leave the defaults for installation location and options, and press the Next button. Note: The installation directory may be slightly different. The installation will begin installing files. 5. The Destination Folder will appear, leave the default folder and click Next. Web Age Solutions Inc. 10

Note: The installation directory may be slightly different. Wait until the software is completely installed. 6. Click Close. 7. Close any browser that appears asking to register the JDK software. Set the Environment variables. 1. Open a Command Prompt. You can do this with 'Start Programs Accessories Command Prompt'. 2. Use the 'cd' command to attempt to switch to the following directory. This will verify the presence Web Age Solutions Inc. 11

of a directory used later so make sure you do not get any errors about not being able to find the path specified. cd C:\Progra~2\Java\jdk1.8.0_45 Note: The installation directory may be slightly different depending your operating system. You may need to use the following directory instead of the one listed above: C:\Progra~1\Java\jdk1.8.0_45 Some of the remaining steps will use the slightly different directory. 3. Make sure you can reach the java folder and remember the value entered because you will use this value in the following steps. 4. Close the command prompt window. 5. In the Windows Start Menu, right-click on the Computer link in the right-hand side of the Start panel, and then select Properties. 6. Click on Advanced system settings. 7. The system will display the System Properties dialog. Select the Advanced tab and click Environment Variables. 8. Under the System Variables list, click the New button. 9. Enter JAVA_HOME as Variable name. 10. As Variable value enter the following. This should be the value you verified in the Set the Web Age Solutions Inc. 12

Environment variables section - step 2. C:\Progra~2\Java\jdk1.8.0_45 Note: If you are using a 32-bit OS you may have to use C:\Progra~1\Java\jdk1.8.0_45 11. Click OK to create the variable. 12. From the System Variables list, select Path and click Edit. 13. At the beginning of the line enter the following. Make sure to include the semi-colon on the end: %JAVA_HOME%\bin; 14. Click OK. 15. Click OK to close the Environment Variables window. 16. Click OK to close the System Properties window. Part 11 - Verification of JDK 8 Update 45 1. Open a Windows command prompt. You can do this by selecting 'Start -> Run', entering 'cmd', and then pressing the OK button. Make sure it is a new command prompt and not one open previously. 2. Enter the following command: echo %PATH% Web Age Solutions Inc. 13

Make sure you see the Java 'bin' directory listed at the beginning. Note: You may see C:\Progra~1\Java\jdk1.8.0_45 or C:\Progra~2\Java\jdk1.8.0_45 3. Enter the following command: java -version Make sure you see the response shown below. Troubleshooting: If you get an error message means that your Environment variable was incorrectly entered, go back and fix the values. 4. Enter the following command: javac Verify that you get the options to run the Java compiler: 5. Enter the following command: java -XshowSettings:all 2>&1 findstr /c:"sun.arch.data.model" Verify that it displays the correct value of 32. This indicates that it is 32-bit java that is installed. Troubleshooting: If it displays 64 for the value, then you have 64 bit java installed and this will cause issues. Please uninstall the 64-bit java and reinstall the indicated 32-bit jdk. 6. Close the command prompt window and any extra windows that are open. Java has been installed. Web Age Solutions Inc. 14

Part 12 - Jenkins 2.89.3 Installation 1. Open a command prompt window and ensure that the Java JDK is installed. java -version 2. In Windows Explorer, navigate to C:\Software\jenkins-2.89.3-Windows 3. Double-click on 'jenkins.msi'. The installer will show the initial dialog. Click Next. 4. On the Destination Folder panel, leave the defaults and click Next. Your destination folder may be different. Web Age Solutions Inc. 15

5. On the Ready to Install... panel, click Install. 6. Windows may show a security dialog. If it does, click Yes. 7. In the final dialog panel, click Finish. 8. If you see the Create First Admin User screen then click Jenkins. 9. If you see the following click Don't show this message again. The installer will open a browser window to the Jenkins home page. The page shows the location of a file where you can find the initial administration password, and also a text box to enter the password into. Web Age Solutions Inc. 16

10. Open the indicated file with an editor such as Notepad, and copy the password to the clipboard with Ctrl-C. 11. Paste the password into the Adminstrator Password box. 12. Click Continue. 13. If you are prompted to save the password just close that window. 14. Click on Install Suggested Plugins. 15. Getting Started will begin. Wait until is done. Web Age Solutions Inc. 17

16. In the Create First Admin User screen. Enter the following fields: Username: Password: wasadmin wasadmin Confirm Password: wasadmin Full name: E-mail address: Administrator user@example.com 17. When the input looks like below, click Save and Finish. 18. If you are prompted to save the password just close that window. 19. You will see that Jenkins is ready. Click Start using Jenkins. Web Age Solutions Inc. 18

20. Jenkins will open. 21. Jenkins installation is complete. Close the browser. 22. Close all open windows. Web Age Solutions Inc. 19

Part 13 - Installing GIT IMPORTANT: Setup is easy but you need to make sure you do the change in Step 7. 1. From the C:\Software\ directory run the following file: Git-2.8.1-32-bit.exe 2. You may need to allow the program to run. 3. Click Next. 4. Click Next. Web Age Solutions Inc. 20

Note. You folder may be different. 5. Click Next. 6. Click Next. Web Age Solutions Inc. 21

7. Select Use Git and Optional Unix tools from the Windows Command Prompt. 8. Make sure you select the 3 rd option as shown above and then click Next. 9. Click Next. Web Age Solutions Inc. 22

10. Click Next. 11. Leave defaults and click Install. Web Age Solutions Inc. 23

12. De-select View Release Notes, and then click Finish. 13. Close all open files. Web Age Solutions Inc. 24

Part 14 - Summary You have successfully installed the software for this course! If you have any question please contact us by email at support@webagesolutions.com From US and Canada call: 1-877-812-8887 ext. 26 International call: 416-406-3994 ext. 26 Web Age Solutions Inc. 25