How to install Zoneminder in ubuntu 14.04 64 bit or Mint 17

ZoneMinder ,the top Linux video camera security and surveillance solution.
(1) Install Zoneminder 1.26.5-1ubuntu3 using Ubuntu software center
(2) Open the terminal and input
sudo mkdir /etc/apache2/conf.d
sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf

sudo ln -s /etc/zm/apache.conf /etc/apache2/conf-enabled/zoneminder.conf
sudo a2enmod cgi

sudo adduser www-data video
sudo /etc/init.d/apache2 force-reload

or

sudo service apache2 restart

(5)Download cambozola and extract to home folder.Then the extracted folder name may be look like cambozola-0.935 .Then open the terminal and input
sudo cp cambozola-0.935/dist/cambozola.jar /usr/share/zoneminder
now open the web browser and goto address localhost/zm
Now you can add your monitor (using the web cam or any  other ip cam)  and configure zm as you wish.

In the zoneminder  menu press options go to Images and tick  the box (optional) cambozola java streaming client installed (?)”

for the cage at PATH_CAMBOZOLA fill  cambozola.jar

stop zoneminder and restart using the menu at the top of web page

If you want to get e-mail alerts you can use postfix .refer –
Configure Postfix to Use Gmail SMTP on Ubuntu

—————————————————————————————————————————————————————

How to solve “—–Invalid skin ‘ZM_SKIN_DEFAULT’——-” error message in Zonemonder 1.28

When the zoneminder is updated to version 1.28 you may get above error message.

To solve the error  you will  need to update your config.

Open the terminal and input   zmupdate.pl -f

Then restart Zm

Please ref:- This site

Advertisements

23 thoughts on “How to install Zoneminder in ubuntu 14.04 64 bit or Mint 17

  1. Thank you for the write up. This did not work for me. Ran into these errors

    sudo ln -s /etc/zm/apache.conf/etc/apache2/conf-enabled/zoneminder.conf
    ln: failed to create symbolic link ‘./zoneminder.conf’: File exists

    sudo adduser www-data video/etc/init.d/apache2 force-reload
    adduser: Only one or two names allowed.

    cp cambozola-0.935/dist/cambozola.jar /usr/share/zoneminder
    cp: cannot create regular file ‘/usr/share/zoneminder/cambozola.jar’: Permission denied

    Best of luck to you. I will keep trying.

    • First you will have to uninstall zoneminder completely .for this you can use synaptics package manager.The extracted cambozola-0.935 folder should be in the home directory. On the terminal use sudo cp cambozola-0.935/dist/cambozola.jar /usr/share/zoneminder
      Thank you DB

    • Following commands are wrong.
      sudo adduser www-data video/etc/init.d/apache2 force-reload (Please follow the instructions in the web site)
      cp cambozola-0.935/dist/cambozola.jar /usr/share/zoneminder (It should be sudo cp cambozola-0.935/dist/cambozola.jar /usr/share/zoneminder)

  2. Worked perfectly for me, thanks a lot, I’m new to Linux and need straightforward instructions like these. I’ve been considering Linux for some time, end of support for XP, and the cost involved in updating various programmes to use Windows 7 has forced my hand. I’m glad it did, I’ve installed Mint 17 Cinnamon, and in two days I’ve almost completed the changeover.

  3. I am able to successfully get all the way to the end and then when I try the localhost/zm it always returns an error, even when using the proper ip address for my ubuntu machine. I am able to successfully get the apache2 webpage to come up when entering the machines ip address.

  4. Add new monitor button just doesn’t respond or do anything when I click on it. Most buttons similarly don’t function. Any idea what’s going on with that? (Ubuntu 14.04 64bit following instructions as above)

  5. Thanks for your excellent tutorial. However, I am having some problems with the cambozola install. I am new to Linux so please bear with me on this. If I read your instructions properly, I need to extract the cambozola.jar into the /usr/share/zoneminder folder. Do the two extracted folders need to go into one folder named “cambozola-0.935”?

    • Hi JDFranks
      First extract the downloaded cambozola-0.935 file to your home directory ( After extracting, if you go to home directory you can see a folder called cambozola-0.935.Then open this folder Now you can see the file cambozola.jar. This file has to be copied to the zoneminder folder at /usr/share/ )
      Then open the terminal and enter
      sudo cp cambozola-0.935/dist/cambozola.jar /usr/share/zoneminder

      The above commend copies the combozola.jar to zoneminder folder at /usr/share/

    • Hi John
      It seems the Zoneminder has not installed properly.What is your operating system?Is it Linux Mint or Ubuntu?Use your software centre or synaptic package manager to install Zoneminder.

  6. Hi BK. I install ZM exactly as you show above, Ubuntu 14.04 32Bit, and it install perfectly every time. I can see my cameras on the local network. I opened port 80 on my router and it is verified open. When I access ZM from the internet, outside my local LAN, I get this Apache page telling me that Apache is working and to replace the Apache page. But what do I replace it with?? Any help would be appreciated. Here is the page I get :

    Ubuntu Logo Apache2 Ubuntu Default Page
    It works!

    This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems. It is based on the equivalent page on Debian, from which the Ubuntu Apache packaging is derived. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server.

    If you are a normal user of this web site and don’t know what this page is about, this probably means that the site is currently unavailable due to maintenance. If the problem persists, please contact the site’s administrator.
    Configuration Overview

    Ubuntu’s Apache2 default configuration is different from the upstream default configuration, and split into several files optimized for interaction with Ubuntu tools. The configuration system is fully documented in /usr/share/doc/apache2/README.Debian.gz. Refer to this for the full documentation. Documentation for the web server itself can be found by accessing the manual if the apache2-doc package was installed on this server.

    The configuration layout for an Apache2 web server installation on Ubuntu systems is as follows:

    /etc/apache2/
    |– apache2.conf
    | `– ports.conf
    |– mods-enabled
    | |– *.load
    | `– *.conf
    |– conf-enabled
    | `– *.conf
    |– sites-enabled
    | `– *.conf

    apache2.conf is the main configuration file. It puts the pieces together by including all remaining configuration files when starting up the web server.
    ports.conf is always included from the main configuration file. It is used to determine the listening ports for incoming connections, and this file can be customized anytime.
    Configuration files in the mods-enabled/, conf-enabled/ and sites-enabled/ directories contain particular configuration snippets which manage modules, global configuration fragments, or virtual host configurations, respectively.
    They are activated by symlinking available configuration files from their respective *-available/ counterparts. These should be managed by using our helpers a2enmod, a2dismod, a2ensite, a2dissite, and a2enconf, a2disconf . See their respective man pages for detailed information.
    The binary is called apache2. Due to the use of environment variables, in the default configuration, apache2 needs to be started/stopped with /etc/init.d/apache2 or apache2ctl. Calling /usr/bin/apache2 directly will not work with the default configuration.

    Document Roots

    By default, Ubuntu does not allow access through the web browser to any file apart of those located in /var/www, public_html directories (when enabled) and /usr/share (for web applications). If your site is using a web document root located elsewhere (such as in /srv) you may need to whitelist your document root directory in /etc/apache2/apache2.conf.

    The default Ubuntu document root is /var/www/html. You can make your own virtual hosts under /var/www. This is different to previous releases which provides better security out of the box.
    Reporting Problems

    Please use the ubuntu-bug tool to report bugs in the Apache2 package with Ubuntu. However, check existing bug reports before reporting a new bug.

    Please report bugs specific to modules (such as PHP and others) to respective packages, not to the web server itself.

    Valid XHTML 1.0 Transitional

    I am really at a loss here so any help would be appreciated.

  7. I followed the tutorial until it talked about installing cambozola, I wasn’t sure what it was so i looked it up, it is a plugin for streaming the camera, the reason i didn’t want to install it is because the last time i installed ZM, i used some other way to get the stream and I wanted to stick with what worked before, i have ZM showing up in the web browser and now need to add my camera (IP type) I know I installed some utility to check the video stream and can’t remember what that was, think it was gucview, something like that… what steps do i need to install an IP camera at this point?

    Thanks,

    • Hi James
      The IP cameras should be in the same local network.If you run nmap -A -T4 192.168.1.* on the terminal .you can find the IP addresses of the cameras.Then you can use these IP addresses in the ZM monitor.The following web sites may be useful for you .
      Example1
      Example2
      Example3
      In some Chinese IP cameras It is little bit difficult to find streaming address .In such cases you can install free Xeoma software to find the streaming address.Xeoma is a software similar to zoneminder. Xeoma automatically connects with the IP cameras in the local network.The streaming address in Xeoma can be used in zoneminder.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s