Tahr 6.0 CE remastered with XAMPP & ZoneMinder 1.28

Using applications, configuring, problems
Message
Author
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!

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

mysql and other passwords

#41 Post by dancytron »

I looked but couldn't find it, but what are the default usernames and passwords for mysql and any other non-puppy passwords.

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

#42 Post by rockedge »

I looked but couldn't find it, but what are the default usernames and passwords for mysql and any other non-puppy passwords.
All XAMPP passwords are "admin"

mysql user: root
mysql passwd: admin

I assume you mean zoneminder...start your browser and use the URL:

http://localhost/zm

or XAMPP splash page:

http://localhost

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#43 Post by dancytron »

Thanks.

I was actually trying to install something different in xampp, not zonefinder.

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

#44 Post by rockedge »

ahh yes, cool....
/opt/lampp/htdocs is the web root directory.

april

#45 Post by april »

Just got this down running on my machine the pale moon browser keeps freezing . I dont have any trouble with seamonkey but when palemoon freezes everything freezes , can't recover or shut down so a hard boot is necessary with the obligatory File save check taking 5 minutes each time to boot.

Couldn't get much further except I could not see a ext4 save option , had to do an Ext2 all the usual stuff seemed to work OK and surpris surpris my wifi usb stick even connected straight up . It won't on any other puppies .

So I want to do Camera surveilance work thats why I'm here. See my other posts on this forum

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

#46 Post by rockedge »

So I want to do Camera surveilance work thats why I'm here. See my other posts on this forum
I use zoneminder in a similar fashion. http://farmillriver.rockedge.org/two-tank-view/

One of the cameras is running tahrzone128 on a 2004 IBM thinkpad T42 with no working hard drive and an almost dead battery. Runs from a USB stick. I use a service to sync my dynamic IP to an alias so I can use the internet to see the stream from anywhere in the world. I use a simple <img> tag to embed the stream into a web page for a customized look and function. In the above case a WordPress installation. I have good results using inadyn to do the IP sync in Puppy Linux distros.

april

#47 Post by april »

Yes thats exactly what I want to do and I'll persevere and hang around if you don't mind . I would relish a bit more detail on how you get it going .

I'm going to boot it up and install Seamonkey and see if I can get past the freezing. I'm using desktops Dells Optiplex 740 and 745's Intel or amd processors . Have a choice from 25 or so Various speeds and memories

Edit well that didn't work. Went into package manager and it offered me an update 6.0.1 which I took . Looked for seamonkey-not there . Looked for Firefox and tried for that -not available even though selectable and dependancies can be seen it won't download . Didn't see any browsers so I started pale moon again and it immediately hung .

I need to have a working browser of course for this surveilance work so I'm stuck atm
Could you possibly answer my questions in full at this point because I can't get started and I have the potential to help you develop this project if I can establish a conversation on it with you .Do you speak English well enough? Maybe I can learn your language

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

#48 Post by Old-Guy »

My previous attempts have been on my latest laptop, but using a 4Gb flash-drive as I didn't want to risk trashing the Mint or Wi7 Pro installations on it's hard drive. This works quite well - so it should with an i3 processor and 4Gb RAM! No problems with Pale Moon.

However, I've had a frustrating afternoon trying to install the same version from the same CD on an old, but hardly used, Toshiba Sat Pro with only 512Mb RAM but a sound big Li-Ion battery. The original 20Gb drive is dual boot Mint and XP, not leaving much space for anything else so I substituted a spare 80Gb drive. Created a single ext4 (boot) partition - a mistake as this seemed to cause all sorts of problems. Tried again from scratch as ext3. Hit a variety of problems, installation to HDD needs de-bugging as does the Save to folder. Did get Zoneminder running, but the old Tosh just isn't man-enough everything tooooo slow. Managed to aparrently Save but it insists on creating a sub-folder inside the existing folder that is then ignored next time so I lost all my updates and reverted to the initial settings - (THREE times!) so I've now givenn up on the old Tosh.

I suggest that anyone's starting point should be installation on a flash drive as this works for me but isn't portable between laptops and desktops because the difference in keyboards (USB and PS/2) isn't detected by this version of GRUB so I couldn't select an OS to boot!

april

#49 Post by april »

Went to the video link above on the trout farm . No nothing Black screen ? Then I looked at the clock Nightime .

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

#50 Post by 666philb »

april wrote: . Went into package manager and it offered me an update 6.0.1 which I took . Looked for seamonkey-not there . Looked for Firefox and tried for that -not available even though selectable and dependancies can be seen it won't download . Didn't see any browsers so I started pale moon again and it immediately hung .

I need to have a working browser of course for this surveilance work so I'm stuck atm
hi april ... if you click the quickpet icon on the desktop you'll find lots of browsers there
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

Post Reply