Update README.CentOS
parent
b7e69f0104
commit
a3dc2b50d3
|
@ -21,10 +21,14 @@
|
|||
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
|
||||
3. If you have chosen to change the zoneminder mysql credentials to something
|
||||
other than zmuser/zmpass then you must now edit /etc/zm.conf. Change
|
||||
ZM_DB_USER and ZM_DB_PASS to the values you created in step 2.
|
||||
|
||||
4. 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
|
||||
5. The ZoneMinder web interface is disabled by default, you will need
|
||||
to edit this file to enable it:
|
||||
|
||||
/etc/httpd/conf.d/zoneminder.conf
|
||||
|
@ -32,16 +36,16 @@
|
|||
HINT: Most users will want to simply delete the line that says
|
||||
"Deny from all".
|
||||
|
||||
5. Configure the web server to start automatically:
|
||||
6. 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
|
||||
7. 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:
|
||||
8. Finally, you may start the ZoneMinder service:
|
||||
|
||||
sudo service zoneminder start
|
||||
|
||||
|
@ -57,11 +61,15 @@
|
|||
grant alter on zm.* to
|
||||
'zmuser'@localhost identified by 'zmpass';
|
||||
|
||||
Since this is an upgrade, the assumption is that the zmuser account already
|
||||
has select, insert, update, and delete permission.
|
||||
Since this is an upgrade, the assumption is that the zmuser account exists
|
||||
and already has select, insert, update, and delete permission.
|
||||
|
||||
2. You will need to upgrade the ZoneMinder database as described in the manual.
|
||||
Only if the previous step was succesful, may you run zmupdate like so:
|
||||
2. If you have previsouly changed the zoneminder mysql credentials to something
|
||||
other than zmuser/zmpass then you must now edit /etc/zm.conf. Change
|
||||
ZM_DB_USER and ZM_DB_PASS to their appropriate values.
|
||||
|
||||
3. You will need to upgrade the ZoneMinder database as described in the manual.
|
||||
Only if step 1 was succesfully applied, may you run zmupdate like so:
|
||||
|
||||
sudo zmupdate.pl --version=<from version>
|
||||
|
||||
|
|
Loading…
Reference in New Issue