Installing Node.js for webserver use

Discussion in 'Installation/Configuration' started by AaronT, Jun 28, 2022.

  1. AaronT

    AaronT New Member

    Is there a link to a guide for a best practices installation & implementation of Node.js on a ispconfig3 webserver? Everything I've found is 4-5 years old.

    Or is it simply "use the cli, install node & npm, enable php mod_proxy, & proxy_http modules, manage ports for clients. Ispconfig3 won't have an issue."

    e.g. This guide is good enough:
    https://forum.howtoforge.com/threads/nodejs-with-ispconfig3.72402/#post-389409

    Edit* wrong link
     
    Last edited: Jun 28, 2022
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Install it and make sure node is in the Jailkit chrooted app sections under System > Server config > server1.example.com > Jailkit. That should work iirc...
     
  3. AaronT

    AaronT New Member

    Thank you!
     
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I was wondering whether this coould be a good addition to ISPConfig Autoinstaller?
     
  5. AaronT

    AaronT New Member

    https:// www. digitalocean.com /community /tutorials/ how-to-install-node-js-on-debian-10

    Follow up question. The recommended setup for security reasons is to create another user with sudo and install as them. Is this still correct for ISPCONFIG? It won't cause permission problems with jailkit or anything?
     
    Last edited by a moderator: Jul 5, 2022
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Each ISPConfig site already has its own user, so ISPConfig has this added security built-in by default. Creating another user makes no sense and would just break your setup.
     

Share This Page