Skip to content

wataugasudo/PiCamServer

Repository files navigation

PiCamServer

Putting a RasPi Camera on the Internet of Things!

Instructions:

  1. Set up Pi normally (Raspbian)
  2. Install Apache Webserver & PHP
  3. Download Zip & Unzip or Git Clone into /var/www/html/PiCamServer
  4. Make folder "pics" with 775 (777?) permissions
  5. Set $password in passHandler.php to your desired password
  6. Move our "index.html" into /var/www/html
  7. Start Webserver
  8. Start PHP
  9. Go to IP of the pi in browser of computer on the same network

Implement for named localhost (ex. "picam" vs "192.168.0.236") https://blog.gaya.ninja/articles/faking-a-top-level-domain-name-for-local-development-with-apache/

-flash img to sd card -expand filesystem


-get latest jessie -overclock to "high" -remove unnecessary programs -configure to liking -install apache2 & php5 (see raspberrypi.org doc) -remove the /var/www/html folder -git clone into /var/www/PiCamServer -git fetch & git pull -create folder "/var/www/PiCamServer/pics" with 777 (-R) permissions -in /etc/apache2/sites-available/000-default.conf : -change documentRoot to /var/www/PiCamServer -after documentroot, put:

DirectoryIndex index.php index.html
<Directory />
	Options FollowSymLinks
	AllowOverride None
</Directory>
<Directory /var/www/PiCamServer>
	Options Indexes FollowSymLinks MultiViews
	AllowOverride All
	Order allow,deny
	allow from all
</Directory>

-change ip in vidstream to your pi???

About

V1: Putting a RasPi Camera on the Internet of Things!

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors