This article is a little more up to date with the changes made by hostmonster/bluehost, and to make the instructions a little more clear, and simplified.
1. Download The MongoDB binaries-you want to downloadLegacy-staticProduction release. hosmonster/bluehost run Linux 64-bit
Download
I found it easier to extract the files on my desktop then upload them to a directory called MongoDB IN THE ROOT home folder.
Your MongoDB folder shocould look like the below when all done:
/Home/{username}/MongoDB
/Home/{username}/MongoDB/bin
/Home/{username}/MongoDB/Data
/Home/{username}/MongoDB/include
/Home/{username}/MongoDB/lib64
Replace {username} with your login name for hostmonster/bluehost. You can find your username in the cpanel on the left where it says username.
2. In your ssh/Shell console-now we need to make the MongoDB command usable so do the following commands
Nano. bashrc
3. Now Add the following line to the bottom of the file.
Export Path =/home/{username}/MongoDB/bin: $ path
Replace {username} with your login name for hostmonster/bluehost. You can find your username in the cpanel on the left where it says username.
4. Save
CTRL + xConfirm save by typing 'y' then enter, then enter again to confirm the file.
5. Lets verify that everything is working. You will need to reload bash
Source. bashrc
6. Make the MongoDB binaries executable
Chmod 744-r MongoDB/bin
7. Verify MongoDB is running
Mongod-version
8. Start the MongoDB
Screen mongod-dbpath/home/{username}/MongoDB/data-quiet
Now safe to exit your shell Console
Replace {username} with your login name for hostmonster/bluehost. You can find your username in the cpanel on the left where it says username.
They only let you run a program for 5 minutes before killing it, so it's fairly useless to install MongoDB unless you have a dedicated IP.