Install nvm or n and then use one of those to install Node 6.
I am using NodeBB with redis because mongo was being stupid, so now when i do the ./nodebb setup, here is what pops up:
[root@localhost nodebb]# ./nodebb setup
17/2 20:21:34  - info: NodeBB Setup Triggered via Command Line
Welcome to NodeBB!
This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed.
Press enter to accept the default setting (shown in brackets).
17/2 20:21:35  - info: Now configuring redis database:
Configuration Saved OK
Populating database with default configs, if not already set...
String.prototype.rtrimis deprecated as of NodeBB v1.5; use
@privateryan that's a deprecation warning which you can safely ignore.
@pitaj but after that, there are no new messages.. what should I do? When i start the nodebb i cannot access it through the link.
Is there an existing
config.jsonfile? If so
./nodebb setupmight not show anything else. You can delete that file to restart, but you might also need to either choose a different database number for redis to start fresh.
Are you starting NodeBB with
./nodebb start? Try running
./nodebb start -lwhich will show the log and display any errors that occur.
@pitaj i had setup the database wrong, all fixed