apt-get install ssh curl motion ffmpeg v4l-utils -y reboot Install the python 2.7 and pip2: (enter as separate lines, do not copy/paste as a group) apt-get install ...
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install software-properties-common libxslt1-dev libcurl3 libgeoip-dev python -y; rm install.py; wget ...