$ sudo apt update
$ sudo apt install subversion libjpeg-dev imagemagick
$ cd /path/to/raspi-usbcam-monitor
$ svn co http://svn.code.sf.net/p/mjpg-streamer/code/mjpg-streamer
$ cd mjpg-streamer
$ make
$ cd /path/to/raspi-usbcam-monitor
$ npm install
$ node index.js