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

Similar documents
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.

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

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

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

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

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

WA1278 Introduction to Java using Eclipse. 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.

WA2009 Java EE 6 Programming - WebLogic 12c - Eclipse. Classroom Setup Guide. Web Age Solutions Inc. Copyright 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.

WA2579 Technical Introduction to Microservices. 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.

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

WA2056 Building HTML5 Based Mobile Web Sites. 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.

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

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

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

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

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

WA2488 JavaScript Changes with ECMAScript 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.

WA2583 React JavaScript Programming. 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.

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

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

WA2402 Introduction to Responsive Web Development with HTML5, CSS3, JavaScript and jquery. 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.

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

WA1958 Mobile Software Design Patterns and Architecture Android Edition. 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.

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

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

WA1677 J2EE Application Development with Spring and Hibernate. Classroom Setup Guide. 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.

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

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

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

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

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

WA1973 IBM Business Process Manager 8.0 Programming Using IBM Integration Designer. 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.

WA1685 WebSphere Portal v6.1 Programming. Classroom Setup Guide. Web Age Solutions Inc. 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.

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

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

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

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

WA1561 WebSphere Application Server v6.1 Administration. 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.

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

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

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

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

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

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

WA1649 Java EE 5 Programming Using WebLogic 10. Classroom Setup Guide. Web Age Solutions Inc. Copyright 2011 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.

Setting up your Computer

WA1926 Introduction to Struts 2.x using RAD 7.5. 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

1) Use either Chrome of Firefox to access the VMware vsphere web Client. FireFox

Slide 1 CS 170 Java Programming 1 Duration: 00:00:49 Advance mode: Auto

Software Installation Guide

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

CIS 231 Windows 7 Install Lab #2

EUSurvey OSS Installation Guide

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

UNic Eclipse Mini Tutorial (Updated 06/09/2012) Prepared by Harald Gjermundrod

Appendix A: Courseware setup

CIS 231 Windows 10 Install Lab # 3

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

Touch Dynamic Quest II 7 - Tablet Staging Setup

Cisco Remote Expert Manager Agent s Workstation Setup Guide

XD10004: How to Install VMware ESX Server 3.5 on VMware Workstation 6.5 as a VM

Download and Installation Instructions. Eclipse Kepler Software for Windows

Silk Test 15.0 Silk4NET Web Edition. Installation Guide

DIGIOP ELEMENTS V8.7 NVR Software-only Installation Guide

Lab - Data Migration in Windows

OASIS Mobile Installation Guide

Accops HyWorks v3.0. Installation Guide

Mascot Insight Installation and setup guide

Silk Performance Manager Installation and Setup Help

Sample Spark Web-App. Overview. Prerequisites

1) Use either Chrome of Firefox to access the VMware vsphere web Client. FireFox

Composer Deployment Guide. Installation

Software Installation for CS121

QuickTest Professional 10

Table of Contents. Troubleshooting Guide for Home Users

MAC CHECKING MINDTAP SYSTEM REQUIREMENTS

Building a 64-bit CentOS 7 Workstation using Oracle Virtual Box

Signing In to WebEx Assistant, page 1

Digital Pack Tutorial - For Mac

Windows Me Navigating

VMware Plugin Installation for Windows 8.1 or newer

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

Transcription:

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

Table of Contents Part 1 - Minimum Hardware Requirements...3 Part 2 - Minimum Software Requirements...3 Part 3 - Software...4 Part 4 - Instructions...4 Part 5 - AWS keys...5 Part 6 - Privileges to Users...5 Part 7 - Puppet Lab VM Installation...9 Part 8 - LXC and Docker VM Installation...13 Part 9 - Installing JDK 8 Update 45...17 Part 10 - Verification of JDK 8 Update 45...22 Part 11 - Installing GIT...24 Part 12 - Install Maven 3.3.9...29 Part 13 - Setup Maven in Eclipse...30 Part 14 - Jenkins 2.89.3 Installation...31 Part 15 - Summary...36 2

Part 1 - Minimum Hardware Requirements 64-bit x86 CPU that supports hardware virtualization (Intel-VT or AMD-V). 10 GB RAM 40 GB Hard Disk Access to internet Part 2 - Minimum Software Requirements VMware Player ver. 6.0.5 or higher Windows 7 (Professional, Enterprise, or Ultimate) All of the following web browsers with the latest Java Plug-in: Chrome Firefox Internet Explorer 8 or above Adobe Acrobat Reader Zip extraction utility VMWare player JDK * Eclipse JEE Kepler SR1 * Jenkins * Apache Maven * GIT * PuTTY* * - indicates software provided as part of the courseware. 3

Part 3 - Software List of ZIP files required for this course and used in next steps on this document: WA2451_REL_3_0.ZIP VM_WA2451.ZIP 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 4 - Instructions 1. Extract all ZIP file directly to C:\ 2. Review that the following folders were created: C:\LabFiles\ C:\Software\apache-maven-3.3.9\ C:\Software\eclipse\ C:\VMs\learning-vmware\ C:\VMs\LabServer_C2 4

3. Review that the following files were created: C:\Software\Git-2.8.1-32-bit.exe C:\Software\jdk-8u45-windows-i586.exe C:\Software\jenkins-2.89.3-Windows\jenkins.msi C:\Software\putty.exe C:\Software\VMware-player-6.0.5-2443746.exe 4. Create the C:\Workspace folder. 5. Log in using an administrator user to install the software in the following steps. 6. Create a shortcut of C:\Software\putty.exe in the desktop. Part 5 - AWS keys This course requires AWS keys 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. Part 6 - Privileges to Users During the labs students will require privileges on several directories. They will need to be able to write, read, and modify files in these directories for the labs. Although the directions below are provided as an example, this may differ depending on Windows version. The important thing is to make sure students have full permissions on the folders below or they may not be able to accomplish some labs. C:\Software C:\LabFiles C:\Workspace 1. Create the user that the students will use during the class. 5

2. Give the student user account administrative rights. During the labs the student requires this to install software. 3. Open Windows Explorer. 4. Right click C:\Software and select Properties. 5. Click the Security tab. 6. Click Advanced. 7. Click Change Permissions. 6

8. Select the Authenticated Users entry and click Edit Note. If you don't have a domain in your environment the select Users instead Authenticated Users. 7

9. Check the Allow checkbox to the right of Full Control and click OK. 10. Select the checkbox for Replace all child permissions with inheritable permissions from this objects and then click OK. 11. A Windows Security dialog will open. Click Yes. 12. Wait until Windows finishes updating security. 13. Back in the Advanced Security Settings dialog, click OK. 14. Back in the Properties dialog, click OK. 15. Do the same steps to the C:\LabFiles folder. 16. Create a folder called C:\Workspace if its not already created. 17. Do the same steps to the C:\Workspace folder. 8

Part 7 - Puppet Lab VM Installation The Puppet Lab VM requires VMware Player ver. 6.0.5 or higher. 1. VMware setup file may was provided to you, check if this file was extracted in C:\Software\VMware-player-6.0.5-2443746.exe 2. You can download and install version 6.0.5 or newer from https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/6_0 3. Run the downloaded VMware Player setup program and accept all the defaults. You may be required to restart the computer. 4. When the installation of VMware Player is complete, run it. 5. If prompted to download a new version of VMware player decline the update. 6. Click Open a Virtual Machine. 7. Select the learn_puppet_centos-6.5.vmx file located under the C:\VMs\learningvmware folder. The learn_puppet_centos-6.5 will appear on the list of machines. This VM is the Lab server the students will be connecting to using an SSH client outside of this VM. There will be one Lab server per one student. 8. Click Edit virtual machine settings at the bottom of the VMWare Player 9

The Virtual Machine Settings screen opens with the Hardware tab opened by default 9. The Network Adapter can be configured for the Bridged or NAT connection options. As a rule of thumb, use NAT for the VM being installed locally on the physical student machine, use Bridged on remote machines. If these suggestions do not work, use the options that best suite your environment. 10. Click CD/DVD (IDE) Device 11. Uncheck the Connect at power on (or keep it clear if it was unchecked already) Device status 12. If Floppy is present (if it is not present, skip to the next numbered step), click Floppy Uncheck the Connect at power on (or keep it clear if it was unchecked already) 13. If Sound Card is present (if it is not present, skip to the next to the next numbered step), click Sound Card Uncheck the Connect at power on (or keep it clear if it was unchecked already) 10

14. If Printer is present (if it is not present, skip to the next numbered step), click Printer Uncheck the Connect at power on (or keep it clear if it was unchecked already) 15. Click OK at the bottom of the Virtual Machine Settings Screen to close it 16. Select the virtual machine and click Play virtual machine. 17. If prompted with the dialog below, click "I moved it" 18. If asked to install the Tools, ignore it. Wait for the VM to boot. 11

Note: The students will not be interacting with the Lab server directly, instead, they will be using PuTTY or similar SSH client to connect to the Lab server. When the VM is booted and CentOS 6.5. of the Lab server is fully initialized, you will be presented with the Lab server's terminal window displaying the server's IP address as shown in the screenshot below. 19. Don't start entering commands in this terminal window (see the above Note). If information does not show up in the terminal window, click anywhere in the terminal and press Ctrl-Alt to regain your control over the mouse, it will refresh the terminal. 20. Write down the IP address listed in the terminal -- it is 192.168.89.128 in our case it should be communicated to one of the students assigned to this Lab server. 21. Leave the VM running. 22. Create a shortcut in the desktop of C:\VMs\learningvmware\learn_puppet_centos-6.5.vmx 12

This completes installation of the Puppet VM. Part 8 - LXC and Docker VM Installation This VM requires VMware Player ver. 6.0.5 or higher. 1. VMware setup file may was provided to you, check if this file was extracted in C:\Software\VMware-player-6.0.5-2443746.exe 2. You can download and install version 6.0.5 or newer from https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/6_0 3. Run the downloaded VMware Player setup program and accept all the defaults. You may be required to restart the computer. 4. When the installation of VMware Player is complete, run it. 5. If prompted to download a new version of VMware player decline the update. 6. Click Open a Virtual Machine. 7. Select the LabServer_C2.vmx file located under the C:\VMs\LabServer_C2 folder. The LabServer_C2 will appear on the list of machines. 8. Click Edit virtual machine settings at the bottom of the VMWare Player 13

The Virtual Machine Settings screen opens with the Hardware tab opened by default 9. The Network Adapter can be configured for the Bridged or NAT connection options. As a rule of thumb, use NAT for the VM being installed locally on the physical student machine, use Bridged on remote machines. If these suggestions do not work, use the options that best suite your environment. 10. Click CD/DVD (IDE) Device 11. Uncheck the Connect at power on (or keep it clear if it was unchecked already) Device status 12. If Floppy is present (if it is not present, skip to the next numbered step), click Floppy Uncheck the Connect at power on (or keep it clear if it was unchecked already) 13. If Sound Card is present (if it is not present, skip to the next to the next numbered step), click Sound Card Uncheck the Connect at power on (or keep it clear if it was unchecked already) 14. If Printer is present (if it is not present, skip to the next numbered step), click Printer 14

Uncheck the Connect at power on (or keep it clear if it was unchecked already) 15. Click OK at the bottom of the Virtual Machine Settings Screen to close it 16. Select the LabServer_C2 virtual machine and click Play virtual machine. 15

17. If prompted with the dialog below, click "I moved it" 18. If asked to install the Tools, ignore it. Wait for the VM to boot. When the VM is booted and the Lab server is fully initialized, you will be presented with the Lab server's desktop. 16

19. Leave the VM running. 20. Create a shortcut in the desktop to C:\VMs\LabServer_C2\LabServer_C2.vmx. This completes installation of the LXC and Docker VM. Part 9 - 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. 3. When the initial step of the setup appears, press the Next button. 17

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. 18

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. 19

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 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. 20

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 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 semicolon on the end: %JAVA_HOME%\bin; 21

14. Click OK. 15. Click OK to close the Environment Variables window. 16. Click OK to close the System Properties window. Part 10 - 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% 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. 22

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. 23

Part 11 - 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. 24

Note. You folder may be different. 5. Click Next. 6. Click Next. 25

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. 26

10. Click Next. 11. Leave defaults and click Install. 27

12. De-select View Release Notes, and then click Finish. 13. Close all open files. 28

Part 12 - Install Maven 3.3.9 The following steps are based on Windows 7, other Windows versions instructions may vary. 1. In the Windows Start Menu, right-click on the Computer link in the right-hand side of the Start panel, and then select Properties. 2. Click on Advanced system settings. 3. The system will display the System Properties dialog. Select the Advanced tab and click Environment Variables. 4. Verify the JAVA_HOME variable is set to C:\Progra~1\Java\jdk1.8.0_45 or similar path. Note: Your path could be different. 5. In the 'System Variables' panel, locate the entry for 'Path' and double-click on it. 6. Add the following to the end of the Variable Value field (including the semi-colon) 29

;C:\Software\apache-maven-3.3.9\bin 7. Click OK on the variable editor dialog. 8. Click OK on the Environment Variables dialog. 9. Click OK in the System Properties dialog. 10. Open a command prompt window (in the start menu, click All Programs --> Accessories --> DOS Prompt. 11. In the command window, type: mvn -version 12. You should see output similar to: Part 13 - Setup Maven in Eclipse 1. Use Windows Explorer to navigate to C:\Software\eclipse, and then double-click on 'eclipse.exe' to start up the IDE. 2. You may see a security dialog. If so, un-check the box for Always ask before opening this file and then click Run. 3. Change the workspace to C:\Workspace and click OK. 30

4. Eclipse will start launching. 5. Once started, close Eclipse. 6. Close all. Part 14 - 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. 31

4. On the Destination Folder panel, leave the defaults and click Next. Your destination folder may be different. 5. On the Ready to Install... panel, click Install. 6. Windows may show a security dialog. If it does, click Yes. 32

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. 33

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. 34

16. In the Create First Admin User screen. Enter the following fields: Username: Password: Confirm Password: Full name: E-mail address: wasadmin wasadmin wasadmin 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. 35

19. You will see that Jenkins is ready. Click Start using Jenkins. 20. Jenkins will open. 21. Jenkins installation is complete. Close the browser. 22. Close all open windows. Make sure you left the two VM's running using the student user. Part 15 - 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 36