Why do not produce zoneminder?

Forum for questions and support relating to the 1.24.x releases only.
Locked
yyx
Posts: 11
Joined: Wed Aug 17, 2011 5:28 am

Why do not produce zoneminder?

Post by yyx »

Hello, I am a Chinese user.I use zonemind encountered some problems. Please advise in fedora12.
I have a question,Hope you can help me solve.
Here is my operation----->

1.yum -y install httpd*
2.yum -y install mysql mysql-server
3.yum -y install ffmpeg ffmpeg-devel
4.service httpd start [OK]
5.service mysqld start [OK]
6.yum -y install gcc* [OK]
7.yum -y install perl* [OK]
8../configure --with-webdir=/var/www/html/zm --with- cgidir=/var/www/cgi-bin/ --with-webusr=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM DB USER=zmuser ZM_DB_PASS=zmpass ZM_SSL_LIB=openssl [OK]
9.make [OK]
10. make install [OK]
11.service zoneminder start [NG]
:arrow: Unrecognized service
:?: My question is:-------->
My question is:ststep 10 operation is completed after,Why do not produce zoneminder?When the 11 step operation, error out.
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Why do not produce zoneminder?

Post by bb99 »

Try:

(1) load fc12 using the netinstall ISO (the CD wants to use dhcp and doesn't work well with an assigned fixed IP) - turn off 'office' and turn on 'server' and 'development'. Besure to include a large /var partition through custom partitioning and use localhost instead of what it suggests (domain.localhost ?). Also, if you're using a capture card install it (them) in the system before starting the netinstall CD. Save these steps as a .txt file so the code can be cut and paste into the terminal with ease.

[2] Remove evolution from task bar (right click... (not a requirement)).

[3] Set screensaver to NOT require password and set it to 20 minutes or more (menu-system::preferences::screensaver).

(4) Disable SELinux. (menu-system::Admin::SELinux Mgmnt; change system default enforcing mode to disabled).

[5] Enable sudo for yourself. From a terminal (menu-Application::System Tools::Terminal), Code:

su

(enter root password)

echo 'YourUserName ALL=(ALL) ALL' >> /etc/sudoers (put YOUR user name from FC12 installation in place of YourUserName)

(6) Set up the RPM Fusion Repository (in open terminal).

Code:

rpm -ivh http://download1.rpmfusion.org/free/fed ... noarch.rpm

rpm -ivh http://download1.rpmfusion.org/nonfree/ ... noarch.rpm

exit

exit (closes terminal window)

(7) Install the pre-requisites, (menu-System::Administration::Add/Remove Software) type in the search field the following package names and select each of the closest match (there will be 'other' packages related or similar named - look for the right one, and check-it.)

mysql-server

mysql-devel

pcre-devel

ffmpeg

ffmpeg-devel

Hit the 'Apply' button, accept any added packages, type root password, and let this stuff load.

[8] Install any updates that are available, its the yellow icon up by the time.

(9) Enable the services: web and db. (menu-System::Administration::Services) and find the following:

httpd

mysqld

for each of them hit the 'enable button' so you can start them later.

(10) Reboot. This allows all the services to start and settle in.

(11) Now add Zoneminder (menu-System::Administration::Add/Remove Software) Type Zoneminder in the search field select it and apply.

[13] Note: To edit as root: open a terminal (menu-Application::System Tools::Terminal), su to root, type 'gedit <path/filename>'. Now you have sufficient permissions to edit & save as root.

(14) Edit as root /etc/httpd/conf.d/zoneminder.conf to remove the 'Deny from All' line. It even says 'DELETE THIS LINE', so it should be easy to find. Save it.

(15) As root, [or with sudo] build the zm database (menu-Application::System Tools::Terminal).

Code:

su

(enter root password)

mysql mysql < /usr/share/zoneminder/db/zm_create.sql

mysqladmin reload

mysql mysql

grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';

\q

exit

exit


(16) Enable zoneminder. (menu-System::Administration::Services) and find zoneminder. Enable it. You can start the service hear also, Or in a terminal:

Code:

service zoneminder start

[18] Last thing - edit the SECOND entry of short_open_tag down at line 229. Again as root (menu-Application::System Tools::Terminal), gedit /etc/php.ini

Change short_open_tag from 'off' to 'on'

[19] reboot. open browser, type 'localhost/zm'

[20] It may be necessary to change the ffmpeg path in options::images to get ffmpeg to make videos. Generally removing the /local from the existing path will fix this issue
Locked