zoneminder/distros/redhat
Knniggett b4da026bdf Add fedora files to zoneminder source tree 2013-09-21 16:36:00 -05:00
..
README.CentOS Move redhat folder to a subfolder called distros 2013-09-15 16:33:09 -05:00
local_zoneminder.te Move redhat folder to a subfolder called distros 2013-09-15 16:33:09 -05:00
redalert.wav Move redhat folder to a subfolder called distros 2013-09-15 16:33:09 -05:00
zm-init Move redhat folder to a subfolder called distros 2013-09-15 16:33:09 -05:00
zm-logrotate_d Move redhat folder to a subfolder called distros 2013-09-15 16:33:09 -05:00
zoneminder-1.26.0-dbinstall.patch Move redhat folder to a subfolder called distros 2013-09-15 16:33:09 -05:00
zoneminder-1.26.0-defaults.patch Move redhat folder to a subfolder called distros 2013-09-15 16:33:09 -05:00
zoneminder-runlevel.patch Move redhat folder to a subfolder called distros 2013-09-15 16:33:09 -05:00
zoneminder.1.26.el6.spec Move redhat folder to a subfolder called distros 2013-09-15 16:33:09 -05:00
zoneminder.conf Move redhat folder to a subfolder called distros 2013-09-15 16:33:09 -05:00

README.CentOS

================================================================================
				NEW INSTALLS
================================================================================

1. Unless you are already using MySQL server, you need to ensure that
   the server is confired to start during boot and properly secured
   by running:

     sudo service mysqld start
     /usr/bin/mysql_secure_installation
     sudo chkconfig mysqld on

2. Using the password for the root account set during the previous step, you
   will need to create the ZoneMinder database:

     mysql -uroot -p
	mysql> create database zm;
	mysql> grant select,insert,update,delete on zm.* to
               'zmuser'@localhost identified by 'zmpass';
	mysql> exit;
     mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
     mysqladmin -uroot -p reload

3. IMPORTANT: Edit /etc/php.ini and put in the appropriate timezone for
   date.timezone!

4. The ZoneMinder web interface is disabled by default, you will need
   to edit this file to enable it:

     /etc/httpd/conf.d/zoneminder.conf

   HINT: Most users will want to simply delete the line that says
   "Deny from all".

5. Configure the web server to start automatically:

     sudo chkconfig httpd on
     sudo service httpd start

6. This package has automatically configured and installed an SELinux policy
   called local_zoneminder. A copy of this policy is in the documentation
   folder.

7. Finally, you may start the ZoneMinder service:

     sudo service zoneminder start

   Then point your web browser to http://<machine name or ip>/zm

================================================================================
				UPGRADES
================================================================================

1. You will need to upgrade the ZoneMinder database as described in the
   manual. This command should be sufficient:

   sudo zmupdate.pl --user=root --pass=<mysql root pwd> --version=<from version>

   It is recommended to backup your database and then upgrade your tables
   to InnoDB when prompted.