Installing ZoneMinder 1.24.1 on Ubuntu 9.10
Monday, December 28th, 2009Using 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):
- 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
- I executed
sudo apt-get --purge autoremoveto clean all the additional packages - I installed libdirac0c2a and libdirac-dev
- I installed mysql using
sudo apt-get install mysql-client mysql-server - I installed apache using
sudo apt-get install apache2 - 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. - Executed
sudo apt-get install apache2-mpm-preforkto ensure it successfully restarted apache - Installed nullmailer using
sudo apt-get install nullmailerand went through the configuration, setting my smarthost appropriately - Installed the additional dependencies for zoneminder to ensure they all were successful using
sudo apt-get install ... - 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.



