Report this

What is the reason for this report?

How do I install NodeBB on Centos/Ubuntu?

Posted on November 24, 2015

Hello, I’ve been trying to install NodeBB on Centos/Ubuntu using tutorials I found. Even on NodeBB official site.

However, I’ve no luck yet. I’d appreciate if anyone can guide me installing it from scratch.

Is it because of wrong Node number? I’ve had many errors for example mmmagic cannot be installed and stuff. I have no idea



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@calvinalx

What guides have you tried to follow? Knowing which ones you’ve tried to use would at least give us a starting point so that we can better help you get things up and running.

Let me know what you’ve tried and I’ll help you to get things setup. I’d like to get a feel for where you’re running in to issues, otherwise, should you need to set things up again, you’re likely to have a repeat run-in with the same issues :-).

When it comes to Ubuntu and Debian, if you’re trying to use the package manager (i.e. apt-get) to do the NodeJS installation, you need to either source NodeJS direct (and manually compile it), or add a repository and run:

sudo apt-get update

before running:

sudo apt-get install -y nodejs

Specifically, nodejs should be the package you attempt to install (and not node). The reason for this is due to an existing package (i.e. node, which many tutorials reference as the installable package) having absolutely nothing to do with NodeJS, even in the slightest.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.