Author Topic: Installation Node.js and integration  (Read 44847 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: Installation Node.js and integration
« Reply #15 on: October 30, 2017, 04:43:07 PM »
Yep, i made this work too. At first there is an error in path !#/home/<username>/bin/node it should be #!/home/<username>/bin/node
Next thing is apache config.  Open file httpd.conf
and check that module mod_cgid.so is loaded.
restart apache after you changed settings.
If doesnt work then check other cgi settings in apache config.
And the last advice, folder sessions should be chmod 777 or node script will output errors
If you need any advice, then just email me or post here your httpd.conf and error_log

Offline
***
Re: Installation Node.js and integration
« Reply #16 on: October 31, 2017, 05:06:36 AM »
Or you can use this simple addon: https://github.com/born2host/CWP-Node.js
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
*
Re: Installation Node.js and integration
« Reply #17 on: February 05, 2018, 07:24:47 PM »
That plugin will just install Node on the server though, it won't allow each shared hosting account to host different node.js packages.

It's easy to manually install node.js. That isn't the issue. It's integration with a shared hosting setup like the one provided by CWP that is the challenge.

Node.js normally operates on a single port. What if you have 10 shared accounts, each with their own Node.js app? When the web server gets a request for that port, how does it know which account to direct it to?

Offline
*
Re: Installation Node.js and integration
« Reply #18 on: March 08, 2018, 06:13:58 PM »

Offline
*
Re: Installation Node.js and integration
« Reply #19 on: April 20, 2018, 05:07:00 PM »
hello, has someone managed to install node js for all the hostig accounts?
sorry for my English

Offline
*
Re: Installation Node.js and integration
« Reply #20 on: July 21, 2018, 12:14:05 AM »
No, I don't believe this has been accomplished yet.

But considering the popularity of Javascript, Node.js, and all the frameworks in the Node ecosystem (a HUGE percent of the software development world) this is a real glaring gap in CWP functionality.

This is something people need.