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

WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

WA2583 React JavaScriptProgramming

Classroom Setup Guide

Web Age Solutions Inc.

1

Page 2: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

Table of ContentsPart 1 - Minimum Hardware Requirements ...................................................................3Part 2 - Minimum Software Requirements ....................................................................3Part 3 - Software Provided..............................................................................................4Part 4 - Important Ghosting or Imaging Information......................................................4Part 5 - Instructions.........................................................................................................4Part 6 - Privileges to Users..............................................................................................5Part 7 - Nginx 1.4.3 ........................................................................................................9Part 8 - Installing Node.js 10.16.0.................................................................................10Part 9 - Installing Visual Studio Code...........................................................................11Part 10 - MongoDB 3.0.6..............................................................................................19Part 11 - Summary.........................................................................................................20

2

Page 3: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

Part 1 - Minimum Hardware Requirements

● CPU to meet the minimum requirements of the operating system being used

● 3GB RAM minimum, 4 GB + recommended

● 10 GB in the hard disk

● Internet connectivity.

Part 2 - Minimum Software Requirements

● One of the following Windows versions:

○ Windows 7 (Professional, Enterprise, or Ultimate)

○ Windows Server 2008

○ Windows 8

○ Windows 10

● Internet Explorer 10 or higher

● One of the following web browsers:

○ Latest Firefox

○ Latest Chrome

● Zip extraction utility

● nginx 1.4.3*

● Notepad+ 6.5 *

● Visual Studio Code

● MongoDB 3.06 *

● NodeJS 10.16.0 *

● curl *

* - indicates software provided as part of the courseware.

3

Page 4: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

Part 3 - Software Provided

List of ZIP files required for this course and used in next steps on this document:

WA2583_REL_3_0.ZIP

Send an email to [email protected] 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 - Important Ghosting or Imaging Information

The software for this course can be ghosted.

Part 5 - Instructions

__1. Make sure the account that you are using to install the software has administrative privileges.

__2. Make sure you have internet connectivity.

__3. Extract the .ZIP file to C:\

__4. Review that the following folders were created:

• C:\LabFiles

• C:\Software\mongodb\

• C:\Software\nginx-1.4.3

• C:\Software\NotepadPlus\

4

Page 5: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

__5. Review that the following files were created:

• C:\Software\node-v10.16.0-x64.msi

• C:\Software\curl.exe

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. Open Windows Explorer.

__2. Right click C:\Software and select Properties.

__3. Click the Security tab.

__4. Click Advanced.

5

Page 6: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

__5. Click Change Permissions.

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

6

Page 7: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

__7. Check the Allow checkbox to the right of Full Control and click OK.

__8. Select the checkbox for Replace all child permissions with inheritable permissions from this objects and then click OK.

7

Page 8: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

__9. A Windows Security dialog will open. Click Yes.

__10. Wait until Windows finishes updating security.

__11. Back in the Advanced Security Settings dialog, click OK.

__12. Back in the Properties dialog, click OK.

__13. Do the same steps to the C:\LabFiles folder.

__14. Create a folder called C:\Workspace if its not already created.

__15. Do the same steps to the C:\Workspace folder.

8

Page 9: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

Part 7 - Nginx 1.4.3

__1. Disable any service using Port 80 to be able to run Nginx, if you have IIS or other service running, stop and disable them.

__2. Switch to the user that the students will use during the course.

__3. Open the Command Prompt window and type in the following command at the prompt and press ENTER (execute the command):

cd C:\Software\nginx-1.4.3

This command will change directory to where the nginx web server resides (represented by the nginx.exe file).

__4. Start the nginx web server by executing the following command:

start nginx

This command will launch the nginx web server that starts listening on port 80. Allow access if the Firewall window appear.

__5. If you are prompted for the admin password, enter it to allow the software to run.

__6. Open Google Chrome browser and navigate to http://localhost

You should see the nginx welcome page.

__7. Close Chrome browser.

__8. In the Command Prompt window where you started the nginx web server, type in the following command at the prompt and press ENTER:

9

Page 10: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

nginx -s stop

This command will stop the web server.

__9. Switch back to the admin user.

Nginx is installed.

Part 8 - Installing Node.js 10.16.0

__1. Open C:\Software\

__2. Double click on node-v10.16.0-x64.msi to begin installation.

__3. In the Welcome page, click Next.

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

__5. Accept default destination folder and click Next.

__6. Accept default Custom Setup selection and click Next.

__7. Click Install.

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

__9. Click Finish.

10

Page 11: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

Installation verification of Node.js

__1. Open a command prompt window.

__2. Enter the command:

node --version

__3. Make sure that you see 10.16.0 as the output.

__4. Close all.

Part 9 - Installing Visual Studio Code

__1. Download the latest VScode for Windows (stable build installer) from the following site:

https://code.visualstudio.com/

11

Page 12: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

__2. Run the downloaded installer to begin the installation.

__3. Click Next on the welcome screen.

__4. Check I accept the agreement... and click Next.

12

Page 13: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

__5. Leave the default installation location and click Next.

13

Page 14: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

__6. Leave the default start menu folder and click Next.

__7. Put a check mark on all items under Additional Tasks and click Next.

14

Page 15: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

__8. Now click Install.

15

Page 16: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

__9. Give it some time to install.

__10. When it is complete, uncheck Launch Visual Studio Code and click Finish.

16

Page 17: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

Installation verification of VScode.

__1. Launch Visual Studio Code using the shortcut on the desktop.

__2. Verify Visual Studio Code opens and that you see the Welcome screen.

17

Page 18: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

__3. You may see a message to enable Java(tm) Plug-In, if so click Enable.

__4. You may see a message regarding Git, if so click Don't show again.

__5. Close all windows.

18

Page 19: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

Part 10 - MongoDB 3.0.6

__1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the command)

mkdir c:\data\db

__2. Enter the following command:

cd C:\Software\mongodb\bin

__3. Verify mongodb version

mongod -version

Make sure your version matches version 3.0.6.

__4. Start MongoDB server by running:

mongod

__5. If a Windows Security Alert open, click Allow Access.

You will see the "waiting for connections on port 27017" message.

__6. End MongoDB by hitting Control+C.

__7. Close all.

19

Page 20: WA2583 React JavaScript Programming€¦ · Part 10 - MongoDB 3.0.6 __1. Open a command prompt window and type in the following command at the prompt and press ENTER (execute the

Part 11 - Summary

You have successfully installed the software for this course!

If you have any question please contact us by email at [email protected]

From US and Canada call: 1-877-812-8887 ext. 26

International call: 416-406-3994 ext. 26

Congratulations. The installation for this course has been completed.

20