Zoneminder/Installation

From r00tedvw.com wiki
Revision as of 02:08, 9 June 2014 by R00t (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 webmaster@localhost
	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
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
2020 Election
Volkswagen
Covid
NCDMV
Toolbox