how to install zoneminder v1.25 on ubuntu 12.04 (Precise Pangolin)

Kali ini saya rencananya mencoba membuat monitoring untuk ruang NOC kami. Saya memakai Zoneminder untuk  server video kameranya. Alasanya karena gratis dan familiar.

Pertama, sediakan Ubuntu yang sudah ready dan sudah diinstall openSSH server dan LAMP. 

Kemudian connect via ssh, ketik:

1. Update and install.

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install mc

sudo apt-get dist-upgrade

sudo apt-get install zoneminder

Just press cancel when it asks for nullmailer info.

Kemudian Modifikasi startup scriptnya.

sudo nano /etc/init.d/zoneminder

The ‘sleep 15′ is there so that mysql has time to start up.

start() {
echo -n “Starting $prog: “
sleep 15
zmfix -a
$command start

2. Configure

Apache stuff

sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
sudo /etc/init.d/apache2 force-reload
sudo adduser www-data video
sudo make-ssl-cert generate-default-snakeoil –force-overwrite
sudo a2enmod ssl
sudo a2ensite default-ssl
sudo service apache2 restart

Cambozola

cd /usr/src
sudo wget http://www.charliemouse.com:8080/code/cambozola/cambozola-latest.tar.gz
sudo tar -xzvf cambozola-latest.tar.gz
sudo cp cambozola-0.92/dist/cambozola.jar /usr/share/zoneminder

Time

sudo nano /etc/cron.daily/ntpdate

Tambah dua baris perintah berikut:

#!/bin/sh
ntpdate ntp.ubuntu.com

Buat file menjadi executable

sudo chmod 755 /etc/cron.daily/ntpdate

3. Restart

sudo reboot

4. Test

Kemudian akses zoneminder pada https://localhost/zm atau https://10.10.200.201/zm (ip server anda)

 

Selesai.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s