Tahr 6.0 CE remastered with XAMPP & ZoneMinder 1.28

Using applications, configuring, problems
Message
Author
User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#21 Post by rockedge »

Just a thought, ignore me if you are already ahead of me.

Maybe get it all set up to work.

Then unmount the devx file.

Then remaster it.

Then see if it works if you remount the devx file.

Then unmount the devx file and try to get it to work by installing the individual perl modules and other libraries. When it works, then remaster it again.
You know, that is a good idea. Thanks dancytron !
I am going to try this right now.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#22 Post by musher0 »

rockedge wrote:
musher0 wrote:And we are providing a clone of the the poor girl because... ??? :twisted:
As my medieval friend Ockham says below my sig... :twisted:

musher0
Why? It started while looking for a way to stream cameras pointed at fish tanks easily for the Trout in the Classroom Project run by Trout Unlimited.
http://www.cttrout.org/troutintheclassroom.html. After a lot of experimenting with BroadCam from NCH Software and some other types of Windows junk I went basic and streamed with ffserver-ffmpeg combo. All this is not really suited for kids in school ranging from elementary through High school. So ZoneMinder being Linux based and Open source (FREE) and when setup correctly is rock solid stable in Puppy Linux, UPUP 3.9.9.2 for example has run ZoneMinder in an installation non-stop for 352 days. That on a old IBM Thinkpad T40 with no hard drive. So I thought if I could have a complete Linux OS with XAMPP and ZoneMinder on a LiveCD that can be easily installed with a save file or just run would be the bees knees. Also must be able to fit on CD-ROM as well as a DVD. with as little configuration as possible for such a system. Plus it has proved to be a popular idea amongst friends and others to provide an easy full featured camera security system that can run with the Pack and not only pee with the Puppies. Just load ,boot and run. That is the reason.

Plus it is way for me to learn how to remaster and more about Puppy Linux.
Thanks for the explanation, rockedge. Sorry for having brushed you the
wrong way.

BTW, what does "bees knees" mean? (English is not my mother tongue.)

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#23 Post by mikeb »

bees knees was a saying from the swinging twenties that has lasted til today.

It never really meant anything and there were many more of these rhyming examples.... equivalent of such as 'kool man' and 'neat' and 'wicked' and aw sick man' and so on...

mike

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#24 Post by rockedge »

After using the method suggested by dancytron, which worked very well. I could load and unload the devx .sfs. So after some drag and drop action I managed to find the devx components needed to get zoneminder started and now the ISO is down to 494 M from 592 M.

I will provide a download link to this version:
Tahr 6.0 CE
XAMPP 5.6.3-0
ZoneMinder 1.28
ffmpeg 2.5

gcmartin

Home or classroom video recording system on OOTB package

#25 Post by gcmartin »

Hello @RockEdge

I dont have any problem with the size of this, the functionality it brings, and the usage suggestions you offer. The most important thing you have shown is that it can be packaged as an ISO to boot with this working wonderfully.

Thanks for what you are presenting us in a self contained video capture system!

An excellent distro approach for our home uses. :idea:

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#26 Post by rockedge »

In version tahr60-zone128_pae.iso:

For anyone who has the monitor images align themselves vertically in the Montage View and is unresponsive to layout selection changes, please use the following command in a console to correct this bug:

Code: Select all

ln -s /opt/lampp/htdocs/zm/skins/classic/css/classic/views /opt/lampp/htdocs/zm/skins/classic/views/css
this can also be done with the ROX Filer.

Also there will be a improved version of this remaster available for download with the corrections included.

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#27 Post by Ted Dog »

interesting.. we figured how to multisession stream video to DVD would that be something worthwhile? Is it motion triggered?

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#28 Post by rockedge »

Yes it is motion triggered. Direct recording to DVD would be pretty nifty . As it is now, one can generate videos of video recording to export as well as the stills. Zones can be set up and layered and cameras can trigger other cameras to record. Also X10 can be used through the serial port with external triggers using the X10 protocol. ZoneMinder will also send an email/SMS for notification of an event or alarm if turned on and configured.

more about it :http://www.zoneminder.com/

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

Re: Tahr 6.0 CE remastered with ZoneMinder 1.28 & FFMPEG v2.5

#29 Post by sheldonisaac »

rockedge wrote:I have compiled ffmpeg 2.5 ...
rockedge, how could I get only the ffmpeg that works in Tahr?

Thanks a lot,
Sheldon
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#30 Post by 666philb »

there are static builds of ffmpeg here http://johnvansickle.com/ffmpeg/ just pop it in /usr/bin
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

ffmpeg

#31 Post by sheldonisaac »

666philb wrote:there are static builds of ffmpeg here http://johnvansickle.com/ffmpeg/ just pop it in /usr/bin
Got it, thanks a lot,
Sheldon
http://johnvansickle.com/ffmpeg/release ... tic.tar.xz
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

Re: Tahr 6.0 CE remastered with ZoneMinder 1.28 & FFMPEG v2.5

#32 Post by rockedge »

sheldonisaac wrote:
rockedge wrote:I have compiled ffmpeg 2.5 ...
rockedge, how could I get only the ffmpeg that works in Tahr?
Hello Sheldon... In case you ever want to build it from source here is what I did....Use the devx_tahr_6.0.sfs by using the SFS quickload in the menu Setup>SFS Load-on-the-Fly to load the devx.

download the source code https://www.ffmpeg.org/download.html and extract the files to some directory. Open that directory containing the FFMPEG source and open a terminal by right clicking and selecting Terminal Here...

in the terminal use the following commands:

Code: Select all

#./confiqure

Code: Select all

#make

Code: Select all

#make install
close it all up then in a new console try

Code: Select all

#ffmpeg
that should give you the latest FFMPEG built for your system. Otherwise as suggested you can try the static packages mentioned before.
For me it worked easier to compile a fresh build.

Then unload the Devx using the SFS on the fly script and you should be set. Hope it works for you!

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#33 Post by rockedge »

For anyone needing a wallpaper for the right "feel" of things
And if anyone could design a wallpaper with a camera lens and a nice Puppy Linux Logo........

Image

or with a Puppy logo:

Image
Attachments
hal-camera_tahrzone128_puppylogo.jpg
(45.63 KiB) Downloaded 365 times
hal-camera_tahrzone128.jpg
(43.94 KiB) Downloaded 353 times
Last edited by rockedge on Mon 22 Dec 2014, 01:06, edited 1 time in total.

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

Re: Tahr 6.0 CE remastered with ZoneMinder 1.28 & FFMPEG v2.5

#34 Post by sheldonisaac »

rockedge wrote:
sheldonisaac wrote:
rockedge wrote:I have compiled ffmpeg 2.5 ...
rockedge, how could I get only the ffmpeg that works in Tahr?
Hello Sheldon... In case you ever want to build it from source here is what I did....Use the devx_tahr_6.0.sfs by using the SFS quickload in the menu Setup>SFS Load-on-the-Fly to load the devx.

[much snipped)

that should give you the latest FFMPEG built for your system.
AHA! Thank you!

I will try that; soon, I hope.

Sheldon
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

Old-Guy
Posts: 5
Joined: Mon 29 Dec 2014, 17:05

#35 Post by Old-Guy »

rockedge wrote:here is a download link for the current version: https://drive.google.com/file/d/0By2RUs ... sp=sharing
Am I missing something here? I've downloaded the iso file above, burnt a CD and fired it up on a spare PC (which Ubuntu 10+ won't run on). Tahr 6.0 runs a treat (very impressive too).

I feel a little foolish, but I was expecting a stripped-down distro specifically for CCTV - "A complete CCTV Video Recording ISO for LiveCD or USB stick" - but XAMPP is the only unusual App that I wouldn't expect to find as part of a general purpose Linux Distro, BUT no Zoneminder (or any other Video Recording app) in any shape or form anywhere I can find.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#36 Post by rockedge »

Hello Old-Guy,
The work to strip the distro and run ZoneMinder is still in progress! Also this iso
https://drive.google.com/file/d/0By2RUs ... sp=sharing
is the best version so far. Please give it a try.
As the OS boots up XAMPP and ZoneMinder should be started by a script in the Startup directory.

To run zoneminder open a terminal and give the command:

Code: Select all

#zoneminder  start
other command line options:

Code: Select all

#zmstart
#zmstop
#zoneminder start|stop|status|restart
#xampp help
otherwise control ZoneMinder through the console.

then open the browser and use the URL: http://localhost/zm

The ZoneMinder console is a web application. Make bookmarks as you see fit.
So far this is Tahr 6.0 CE remastered with XAMPP and ZoneMinder and not the bare minimum linux os and zoneminder as of yet.

let me know if you get it running....always interested in seeing how it works in practice!
Last edited by rockedge on Mon 29 Dec 2014, 21:33, edited 1 time in total.

Old-Guy
Posts: 5
Joined: Mon 29 Dec 2014, 17:05

#37 Post by Old-Guy »

Thanks rockedge

I much appreciate you sharing all your hard work. Visiting family tomorrow but hope to give it another try tomorrow - in my enthusiasm to get started, I'd forgotten that Zoneminder has no GUI.

Old-Guy
Posts: 5
Joined: Mon 29 Dec 2014, 17:05

#38 Post by Old-Guy »

SOLVED (probably) see my next post

As suggested, I've downloaded and burnt that latest iso. To try it, I used my laptop (Tosh Portege Core i5 4Gb RAM 512HDD - dual boot W7/Mint16). I used the laptop simply because I know it's problem free under Mint whereas the target PC has graphics driver issues. Tahrpup boots fine off the CD, but when I tried Zoneminder (no webcam connected) from Console, I get the following messages (retyped as I haven't yet figured how to copy text from a Console window):
  • # Zoneminder
    Starting ZoneMinder: chown: video0: no such file or directory DBI connect('database=zm;host=localhost','zmuser',...) failed: can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/local/lib/perl5/Zoneminder/Config.pm line 100.
    Compilation failed in require at /usr/local/lib/perl5/ZoneMinder/Config.pm line 33.
    Compilation failed in require at /usr/local/bin/zmpkg.pl line 37.
    failure
I'm acting clueless here because rockedge's aim is to produce a Live CD that works out of the box.
Next I went to install cheese to check out a webcam and Puppy Package Manager popped up recommending an update to 6.0.1 - I've ignored this for the moment so as to avoid introducing extra variables.
Had to backtrack on that idea - did the update and then installed gucview via tahrpet (that's what I did last time to check out a box of old webcams). Webcam works fine though the frame rate is nothing to write home about.

Old-Guy
Posts: 5
Joined: Mon 29 Dec 2014, 17:05

#39 Post by Old-Guy »

I decided to install to a spare 4Gb flashdrive so that I could easily save my updated Tahrpup with guvcview ready installed (together with any other fixes) and of course make re-boots a whole load faster than from CD. Did so and rebooted from the flash drive. Tried Zoneminder again and Hey-Ho it starts and it's browser interface is now visible (404: Not Found previously).
The reason is simple (and should have been obvious to me) - booting from a CD, the required folders (and modified files?) can't be created because the CD is a read-only device.
I think this means that a Live-CD for Zoneminder isn't possible without using RW storage, BUT a portable Live flash-drive is entirely feasible. I'll keep testing!
Yup! TahrpupZM is fascinated by the TV - every shot change captures its attention.
Tonight I'll see if I can 'capture' the nocturnal visitor to the rockery outside our Out house door - we suspect it's a (red) fox but it may be a cat; somebody keeps disturbing some of the stones.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#40 Post by rockedge »

# Zoneminder
Starting ZoneMinder: chown: video0: no such file or directory DBI connect('database=zm;host=localhost','zmuser',...) failed: can't connect to local MySQL server through socket # Zoneminder
Starting ZoneMinder: chown: video0: no such file or directory DBI connect('database=zm;host=localhost','zmuser',...) failed: can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/local/lib/perl5/Zoneminder/Config.pm line 100.
Compilation failed in require at /usr/local/lib/perl5/ZoneMinder/Config.pm line 33.
This is caused when the symlink /var/run/mysqld/mysqld.sock from /opt/lampp/var/mysql/mysql.sock is not there or XAMPP has not started the mysql server for some reason.

Xampp and ZonEMInder start no poblem from the CD directly before I made a save file.

to copy from the terminal: highlight the text to copy with the mouse then press the middle button or wheel where ever you want to paste the highlighted text...after some practice it works good for me.

Every file and link should be created regardless of the LiveCD state.
I do this at first boot of tahrzone128 : press F2 at the initial start splash page, once I have the boot options use pfix=ram
to start up. This clears the way to make a save file. Although in my tests I can start up the LiveCD and Xampp and Zoneminder start up OK then I add a monitor.....also if you plugin a USB camera at any point AFTER start up make sure the permissions for the camera are correct! on the command line using

Code: Select all

#zoneminder start
or

Code: Select all

#zmfix.sh
to fix the permissions.

the save file is then easy to set up and to store events when recording.

I have squirrels,foxes,coy-wolf,coyotes,bobcats house cats racoon skunk woodchuck and many others that test the camera{s} setup!
here is the way I use it a lot. tanks are in two different locations separated by miles.
http://rockedge.org/troutcam/2-tank-view/

Thanks for the feedback!

Post Reply