+ 4

Is it possible to run Node.js on shared hosting?

5th Jan 2017, 8:00 AM
Retul
Retul - avatar
2 Respuestas
+ 2
yes it is possible. but depend on your access to the shared hosting if you have ssh access follow this step: 1. log in to your account by ssh 2. get the node.js tar.xz binaries wget https://nodejs.org/dist/v6.9.4/node-v6.9.4-linux-x64.tar.xz 3. extract it tar xvf node-v6.9.4-linux-x64.tar.xz 4. install node and npm mkdir ~/bin cp node-v6.9.4-linux-x64/bin/node ~/bin cd ~/bin ln -s ../node-v6.9.4-linux-x64/lib/node_modules/npm/bin/npm-cli.js npm 5. test the installation node --version npm --version and if you don't have access to ssh you can do this step by php script to run shell command on php you can use exct() function and do the above 👆🏻 steps (no need to step 1) like <?php exec('wget https://nodejs.org/dist/v6.9.4/node-v6.9.4-linux-x64.tar.xz') ?>
9th Jan 2017, 8:53 PM
Ali Malek
+ 1
Definitely, it is possible to run/install node js on a shared hosting server. Actually, I know and have personal experience with their hosting services. One who helps you with the inefficient installation of node js in a few steps with a robustly functional hosting environment. DomainRacer is the most trustworthy and well-known hosting provider offering cheap node js shared hosting plans. With the following few steps: Step 1: Get Shell Access Step 2: Check for Previous Installs Step 3: Install Node Version Step 4: Installing Node.js Step 5: Check NPM Global Step 6: Add to Bash Startup I am strongly suggesting DomainRacer’s name for the easiest and affordable node js installation for your website on a shared server. For more detailed information. Please visit here: https://www.domainracer.info/best-nodejs-web-hosting-server/
9th Dec 2021, 12:24 PM
Asa Doll
Asa Doll - avatar