Fedora Core 15

Forum for questions and support relating to the 1.24.x releases only.
Locked
darkpaw
Posts: 166
Joined: Thu Apr 26, 2007 2:35 am

Fedora Core 15

Post by darkpaw »

Can somebody please update the wiki/docs on how to get this running in Fedora Core 15. This has changed a fair amount from previous Fedora releases. Core 16 (currently in Alpha) will likely be the same setup as 15, as well.
me2
Posts: 6
Joined: Mon Sep 19, 2011 11:57 pm

Re: Fedora Core 15

Post by me2 »

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 ?
me2
Posts: 6
Joined: Mon Sep 19, 2011 11:57 pm

Re: Fedora Core 15

Post by me2 »

http://www.zoneminder.com/wiki/index.ph ... rom_Source

The section "Installation from RPM" says to
=======================================================================
Then run zminit to create the database (see discussion page if the command is not found)
/usr/lib/zm/bin/zminit
=======================================================================

However,

# rpm -ql zoneminder | grep init
/etc/rc.d/init.d/zoneminder
/usr/share/zoneminder/www/skins/classic/includes/init.php
/usr/share/zoneminder/www/skins/mobile/includes/init.php
/usr/share/zoneminder/www/skins/xml/includes/init.php

So ?????
FWIW,

# yum list zoneminder
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
zoneminder.i686 1.24.3-4.20110324svn3310.fc15

# uname -a
Linux zoneminder.localdomain 2.6.40.4-5.fc15.i686 #1 SMP Tue Aug 30 14:54:41 UTC 2011 i686 i686 i386 GNU/Linux
darkpaw
Posts: 166
Joined: Thu Apr 26, 2007 2:35 am

Re: Fedora Core 15

Post by darkpaw »

THe zm_create should have setup the database, in Fedora (earlier versions, anyways). Did you reload mysql (mysqladmin reload) after creating the database?

I got too frustrated with FC15 and just reinstalled FC14. Which is a bummer, because 14 won't be supported once 16 is released and 17 goes Alpha.
momcilosystem
Posts: 12
Joined: Fri Mar 18, 2011 2:22 pm

Re: Fedora Core 15

Post by momcilosystem »

Did you ever make zoneminder work on F15?
Locked