Is it possible to install node.js in IIS7?

Is there a way to install node.js in IIS7?

I have very little experience with node.js, but the idea of ​​writing server-side JavaScript intrigued me.

+6
source share
3 answers

Yes, you can do it ... but it will still not be as simple as you might hope. :-)

The github wiki for iisnode has many advantages:

  • Process management.
  • Next to other types of content
  • Scalability on multi-core servers
  • Integrated debugging
  • Automatic update
  • Access logs over HTTP
  • Minimal changes in node.js application code
  • Integrated Management Experience
  • Other

The first stable build on node.js for windows was released earlier this month. http://blogs.msdn.com/b/interoperability/archive/2011/11/07/first-stable-build-of-nodejs-on-windows-released.aspx

More information about hosting IIS on Windows can be found here here and here .


Prerequisites for Use

  • for windows
  • IIS 7.x with IIS Management Tools
  • URL rewrite module for IIS
  • Latest node.js build for Windows
    • You can also do this manually by downloading node.exe from nodejs.org and save to% programfiles% \ nodejs on a 32-bit system or %programfiles(x86)%\nodejs on a 64-bit system
  • Visual C ++ 2010 redistributable package for x86 or x64 (skip this if you are installing Visual Studio; on x64 you need to install both x86 and x64 if you intend to use IIS Express / WebMatrix)

Installation for IIS 7.x

  • Install iisnode for IIS 7.x: x86 or x64 - select the bit corresponding to your system
  • To configure selections from the administration command line, call %programfiles%\iisnode\setupsamples.bat
  • Go to http://localhost/node

Installation for IIS Express / WebMatrix

+10
source

Source: https://habr.com/ru/post/901846/


All Articles