Setting up NodeBB on Bluehost - no linux experience
-
Greetings, looking to get NodeBB setup on my BlueHost account.
Was looking at various install guides on: https://github.com/NodeBB/nodebb-english/tree/master/installing
Tried to mimic the commands that were spelled out there. I have zero Linux / Unix knowledge, at best I can follow steps but having a difficult time troubleshooting when they dont work.
Here is is how far I got
SSH access to the server
Ran git clone -b v0.6.x https://github.com/NodeBB/NodeBB.git
This created the nodebb directory and copied the files into itThis is where I got stuck.
I typed in npm install and get command not found
Any help is appreciated.
-
Try it for free on OpenShift Cloud and you'll understand how it works.
https://community.nodebb.org/topic/3964/trouble-installing-nodebb-on-openshift-paas/2Alternatively, try to install Node.js on Bluehost.
http://rcrisman.net/article/10/installing-nodejs-on-hostmonster-bluehost-accounts -
What OS is on the bluehost machine?
If some flavour of Debian (or Ubuntu), follow this guide.
As @nhl.pl pointed out, you don't have Node.js (and thus, npm) installed, so you'll want to run
$ sudo apt-get install git nodejs nodejs-legacy npm redis-server imagemagick build-essential
-
Julian this is what I get when I run cat /etc/proc/version:
Linux version 3.12.32.1415814620 (root@openvpn) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) ) #1 SMP Wed Nov 12 11:53:28 CST 2014nhl - thank you for the links
Started with installing git, had no trouble with the first part (changed the the git version with the latest one on kernel.org)
mkdir -m 755 git
cd git
wget http://kernel.org/pub/software/scm/git/git-1.7.1.1.tar.gz
gunzip git-1.7.1.1.tar.gz
tar -xf git-1.7.1.1.tar
cd git-1.7.1.1Had trouble when I got to here:
/configure —prefix=/home/{username}/git*
make && make install
Replace {username} with your login name for Hostmonster / Bluehost. You can find your username in the cPanel on the left where it says username.Was given an error message, couldnt figure out if I am trying to run a command to edit the configure file or what I was trying to do here.