I too am trying to install ZM on F15.
I am trying to use the precompiled ZM rpm via yum.
I am using the Centos instructions here:
http://www.zoneminder.com/wiki/index.php/CentOS
Thus far I have done the following
# yum -y install mysql mysql-server mysql-devel php php-gd php-mysql httpd gcc \
pcre-devel gd mod_ssl glib2-devel gcc-c++ ntp gnutls-devel ImageMagick
# yum -y install libjpeg-devel perl-Archive-Tar perl-MIME-Lite perl-MIME-tools \
perl-Date-Manip perl-LWP-UserAgent-Determined
# yum -y install perl-PHP-Serialization perl-Device-SerialPort perl-Archive-Zip perl-Sys-Mmap \
perl-Module-Load subversion git yasm
I will be installing zm from source and thus I probably didn't need all those packages, specifically the devel packages with the headers to compile against.
I installed them anyways.
# yum install zoneminder
# yum install ffmpeg
# systemctl start httpd.service
# systemctl start mysqld.service
# systemctl start ntpd.service
# systemctl enable ntpd.service
# systemctl enable mysqld.service
mysqld.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig mysqld on
# systemctl enable httpd.service
httpd.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig httpd on
# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.5.14 MySQL Community Server (GPL)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> SET PASSWORD FOR root@localhost=PASSWORD('xxx');
Query OK, 0 rows affected (0.00 sec)
mysql> create database zm;
Query OK, 1 row affected (0.00 sec)
mysql> CREATE USER 'zm_user'@'localhost' IDENTIFIED BY 'xxx';
Query OK, 0 rows affected (0.00 sec)
mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE on zm.* to zm_user@localhost
-> ;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
==================================================================
The next step is supposed to be:
Import the tables into the zm database
cd /root/ZoneMinder-1.25.0
mysql -u root -p zm < db/zm_create.sql
Being that I didn't compile ZM, I didn't download the source and so I don't know where zm source is or where I should do this.
I'll look into downloading zm devel and copying the zm_create.sql to the directory that I am going to store the data in.
I wonder what options the precompiled zm is built with ?