-
Notifications
You must be signed in to change notification settings - Fork 15
Windows NodeJS
Cooper Filby edited this page Oct 9, 2017
·
2 revisions
- Download Node.js from NodeJS Download
- Follow the instructions
- Navigate to
C:\Program Files\
and copy the folder callednodejs
and paste it intoC:\Program Files (x86)
This will avoid the 32-bit/64-bit confusion.
Make sure .NET 3.5 and 4.x are installed and started.
- Open
Server Manager
- Go to
Start
,All Programs
,Administrative Tools
- Select
Server Manager
- Go to
- Install IIS if not already installed.
- Enable .NET 3.5.1 in the
Add Features Wizard
- In the
Server Manager
, right click onFeatures
and selectAdd Features
- Check .NET Framework 3.5.1
- Click
Add Required Features
in theAdd Features Wizard
dialog, if it appears - Click
Next
- Click
Install
- When the installation is complete, click
Close
- In the
Note: You can disable IE Enhanced Security Configuration by doing the following:
- Open
Server Manager
- Under Security Information, on the right, click on
Configure IE ESC
- Set the settings for Administrators to
Off
- Click
OK
- Go to IISNode Installation
- Scroll down until you see
Installing for IIS 7.x/8.x
and click onx64
to download the msi - Accept and follow instructions
- Make sure you have
Default Web Site
in your IIS- If not, create it from IIS by right clicking on the
Site>Create a new site
and follow this instructions
- If not, create it from IIS by right clicking on the
- From the administrative command prompt run:
c:\>cd "Program Files\iisnode"
c:\Program Files\iisnode>setupsamples.bat
- Upon running that and pressing
Enter
where asked, the following similar output should be seen:
Press ENTER to continue or Ctrl-C to terminate.
Press any key to continue . . .
Ensuring IIS_IUSRS group has full permissions for “C:\Program Files\iisnode\www”
…
processed file: C:\Program Files\iisnode\www
Successfully processed 1 files; Failed processing 0 files
…success
Ensuring the “Default Web Site/node” is removed if it exists…
ERROR ( message:Must use exact identifier for APP object with verb DELETE. )
…success
Creating IIS site “Default Web Site/node” with node.js samples…
APP object “Default Web Site/node” added
VDIR object “Default Web Site/node” added
…success
INSTALLATION SUCCESSFUL. Check out the samples at http://localhost/node.
Press any key to continue . . .
C:\Program Files\iisnode>
- Now go back to IIS, you should see that there is a new website called
node
which has been added. - Go to your browser and type
http://localhost/node/
, you should see the following:
hosting node.js applications in IIS since 2011
samples demonstrating basic features of hosting node.js applicatons in IIS 7.x
...
- Go to download link
- Click on
Install this extension
- Run the installer, click
Install
, thenI Accept
- Click
Finish
thenExit
With IIS Node installed, now you can build a Windows runnable version of SparkEd with Demeteorizer.