Page 1 of 1

FC5 how to

Posted: Tue May 16, 2006 11:42 am
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/

Posted: Tue May 16, 2006 7:10 pm
by jameswilson
great work mate thanks