Update README.Fedora

pull/200/head
Andy Bauer 2013-10-05 17:21:30 -05:00
parent 2d1d0a3ad3
commit 5fe50152ff
1 changed files with 13 additions and 10 deletions

View File

@ -15,7 +15,8 @@ New installs
mysql_secure_installation mysql_secure_installation
2. Using the password for the root account set during the previous step, you 2. Using the password for the root account set during the previous step, you
will need to create the ZoneMinder database, assuming your database server is local: will need to create the ZoneMinder database, assuming your database server
is local:
mysql -u root -p < /usr/share/zoneminder/db/zm_create.sql mysql -u root -p < /usr/share/zoneminder/db/zm_create.sql
mysqladmin reload mysqladmin reload
@ -24,7 +25,8 @@ New installs
introduce an obvious security issue. The following should set this up: introduce an obvious security issue. The following should set this up:
mysql -u root -p mysql -u root -p
grant select,insert,update,delete,alter on zm.* to 'zmuser'@localhost identified by 'zmpass'; grant select,insert,update,delete,alter on zm.* to
'zmuser'@localhost identified by 'zmpass';
Obviously, change at least zmpass to an actual, secure password or Obviously, change at least zmpass to an actual, secure password or
passphrase. You can change zmuser as well if you like. passphrase. You can change zmuser as well if you like.
@ -53,22 +55,22 @@ New installs
The httpd.conf file included with this version of Fedora processes the conf.d The httpd.conf file included with this version of Fedora processes the conf.d
folder after the default ScriptAlias directive in the httpd.conf file. folder after the default ScriptAlias directive in the httpd.conf file.
Previously, the conf.d folder was processed before the default ScriptAlias Previously, the conf.d folder was processed before the default ScriptAlias
directive. This causes a ScriptAlias overlap and breaks Zoneminder's streaming directive. This causes a ScriptAlias overlap and breaks Zoneminder's
abilities. streaming abilities.
Reference: http://httpd.apache.org/docs/2.4/mod/mod_alias.html#order Reference: http://httpd.apache.org/docs/2.4/mod/mod_alias.html#order
Bug Report: https://bugzilla.redhat.com/show_bug.cgi?id=973067 Bug Report: https://bugzilla.redhat.com/show_bug.cgi?id=973067
WORKAROUND #1 WORKAROUND #1
If you are running zoneminder on a dedicated server then the simplest solution If you are running zoneminder on a dedicated server then the simplest
may be to simply comment out the line in httpd.conf that reads: solution may be to simply comment out the line in httpd.conf that reads:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
WORKAROUND #2 WORKAROUND #2
If you need both the default cgi-bin folder & the zoneminder cgi-bin folder then If you need both the default cgi-bin folder & the zoneminder cgi-bin folder
a solution might be to move the following line before the default ScriptAlias then a solution might be to move the following line before the default
directive in the httpd.conf file: ScriptAlias directive in the httpd.conf file:
IncludeOptional conf.d/*.conf IncludeOptional conf.d/*.conf
@ -84,7 +86,8 @@ New installs
b) check OPT_USE_AUTH. b) check OPT_USE_AUTH.
c) set AUTH_HASH_SECRET to a random string. c) set AUTH_HASH_SECRET to a random string.
d) click Save and refresh the main browser window. d) click Save and refresh the main browser window.
e) You should be prompted to log in; the default username/password is admin/admin. e) You should be prompted to log in;
the default username/password is admin/admin.
f) Open Options again, choose the newly visible Users tab. f) Open Options again, choose the newly visible Users tab.
g) click the admin user and set a password. g) click the admin user and set a password.
h) enable OPT_CONTROL on the Ssytem tab to enable ptz camera control. h) enable OPT_CONTROL on the Ssytem tab to enable ptz camera control.