If you want to use MongoDB instead of Redis install it from http://www.mongodb.org/downloads and remove 'redis-server' from the above command. [MongoDB-Setup](https://github.com/designcreateplay/NodeBB/wiki/Installing-NodeBB-With-MongoDB)
**If your package manager only installed a version of Node.js that is less than 0.8 (e.g. Ubuntu 12.10, 13.04):**
Initiate the setup script by running the app with the `--setup` flag:
..code:: bash
$ ./nodebb setup
The default settings are for a local server running on the default port, with a redis store on the same machine/port.
Lastly, we run the forum.
..code:: bash
$ ./nodebb start
NodeBB can also be started with helper programs, such as `supervisor` and `forever`. [Take a look at the options here](https://github.com/designcreateplay/NodeBB/wiki/How-to-run-NodeBB).
1.`URL of this installation` is either your public ip address from your ssh `Login` or your domain name pointing to that ip address.
*Example:*`http://0.0.0.0` or `http://example.org`
1.`Port number of your NodeBB` is the port needed to access your site:
**Note:** If you do not proxy your port with something like nginx then port 80 is recommended for production.
1. If you used the above steps to setup your redis-server then use the default redis settings.
1. Start NodeBB process:
*Run NodeBB manually:*
**Note:** This should not be used for production.
$ node app
1. Visit your app!
*Example:* With a port of 4567: `http://0.0.0.0:4567` or `http://example.org:4567`
**Note:** With port 80 the `:80` does not need to be entered.
**Note:** If these instructions are unclear or if you run into trouble, please let us know by [filing an issue](https://github.com/designcreateplay/NodeBB/issues).
## Upgrading NodeBB
**Note:** Detailed upgrade instructions are listed in [Upgrading NodeBB](https://github.com/designcreateplay/NodeBB/wiki/Upgrading-NodeBB).
The current Ubuntu guide is not completely compatible with Debian and there are some specificities and especially the NodeJS installation, and how to get latest Redis.
## Requirements
NodeBB requires these software to be installed :
* Node.js at least 0.10 and greater
* Redis, version 2.6 or greater
* cURL installed, just do `sudo apt-get install curl` in order to install it
## Node.js installation
Debian 7 and Debian 6 and older doesn't have `nodejs` packages included by default, but there are some solutions to install Node.js on your Debian distribution.
### Wheezy Backport :
This solution is **ONLY for Debian 7**, simply run the following **as root** :
Now we are going to install all dependencies for NodeBB via NPM :
$ cd /path/to/nodebb/install/location/nodebb (or if you are on your install location directory run : cd nodebb)
$ npm install
Install NodeBB by running the app with `--setup` flag :
..code:: bash
$ ./nodebb setup
1.`URL of this installation` is either your public ip address or your domain name pointing to that ip address.
*Example:*`http://0.0.0.0` or `http://example.org`
2.`Port number of your NodeBB` is the port needed to access your site:
**Note:** If you do not proxy your port with something like nginx then port 80 is recommended for production.
3. If you used the above steps to setup your redis-server then use the default redis settings.
And after all.. let's run the NodeBB forum
..code:: bash
$ ./nodebb start
**Note:** If you NodeBB or your server crash, your NodeBB instance will not reboot (snap), this is why you should take a look at the other way to start your NodeBB instance with helper programs such as `supervisor` and `forever`, just [take a look here](https://github.com/designcreateplay/NodeBB/wiki/How-to-run-NodeBB) it's simple as a click !
## Extras, tips and Advice
You should secure your NodeBB installation, [take a look here](https://github.com/designcreateplay/NodeBB#securing-nodebb).
You should use Nginx in order to reverse proxy your NodeBB installation on the port 80, [take a look here](https://github.com/designcreateplay/NodeBB/wiki/Configuring-nginx-as-a-proxy-to-NodeBB)