From the raspbian image
Install webiopi:
sudo apt-get update
sudo apt-get -y install python3-dev
wget http://webiopi.googlecode.com/files/WebIOPi-0.5.1.tar.gz
tar xvzf WebIOPi-0.5.1.tar.gz
cd WebIOPi-0.5.1
sudo ./setup.sh
Install subversion - This is needed to allow you to get the source for mjpg-streamer
sudo apt-get -y install subversion
Install mjpg-streamer
cd
svn co https://mjpg-streamer.svn.sourceforge.net/svnroot/mjpg-streamer mjpg-streamer
sudo apt-get -y install libjpeg8-dev imagemagick
cd mjpg-streamer/mjpg-streamer
make
move to usr/lib/mjpg-streamer
sudo cp -R /home/pi/mjpg-streamer/ /usr/lib/
Install Apache2 - This is used to help serve the webpage. To install simply:
sudo apt-get -y install apache2
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.