https://github.com/andriy-bilynskyy/secure-cam
https://github.com/andriy-bilynskyy/secure-cam
camera-preview linux raspberry-pi rtp-streaming youtube
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andriy-bilynskyy/secure-cam
- Owner: andriy-bilynskyy
- License: gpl-3.0
- Created: 2018-08-25T19:14:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-01T08:57:32.000Z (almost 8 years ago)
- Last Synced: 2025-10-04T09:00:03.517Z (9 months ago)
- Topics: camera-preview, linux, raspberry-pi, rtp-streaming, youtube
- Language: C
- Size: 197 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# secure-cam
### NGINX
sudo apt-get install nginx
sudo apt-get install php5-fpm
sudo nano /etc/nginx/sites-enabled/default
index index.php index.html index.htm;
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
include snippets/fastcgi-php.conf;
# With php5-cgi alone:
# fastcgi_pass 127.0.0.1:9000;
# With php5-fpm:
fastcgi_pass unix:/var/run/php5-fpm.sock;
}
sudo /etc/init.d/nginx reload
sudo /etc/init.d/nginx start
### Allow start/stop service from php
sudo visudo
add line www-data ALL = NOPASSWD: /usr/sbin/service you-stream_serv stop, /usr/sbin/service you-stream_serv start
sudo visudo -c