Update README.Fedora
Update README.Fedora installation instructions. Fixes issue #145.
This commit is contained in:
parent
46aa2e0ebb
commit
7d5e0d3ba2
|
@ -4,9 +4,14 @@ New installs
|
||||||
1. Unless you are already using the MySQL server or you are running it
|
1. Unless you are already using the MySQL server or you are running it
|
||||||
remotely you will need to ensure that the server is installed and secured:
|
remotely you will need to ensure that the server is installed and secured:
|
||||||
|
|
||||||
yum install mysql-server
|
yum install mysql-community or
|
||||||
chkconfig mysql on
|
|
||||||
service mysql start
|
yum install mysql (Mariadb)
|
||||||
|
|
||||||
|
sudo systemctl mysqld enable
|
||||||
|
|
||||||
|
sudo system mysqld start
|
||||||
|
|
||||||
mysql_secure_installation
|
mysql_secure_installation
|
||||||
|
|
||||||
2. You will need to create the ZoneMinder database. These commands should do
|
2. You will need to create the ZoneMinder database. These commands should do
|
||||||
|
@ -32,8 +37,8 @@ New installs
|
||||||
or if it is set incorrectly, and these complaints will show up in the
|
or if it is set incorrectly, and these complaints will show up in the
|
||||||
zoneminder logging system as errors.
|
zoneminder logging system as errors.
|
||||||
|
|
||||||
If you are not sure of the proper timezone specification to use, look in
|
If you are not sure of the proper timezone specification to use, look at
|
||||||
/etc/sysconfig/clock.
|
http://php.net/date.timezone
|
||||||
|
|
||||||
6. This package probably does not work with SELinux enabled at the moment. It
|
6. This package probably does not work with SELinux enabled at the moment. It
|
||||||
may be necessary to disable SELinux for httpd, or even completely for
|
may be necessary to disable SELinux for httpd, or even completely for
|
||||||
|
@ -43,18 +48,18 @@ New installs
|
||||||
|
|
||||||
for testing, and edit /etc/sysconfig/selinux to disable it at boot time.
|
for testing, and edit /etc/sysconfig/selinux to disable it at boot time.
|
||||||
|
|
||||||
7. Enable and start the zoneminder service:
|
7. The zoneminder.service file fails at present but the zmpkg.pl script
|
||||||
|
can be run as root to start zoneminder.
|
||||||
|
|
||||||
systemctl enable zoneminder.service
|
sudo zmpkg.pl start
|
||||||
systemctl start zoneminder.service
|
|
||||||
|
|
||||||
8. The ZoneMinder web interface is disabled by default (which makes it rather
|
8. The ZoneMinder web interface is disabled by default (which makes it rather
|
||||||
useless but also secure by default), you will need to edit
|
useless but also secure by default), you will need to edit
|
||||||
/etc/httpd/conf.d/zoneminder.conf to enable it. Afterwards, you can start
|
/etc/httpd/conf.d/zoneminder.conf to enable it. Afterwards, you can start
|
||||||
the web server:
|
the web server:
|
||||||
|
|
||||||
systemctl enable httpd.service
|
sudo systemctl enable httpd.service
|
||||||
systemctl start httpd.service
|
sudo systemctl start httpd.service
|
||||||
|
|
||||||
9. You should immediately visit http://localhost/zm and secure the system if
|
9. You should immediately visit http://localhost/zm and secure the system if
|
||||||
it is network facing. To do this:
|
it is network facing. To do this:
|
||||||
|
@ -78,4 +83,4 @@ Upgrades
|
||||||
2. You will need to upgrade the ZoneMinder database as described in the
|
2. You will need to upgrade the ZoneMinder database as described in the
|
||||||
manual. This command should be sufficient when run as root:
|
manual. This command should be sufficient when run as root:
|
||||||
|
|
||||||
zmupdate.pl --version=<from version>
|
zmupdate.pl --user=root --pass={mysql_root_pwd} --version=<from version>
|
||||||
|
|
Loading…
Reference in New Issue