Zoneminder/Installation

From r00tedvw.com wiki
Jump to: navigation, search

This was all done on ubuntu 14.04lts server

$sudo apt-get update -y && sudo apt-get upgrade -y
$sudo apt-get install -y apache2 mysql-server php5
$sudo apt-get install -y zoneminder
$sudo vi /etc/init.d/zoneminder
start() {
       echo -n "Starting $prog: "
       sleep 15  <<< Added
   zmfix -a
       $command start
$sudo ln -s /etc/zm/apache.conf /etc/apache2/conf-available/zoneminder.conf
$sudo ln -s /etc/apache2/conf-available/zoneminder.conf /etc/apache2/conf-enabled/zoneminder.conf
$sudo a2enmod cgi
$sudo service restart apache2
$sudo cd /usr/src && wget http://www.andywilcock.com/code/cambozola/cambozola-latest.tar.gz
$sudo tar -xzvf cambozola-latest.tar.gz
$sudo cp /usr/src/cambozola-0.935/dist/cambozola.jar /usr/share/zoneminder
$sudo vi /etc/apache2/sites-available/zoneminder.conf
#next 6 lines should be in zoneminder.conf
<VirtualHost *:80>
	ServerAdmin [email protected]
	DocumentRoot /usr/share/zoneminder
	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

$sudo a2dissite 000-default
$sudo a2ensite zoneminder
$sudo service apache2 restart
for a single bt878 chipset pci card (capable of up to 720x480)
$sudo vi /etc/modprobe.d/bttv.conf
#next 2 lines should be in bttv.conf
alias char-major-81-0 bttv
options bttv card=77 pll=1

for a quad saa7130hl chipset pci card (capable of up to 640x480)
$ sudo vi /etc/modprobe.d/saa7130hl.conf
#next 2 lines should be in saa7130hl.conf
alias char-major-81 saa7134
options saa7134 gbuffers=16 card=1,1,1,1

$sudo reboot


trying to get video from cameras

$sudo usermod -a -G video www-data
Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Ubuntu
Oracle Linux
AWS
Windows
OpenVPN
Grafana
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
MetaSploit
Zoneminder
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
Toolbox