How to Set Up for Node.js Software Development Training

  • google plus

In Brief...

Table of Contents

Part 1 - Minimum Software Requirements
Part 2 - Software Provided
Part 3 - Instructions
Part 4 - Installing JDK 7 Update 45
Part 5 - Verification of JDK 7 Update 45
Part 6 - Installing Node.js 4.0.0

Instructions

Part 1 - Minimum Software Requirements

  • Windows OS: Windows Vista / 7.
  • Latest Google Chrome browser
  • Java 7 *
  • MongoDB *
  • NodeJS 4.0.0 *

* - indicates software provided as part of the courseware.

Part 2 - Software Provided

You will receive the following file:

  • WA2452.ZIP

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 3 - Instructions

 

1. Login using the account that the students will use during the course and make sure the account that you are using to install the software has administrative privileges and is the same account that the student will use during the course.

2. Extract the ZIP file to C:\

3. Review that the following folders were created:

  • C:\LabFiles\
  • C:\Software\
  • C:\Software\mongodb\
  • C:\Software\NodeJS4.0.0
  • C:\Software\NotepadPlus

4. Review that the following files were created:

  • C:\Software\jdk-7u45-windows-i586.exe

 

5. Download and install the latest Google Chrome browser from:

https://www.google.com/intl/en/chrome/browser

6. Create a folder on the local file-system named c:\RW\

7.Create a shortcut to the Widows Command Prompt onto the desktop.

8. Double click the Command Prompt shortcut to open the Command Prompt window.

9. In the Command Prompt window, click the black icon in the top left-hand corner and select Properties from the context menu.

The Properties dialog opens.

10. In the Properties dialog, check the Quick Edit Mode check box.

Note: This option allows a user to copy and paste text in the command prompt using mouse actions instead of an edit menu.

11. Click the Layout tab.

12. In the Layout tab, enter 100 for Width property (for both Width text windows in the Layout tab window), 9999 for the Height of the Screen Buffer Size property, and 45 for the Height property of the Window Size property.

13. Click OK to close the Properties dialog.

14. If an Apply Properties to Shortcut dialog appears, select Modify shortcut that started this window and click OK.

 

Part 4 - Installing JDK 7 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-7u45-windows-i586.exe

3. Press the Next button.

4. Leave the defaults for installation location and options, and press the Next button.

 

The installation will begin installing files.


5. The Destination Folder will appear; leave the default folder and click Next.

 

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 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~1\Java\jdk1.7.0_45

 

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 Environment variables section - step 2.

C:\Progra~1\Java\jdk1.7.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 5 - Verification of JDK 7 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 as shown below.

 

3. Enter the following command:

java -version

Make sure you see the response shown below.

 

4. Enter the following command:


javac

Verify that you get the options to run the Java compiler:

5. Close the command prompt window and any extra windows that are open.

6. From Start, expand All Programs > Java then right click Check for Updates and select Run as Administrator.

7. Select the Update tab.

8. Un-check the Check for updates automatically check box.

9. A popup will open, click Do not check.

10. Make sure the box is not checked and click OK.


11. Click OK to close the Java Control Panel. Java has been installed.

Part 6 - Installing Node.js 4.0.0

1. Open C:\Software\NodeJS4.0.0

2. Double click node-v4.0.0-x86.msi to begin installation.

3. Click Next.


4. Check I accept the terms... and click Next.

5. Accept default destination folder and click Next.

6. Accept default package selection. Click Next.


7. Click Install.

8. A popup window may open asking to install the software. Click Yes to continue.


9. Click Finish.

Installation verification of Node.js 4.0.0

 

1. Open a command prompt window.

2. Enter the command node --version

3. Make sure that you see v4.0.0 as the output.


4. Close all.

 

Discuss