Zoneminder i Ubuntu serveri tiesiog užrašai kad nepamiršti 

Ubuntu 14.04 - ZM 1.26.5 or later to 1.30.0 or the latest PPA version

Become root

sudo su

Add Repository

Note: if you need to remove a repository use: add-apt-repository --remove ppa:iconnor/zoneminder

add-apt-repository ppa:iconnor/zoneminder

apt-get update

Stop Zoneminder

service zoneminder stop

Upgrade the installation

apt-get upgrade (may return nothing to upgrade)

apt-get dist-upgrade

You will be asked if you want to replace /etc/init.d/zoneminder. Choose "Y"

With ZM 1.30.3 the database will automatically upgrade.

Add back the delay to allow MySQL to start before Zoneminder

nano /etc/init.d/zoneminder

Add sleep 15 as shown:

start() {
sleep 15
echo -n "Starting $prog: "

Ctrl+o Enter to save

CTRL+x to exit

Remove symbolic link

rm /etc/apache2/conf-enabled/zoneminder.conf

Set permissions of /etc/zm/zm.conf to root:www-data 740

chmod 740 /etc/zm/zm.conf

chown root:www-data /etc/zm/zm.conf

Enable Zoneminder and rewrite

a2enconf zoneminder

a2enmod rewrite

Start Zoneminder (Note: Zoneminder may have started automatically after the dist-upgrade)

service zoneminder start

Add timezone to PHP

nano /etc/php5/apache2/php.ini

Search for [Date] and make changes as follows for your time zone

; Defines the default timezone used by the date functions
date.timezone = America/New_York

Ctrl+o Enter to save

CTRL+x to exit

Restart Apache

service apache2 restart

Open Zoneminder. Click on Options - Paths

Change PATH_ZMS to /zm/cgi-bin/nph-zms


Pic stream URL For FOSCAM PI9805I

Source Type - Remote

Remote Protocol - HTTP

Remote Method - Simple

Remote Host Path - /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=USER&pwd=PASSWORD

Target colorspace - 24 bit colour

Capture Width (pixels) - 1280

Capture Height (pixels) - 960

[ add comment ] ( 229 views ) $star_image$star_image$star_image$star_image$star_image ( 3 / 309 )

<<First <Back | 1 | 2 | Next> Last>>