Skip to content

Instantly share code, notes, and snippets.

View InstaRobot's full-sized avatar
:electron:
I don't know ...

Vitaliy Podolskiy InstaRobot

:electron:
I don't know ...
View GitHub Profile
@InstaRobot
InstaRobot / FreeBSD_node_monit.md
Created November 11, 2016 02:21 — forked from fdelbos/FreeBSD_node_monit.md
FreeBSD 10 Nodejs setup with nginx, mongo and monit

FreeBSD 10 Nodejs setup with nginx, mongodb, redis and monit

This my receipe for installing a complete nodejs server on FreeBSD 10. The parameters used in this configuration are for a very small private server that I use for demo purpose only, so for a production server, you should somehow set the limits in pair with your ressources.

I use monit so I don't have to write rc scripts for node and it should take care of process lifecycle management for me. Alternatives exists such as supervisord or circus.

Installing mongodb