If you want to enable NodeJS Selector then you have to install multiple packages for the user.
You can follow below steps to install it:
For CloudLinux 6:
You can follow below steps to install it:
- First you have to install Alt-NodeJS package with below command:
Code:
yum groupinstall alt-nodejs
- After that you have to install other modules too like: Pushion Passenger module, LVE Utils, and LVE Manager with below command:
Code:
yum install lvemanager lve-utils ea-apache24-alt-mod-passenger
- CageFS is is used to enhance security so we have to install it to:
Code:
yum install cagefs
- To reflect changes you have to restart cpanel service.
Code:
systemctl restart cpanel
Code:
service cpanel restart
- At last you have to enable this feature from WHM too under LVE Manager so that all the cpanel users can get the NodeJS selector.
Code:
$ /usr/local/cpanel/bin/rebuild_phpconf --current
DEFAULT PHP: ea-php71
ea-php71 SAPI: cgi
ea-php72 SAPI: cgi
ea-php73 SAPI: cgi
ea-php74 SAPI: ds