Hello All,
I follow the cPanel instruction docs How to Install a Node.js Application | cPanel & WHM Documentation
Can anyone help me, I have installed nodejs (ea-nodejs10). and try to test some node application.
It works/runs when I only run the code on the terminal
"/opt/cpanel/ea-nodejs10/bin/node app.js"
but when I close the terminal the NODE application does not run.
To run the Node App automatically, follow the instruction given on cPanel docs
"export PATH=/opt/cpanel/ea-nodejs10/bin/:$PATH"
and add it my .bashrc file: but my node does not work. Also include Application Manager to show the Node path.
HOW SHALL I RUN MY NODE Automatically, SO that I can use my node app in my hosting server????
Thanks and Regards
@Ahoque
I follow the cPanel instruction docs How to Install a Node.js Application | cPanel & WHM Documentation
Can anyone help me, I have installed nodejs (ea-nodejs10). and try to test some node application.
It works/runs when I only run the code on the terminal
"/opt/cpanel/ea-nodejs10/bin/node app.js"
but when I close the terminal the NODE application does not run.
To run the Node App automatically, follow the instruction given on cPanel docs
"export PATH=/opt/cpanel/ea-nodejs10/bin/:$PATH"
and add it my .bashrc file: but my node does not work. Also include Application Manager to show the Node path.
HOW SHALL I RUN MY NODE Automatically, SO that I can use my node app in my hosting server????
Thanks and Regards
@Ahoque
Last edited by a moderator: