Installing zoneminder on Ubuntu/Debian Linux Howto



sudo apt-get install zoneminder
[sudo] password for one:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libuser-perl python-evince kdebase-apps kwrite unixodbc
  libgnomeprint2.2-data python-soappy vgabios python-metacity hddtemp
  python-mediaprofiles libwww-search-perl libfile-slurp-perl python-bugbuddy
  python-totem-plparser python-fpconst libgnomeprint2.2-0 libgnomeprintui2.2-0
  libgnomeprintui2.2-common acroread-common python-gtop libgnomecups1.0-1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  javascript-common libarchive-zip-perl libconvert-binhex-perl
  libdevice-serialport-perl libemail-date-format-perl libio-stringy-perl
  libjs-mootools libmime-lite-perl libmime-tools-perl libmime-types-perl
  libphp-serialization-perl php5-mysql wwwconfig-common
Suggested packages:
  postgresql-client apache apache-ssl
The following NEW packages will be installed:
  javascript-common libarchive-zip-perl libconvert-binhex-perl
  libdevice-serialport-perl libemail-date-format-perl libio-stringy-perl
  libjs-mootools libmime-lite-perl libmime-tools-perl libmime-types-perl
  libphp-serialization-perl php5-mysql wwwconfig-common zoneminder
0 upgraded, 14 newly installed, 0 to remove and 3 not upgraded.
Need to get 2,474kB of archives.
After this operation, 10.1MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://old-releases.ubuntu.com/ubuntu/ maverick/universe wwwconfig-common all 0.2.1 [22.8kB]
Get:2 http://old-releases.ubuntu.com/ubuntu/ maverick/universe javascript-common all 7 [3,854B]
Get:3 http://old-releases.ubuntu.com/ubuntu/ maverick/main libarchive-zip-perl all 1.30-2 [95.9kB]
Get:4 http://old-releases.ubuntu.com/ubuntu/ maverick/main libconvert-binhex-perl all 1.119+pristine-3 [30.9kB]
Get:5 http://old-releases.ubuntu.com/ubuntu/ maverick/universe libemail-date-format-perl all 1.002-1 [6,354B]
Get:6 http://old-releases.ubuntu.com/ubuntu/ maverick/main libio-stringy-perl all 2.110-4 [94.7kB]
Get:7 http://old-releases.ubuntu.com/ubuntu/ maverick/universe libjs-mootools all 1.2.4.0~debian1-1 [248kB]
Get:8 http://old-releases.ubuntu.com/ubuntu/ maverick/universe libmime-lite-perl all 3.027-1 [76.6kB]
Get:9 http://old-releases.ubuntu.com/ubuntu/ maverick/main libmime-tools-perl all 5.427-2 [238kB]
Get:10 http://old-releases.ubuntu.com/ubuntu/ maverick/main libmime-types-perl all 1.30-1 [33.9kB]
Get:11 http://old-releases.ubuntu.com/ubuntu/ maverick/universe libphp-serialization-perl all 0.34-1 [11.1kB]
Get:12 http://old-releases.ubuntu.com/ubuntu/ maverick-updates/main php5-mysql i386 5.3.3-1ubuntu9.10 [65.7kB]
Get:13 http://old-releases.ubuntu.com/ubuntu/ maverick/universe libdevice-serialport-perl i386 1.04-2 [79.4kB]
Get:14 http://old-releases.ubuntu.com/ubuntu/ maverick/universe zoneminder i386 1.24.2-7ubuntu1 [1,466kB]
Fetched 2,474kB in 3s (664kB/s)     
Selecting previously deselected package wwwconfig-common.
(Reading database ... 339187 files and directories currently installed.)
Unpacking wwwconfig-common (from .../wwwconfig-common_0.2.1_all.deb) ...
Selecting previously deselected package javascript-common.
Unpacking javascript-common (from .../javascript-common_7_all.deb) ...
Selecting previously deselected package libarchive-zip-perl.
Unpacking libarchive-zip-perl (from .../libarchive-zip-perl_1.30-2_all.deb) ...
Selecting previously deselected package libconvert-binhex-perl.
Unpacking libconvert-binhex-perl (from .../libconvert-binhex-perl_1.119+pristine-3_all.deb) ...
Selecting previously deselected package libemail-date-format-perl.
Unpacking libemail-date-format-perl (from .../libemail-date-format-perl_1.002-1_all.deb) ...
Selecting previously deselected package libio-stringy-perl.
Unpacking libio-stringy-perl (from .../libio-stringy-perl_2.110-4_all.deb) ...
Selecting previously deselected package libjs-mootools.
Unpacking libjs-mootools (from .../libjs-mootools_1.2.4.0~debian1-1_all.deb) ...
Selecting previously deselected package libmime-lite-perl.
Unpacking libmime-lite-perl (from .../libmime-lite-perl_3.027-1_all.deb) ...
Selecting previously deselected package libmime-tools-perl.
Unpacking libmime-tools-perl (from .../libmime-tools-perl_5.427-2_all.deb) ...
Selecting previously deselected package libmime-types-perl.
Unpacking libmime-types-perl (from .../libmime-types-perl_1.30-1_all.deb) ...
Selecting previously deselected package libphp-serialization-perl.
Unpacking libphp-serialization-perl (from .../libphp-serialization-perl_0.34-1_all.deb) ...
Selecting previously deselected package php5-mysql.
Unpacking php5-mysql (from .../php5-mysql_5.3.3-1ubuntu9.10_i386.deb) ...
Selecting previously deselected package libdevice-serialport-perl.
Unpacking libdevice-serialport-perl (from .../libdevice-serialport-perl_1.04-2_i386.deb) ...
Selecting previously deselected package zoneminder.
Unpacking zoneminder (from .../zoneminder_1.24.2-7ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 added doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for libapache2-mod-php5 ...
 * Reloading web server config apache2                                   [ OK ]
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up wwwconfig-common (0.2.1) ...
Setting up javascript-common (7) ...
Setting up libarchive-zip-perl (1.30-2) ...
Setting up libconvert-binhex-perl (1.119+pristine-3) ...
Setting up libemail-date-format-perl (1.002-1) ...
Setting up libio-stringy-perl (2.110-4) ...
Setting up libjs-mootools (1.2.4.0~debian1-1) ...
Setting up libmime-lite-perl (3.027-1) ...
Setting up libmime-tools-perl (5.427-2) ...
Setting up libmime-types-perl (1.30-1) ...
Setting up libphp-serialization-perl (0.34-1) ...
Setting up php5-mysql (5.3.3-1ubuntu9.10) ...
Setting up libdevice-serialport-perl (1.04-2) ...
Setting up zoneminder (1.24.2-7ubuntu1) ...
Starting ZoneMinder: success

userme@AM2:~$ ln -s /etc/zm/
apache.conf  zm.conf     
userme@AM2:~$ ln -s /etc/zm/apache.conf /etc/apache2/
apache2.conf     httpd.conf       mods-enabled/    sites-enabled/
conf.d/          magic            ports.conf      
envvars          mods-available/  sites-available/
userme@AM2:~$ ln -s /etc/zm/apache.conf /etc/apache2/conf.d/
charset                  localized-error-pages    security
javascript-common.conf   other-vhosts-access-log 
userme@AM2:~$ ln -s /etc/zm/apache.conf /etc/apache2/conf.d/^C
userme@AM2:~$ sudo su
root@AM2:/home/one# cd /etc/apache2/
root@AM2:/etc/apache2# ls
apache2.conf  envvars     magic           mods-enabled  sites-available
conf.d        httpd.conf  mods-available  ports.conf    sites-enabled
root@AM2:/etc/apache2# cd conf.d/
root@AM2:/etc/apache2/conf.d# ls
charset                 localized-error-pages    security
javascript-common.conf  other-vhosts-access-log
root@AM2:/etc/apache2/conf.d# cd ..
root@AM2:/etc/apache2# mkdir conf-enabled
root@AM2:/etc/apache2# cp /etc/zm/apache.conf /etc/apache2/conf-enabled/zoneminder.conf
root@AM2:/etc/apache2# sudo adduser www-data video
Adding user `www-data' to group `video' ...
Adding user www-data to group video
Done.
root@AM2:/etc/apache2# sudo a2enmod cgi
Module cgi already enabled
root@AM2:/etc/apache2# /etc/init.d/zoneminder
Usage: /etc/init.d/zoneminder { start | stop | restart | status }
root@AM2:/etc/apache2# /etc/init.d/zoneminder restart
Stopping ZoneMinder: sudo service apache2 restart
success

Starting ZoneMinder: success

root@AM2:/etc/apache2# sudo service apache2 restart
 * Restarting web server apache2                                                 ... waiting                                                             [ OK ]
root@AM2:/etc/apache2# vi
apache2.conf     envvars          mods-available/  sites-available/
conf.d/          httpd.conf       mods-enabled/    sites-enabled/
conf-enabled/    magic            ports.conf      
root@AM2:/etc/apache2# vi httpd.conf
root@AM2:/etc/apache2# ls -al
total 96
drwxr-xr-x   8 root root  4096 2015-10-02 22:00 .
drwxr-xr-x 192 root root 12288 2015-10-02 21:59 ..
-rw-r--r--   1 root root  7994 2011-11-02 19:36 apache2.conf
drwxr-xr-x   2 root root  4096 2015-10-02 21:53 conf.d
drwxr-xr-x   2 root root  4096 2015-10-02 21:59 conf-enabled
-rw-r--r--   1 root root  1169 2011-11-02 19:36 envvars
-rw-r--r--   1 root root     0 2010-09-08 21:44 httpd.conf
-rw-r--r--   1 root root 31063 2010-04-13 12:27 magic
drwxr-xr-x   2 root root 12288 2012-02-20 09:30 mods-available
drwxr-xr-x   2 root root  4096 2010-12-05 14:36 mods-enabled
-rw-r--r--   1 root root   750 2010-04-13 12:27 ports.conf
drwxr-xr-x   2 root root  4096 2012-08-29 12:08 sites-available
drwxr-xr-x   2 root root  4096 2010-09-08 21:44 sites-enabled
root@AM2:/etc/apache2# vi /var/www/
dbinfo.txt      html            speedtest.zip  
Desktop/        index.html-     .ssh/          
.gnome-desktop/ index.php       test.php       
root@AM2:/etc/apache2# vi /var/www/html
apache2.conf     envvars          mods-available/  sites-available/
conf.d/          httpd.conf       mods-enabled/    sites-enabled/
conf-enabled/    magic            ports.conf      
root@AM2:/etc/apache2# vi /var/www/
dbinfo.txt      html            speedtest.zip  
Desktop/        index.html-     .ssh/          
.gnome-desktop/ index.php       test.php       
root@AM2:/etc/apache2# vi /var/www/index.php
root@AM2:/etc/apache2# ls
apache2.conf  envvars     mods-available  sites-available
conf.d        httpd.conf  mods-enabled    sites-enabled
conf-enabled  magic       ports.conf


root@AM2:/etc/apache2# cat conf-enabled/zoneminder.conf >> ^C
root@AM2:/etc/apache2# vi apache2.conf
root@AM2:/etc/apache2# cat conf-enabled/zoneminder.conf >> apache2.conf root@AM2:/etc/apache2# sudo service apache2 restar
 * Usage: /etc/init.d/apache2 {start|stop|graceful-stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status}
root@AM2:/etc/apache2# sudo service apache2 restart
 * Restarting web server apache2                                                 ... waiting                                                             [ OK ]
root@AM2:/etc/apache2#
 


Tags:

installing, zoneminder, ubuntu, debian, linux, howto, sudo, apt, install, password, lists, dependency, packages, automatically, installed, libuser, perl, python, evince, kdebase, apps, kwrite, unixodbc, libgnomeprint, soappy, vgabios, metacity, hddtemp, mediaprofiles, libwww, libfile, slurp, bugbuddy, totem, plparser, fpconst, libgnomeprintui, acroread, gtop, libgnomecups, autoremove, javascript, libarchive, zip, libconvert, binhex, libdevice, serialport, libemail, format, libio, stringy, libjs, mootools, libmime, lite, libphp, serialization, php, mysql, wwwconfig, postgresql, apache, ssl, upgraded, newly, kb, archives, mb, additional, disk, http, releases, maverick, pristine, updates, fetched, selecting, previously, deselected, database, directories, currently, unpacking, common_, _all, deb, perl_, mootools_, mysql_, _i, zoneminder_, processing, triggers, db, registering, documents, scrollkeeper, libapache, mod, reloading, server, config, ok, ureadahead, reprofiled, reboot, userme, ln, etc, zm, conf, httpd, mods, enabled, sites, ports, envvars, charset, localized, vhosts, su, ls, mkdir, cp, adduser, www, adding, user, enmod, cgi, module, init, usage, restart, restarting, vi, drwxr, xr, rw, var, dbinfo, txt, html, speedtest, desktop, index, ssh, gnome, restar, graceful, reload, htcacheclean,

Latest Articles

  • FreePBX 17 How To Add a Trunk
  • Docker Container Onboot Policy - How to make sure a container is always running
  • FreePBX 17 How To Add Phones / Extensions and Register
  • Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. solution
  • Cisco How To Use a Third Party SIP Phone (eg. Avaya, 3CX)
  • Cisco Unified Communication Manager (CUCM) - How To Add Phones
  • pptp / pptpd not working in DD-WRT iptables / router
  • systemd-journald high memory usage solution
  • How to Install FreePBX 17 in Linux Debian Ubuntu Mint Guide
  • How To Install Cisco's CUCM (Cisco Unified Communication Manager) 12 Guide
  • Linux Ubuntu Redhat How To Extract Images from PDF
  • Linux and Windows Dual Boot Issue NIC Won't work After Booting Windows
  • Cisco CME How To Enable ACD hunt groups
  • How to install gns3 on Linux Ubuntu Mint
  • How to convert audio for Asterisk .wav format
  • Using Cisco CME Router with Asterisk as a dial-peer
  • Cisco CME How To Configure SIP Trunk VOIP
  • Virtualbox host Only Network Error Failed to save host network interface parameter - Cannot change gateway IP of host only network
  • Cisco CME and C7200 Router Testing and Learning Environment on Ubuntu 20+ Setup Tutorial Guide
  • Abusive IP ranges blacklist