Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

NodeJS support cPanel?

Discussion in 'General Discussion' started by Sametto Chan, Aug 11, 2017.

Tags:
  1. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    Node.js

    Does it support EasyApach 4 or something?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,167
    Likes Received:
    1,933
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi @Sametto Chan,

    There's no support for using Node.js with cPanel & WHM at this time, however I encourage you to vote for the following feature request:

    nodejs Hosting

    The top comment provides an update on the status of this request.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks for your feature link! I'm not asked to that question. It is just my friend want to ask a question about this. I'll enter for English Grammarly better.
    1. How long will available Node JS on cPanel/WHM?

    2. Will be available to EasyApache 4 right?
     
  4. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    611
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    You can install node from the EPEL Repository, I am using node in CentOS 7 with EA4

    Install Node from the EPEL Repository

    Code:
    sudo yum install epel-release
    Now that you have access to the EPEL repository, you can install Node.js using your regular yum commands:

    Code:
    sudo yum install nodejs
    Once again, you can check that the installation was successful by asking Node to return its version number:

    Code:
    node --version
    Many people will also want access to npm to manage their Node packages. You can also get this from EPEL by typing:

    Code:
    sudo yum install npm
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Sametto Chan likes this.
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,513
    Likes Received:
    424
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    @Nirjonadda,

    "sudo yum install epel-release"

    "sudo yum install nodejs"
    "node --version"

    "sudo yum install npm"
    Just installed, then? :)
     
  7. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    94
    Likes Received:
    14
    Trophy Points:
    8
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    You can use a nginx plugin for cPanel that support nodeJS
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    1. Nginx with cPanel is not supported on .htaccess right?

    2. Is it free or paid?
     
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,167
    Likes Received:
    1,933
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    1. There's no time frame on official support for Node.js. I encourage you to subscribe to the feature request for updates on it's progress.

    2. Yes, it would work with EasyApache 4.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Sametto Chan likes this.
  10. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks for being so understanding questions! I'll keep getting know this. Just I can't wait :)
     
    cPanelMichael likes this.
  11. kiti

    kiti Member

    Joined:
    Sep 16, 2015
    Messages:
    17
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    france
    cPanel Access Level:
    Root Administrator
    sneader likes this.
  12. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    998
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Can you run Apache & nginx together on the same server?

    And, will nginx automatically load .js files, without the user needing to run "node script.js" somehow?
     
  13. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,167
    Likes Received:
    1,933
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @SoftDux,

    I can't speak to the functionality of any third-party Nginx plugins that include NodeJS support. Until the existing feature request is implemented, my advice is to use CloudLinux with the NodeJS Selector feature that was released a couple of months ago:

    Node.js Selector is now in production!

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    Did she say soon release late v72 version or later version?
     
  15. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,167
    Likes Received:
    1,933
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    There's no specific time frame to offer on the inclusion of support for NodeJS with cPanel & WHM at this time (the feature request only notes that it definitely won't exist before 72). We'll update that feature request with new information as it becomes available.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    998
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Can one run supervisor on in order to automatically reload any changed code?
     
    #16 SoftDux, Jul 9, 2018
    Last edited: Jul 9, 2018
  17. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,167
    Likes Received:
    1,933
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice