Fatdog64
710
ncdu
Description: ncdu (NCurses Disk Usage) is a curses-based version of
the well-known 'du', and provides a fast way to see what
directories are using your disk space.

Source: https://github.com/rofl0r/ncdu

Dependencies:

- a POSIX-compliant operating system (Linux, BSD, etc)
- curses libraries and header files

INSTALL

./configure --prefix=/usr
make
make install
Tahr605
ZoneMinder
v1.30
To build ZoneMInder from source.

1.First a fully running Apache MySQL and PHP5 server needs to be
installed configured and running. Also I install the latest phpmyadmin.

2.The Devx needs to be installed.

3. Download these (or similar) and install with PETGET by clicking on the .deb file.

libmysqlclient-dev_5.5.46-0ubuntu.12.04.2_i386.deb
https://drive.google.com/file/d/0By2RUsFzFaMkVDJibU42LTNHelU/view?usp=sharing

libpolkit-gobject-1-dev_0.104-1ubuntu1.1_i386.deb
https://drive.google.com/file/d/0By2RUsFzFaMkUkFkTGNCUkRTVDg/view?usp=sharing

4. assuming that user "www-data" and "mysql" are present from the web server installation.
create user "group".
#adduser group

open a terminal and type:

Code:
#cpan App::cpanminus

answer YES to both prompts and allow install.

now to add the needed PERL mods:

Code:
#cpanm DBD::mysql

Code:
#cpanm Date::Manip

Code:
#cpanm LWP::UserAgent

Code:
#cpanm Sys::Mmap

Code:
#cpanm Device::SerialPort


these are for the email functions:

Code:
#cpanm MIME::Entity

for the newer email function:
Code:
#cpanm MIME::Lite

Code:
#cpanm Net::SMTP


Now to prepare to compile ZoneMinder. I used the ftpd directory for this part.


Code:
#cd ~/ftpd

Code:
#git clone https://github.com/ZoneMinder/zoneminder

Code:
#cd zoneminder

Code:
#git submodule init

Code:
#git submodule update


I had to use this line while building ZoneMinder with tahr 6.0.5:
Code:
#git submodule update --init --recursive


Start the compile of ZM:

Code:
#cmake .

Code:
#make

Code:
#make install

IMPORTANT:
I used phpmyadmin to add mysql user "zmuser" with "zmpass" as the password.
create a database called "zm",
import ~/ftpd/zoneminder/db/zm_create.sql,
close phpmyadmin.

download this service file to start / stop /restart zoneminder or select as a service to start at boot time.
Place it in /etc/init.d
zoneminder
http://owncloud.rockedge.org/public.php?service=files&t=32e9d7fe560d22ead718d50f128cb9fe

this should produce zoneminder 1.30 in /usr/local/share/zoneminder. The binaries are in /usr/local/bin.
Be sure to configure Apache for the /zm alias for /usr/local/share/zoneminder.
And an alias /cgi-bin for the cgi-bin binaries for streaming.
Here is the ZoneMinder docs for further information: https://zoneminder.readthedocs.io/en/stable/