FC5 how to

Support and queries relating to all previous versions of ZoneMinder
Locked
mg
Posts: 6
Joined: Wed May 10, 2006 2:19 pm

FC5 how to

Post by mg »

Here is how I installed zoneminder on FC5. There might be a few typos:

1. Install fedora fc5
- include development and server
- include mysql and support for mysql in php

2. Disable SELinux

3. rpm's
- yum install pcre
- yum install pcre-devel
- yum install ffmpeg
- yum install ffmpeg-devel
- yum install mysql-devel
- yum install perl-DateManip
- yum install perl-Archive-Tar
- yum install perl-Archive-Zip
- yum install perl-MIME-Lite
- yum install perl-MIME-tools
- yum install perl-MIME-Entity

4. Download zoneminder and unzip

5. ./configure --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin

6. Start mysqld
/sbin/service mysqld start

7. Install database
mysql mysql < db/zm_create.sql

8. Create user and assign permissions (select,insert,update,delete)
user: zmuser
password: zmpass
database: zm

9. Make permissions effective
- mysqladmin reload

10. Start apache
/sbin/service httpd start

11. Make zoneminder run as a service
- copy zm from the scripts folder to /etc/rc.d/init.d (cp scripts/zm /etc/rc.d/init.d/zm)
- /sbin/chkconfig --add zm
- make sure that the script has correct permission (chmod 755 /etc/rc.d/init.d/zm).

12. Start Zoneminder
/sbin/service zm start

Now Zoneminder should be ready: Check it out here: http://localhost/
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

great work mate thanks
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Locked