Installing ZoneMinder 1.24.1 on Ubuntu 9.10

Rick Wargo

Using a freshly installed version of Ubuntu 9.10, I was unable to successfully install zoneminder using the apt-get install zoneminder command. Instead I was getting messages such as:

Unknown database 'zm' at /usr/share/perl5/ZoneMinder/Config.pm

To resolve I did the following (although I am not certain all the following steps were necessary):

  1. Purged apache2, mysql-client, mysql-server, mysql-core, and zoneminder. I did this using the Synaptic package manager but it just as easily be done using apt-get purge
  2. I executed sudo apt-get --purge autoremove to clean all the additional packages
  3. I installed libdirac0c2a and libdirac-dev
  4. I installed mysql using sudo apt-get install mysql-client mysql-server
  5. I installed apache using sudo apt-get install apache2
  6. I removed the startup warning apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName by adding ServerName to the apache2.conf file in /etc/apache2.
  7. Executed sudo apt-get install apache2-mpm-prefork to ensure it successfully restarted apache
  8. Installed nullmailer using sudo apt-get install nullmailer and went through the configuration, setting my smarthost appropriately
  9. Installed the additional dependencies for zoneminder to ensure they all were successful using sudo apt-get install ...
  10. Finally, I installed zoneminder successfully using sudo apt-get install zoneminder

I believe the tricks were to install the nullmailer separately and also purge the existing apache, mysql, and zoneminder installations prior to the install.

Share and Enjoy:
  • Facebook
  • Twitter
  • LinkedIn
  • StumbleUpon
  • del.icio.us
  • Google Buzz
  • Yahoo! Buzz
  • Digg
  • email

Leave a Reply

stop spam with honeypot!