NanoPi 2 web streaming server

Damir
Hello friends!
I'm trying to connect a webcam (logitech C270) to Nanopi2.
Debian system
Please tell me how to do this, unfortunately using the motion failed.
Maybe something with drivers ???
PS. I'm from Russia, I know bad English

Damir
Configured motion package ....
There were problems with the variable names ....
Here is a working configuration file ...
http://forum.amperka.ru/attachments/motion-zip.5709/