Script to install LHMP and Zoneminder for Bionic64

A home for all kinds of Puppy related projects

Moderator: Forum moderators

Post Reply
User avatar
rockedge
Site Admin
Posts: 6532
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2745 times
Been thanked: 2619 times
Contact:

Script to install LHMP and Zoneminder for Bionic64

Post by rockedge »

I am now testing a script and a recipe to install all the components needed to install and setup a Hiawatha web server, mariaDB for mysql and PHP7.2 to support a Zoneminder 1.33.16 installation on Bionic64-v8. The script uses the pkg package manager written by sc0ttman to automate package installation. Which does the job very well.

http://murga-linux.com/puppy/viewtopic.php?t=112927

After the final tests I will post the script and make it available for download.

This script is written for Bionic64 but can be used as a recipe to follow for installation of ZoneMinder on Bionic32.

this is a draft copy of the script which is compressed : updated on Dec. 28 2019
Attachments
install-zm.sh.tar.gz
(24.97 KiB) Downloaded 98 times
User avatar
rockedge
Site Admin
Posts: 6532
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2745 times
Been thanked: 2619 times
Contact:

Re: Script to install LHMP and Zoneminder for Bionic64

Post by rockedge »

Here are 2 scripts that will install a LHMP server and Zonemnder using the Pkg package manager on a fresh Bionic64.

to use set up and boot Bionic64 and create a save folder/flie with a reboot.
Load the 32 bit compatibility libraries and most important the devx sfs

Once both SFS packages are loaded, place the scripts
01-install-maria.sh
02-install-zm.sh

into a folder like /root/my-applications. Make sure both are executable.
Open a terminal in /root/my-applications and start 01-install-maria.sh.

Upon a successful completion start 02-install-zm.sh.
if it all completes in the terminal type:

Code: Select all

hiawatha
zmpkg.pl start
and if that looks like it worked open the browser and use the url
http://localhost, there should be a directory index.
now try http://localhost/zm and there should be a statement page, scroll to the bottom and save to start ZoneMinder.

goto Options and set the correct time ! default is UTC.( the date and time must be correct in the php.ini and match the system clock if done manually )

Documentation for ZM and each component like Hiawatha 10, mariadb and PHP7 are available online

the scripts can be used as a step by step recipe.

This script is experimental and use at your own risk.

Good Luck!

Remove the fake .gz
Attachments
01-install-maria.sh.gz
(843 Bytes) Downloaded 94 times
02-install-zm.sh.gz
(76.45 KiB) Downloaded 91 times
Clarity
Posts: 3822
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1621 times
Been thanked: 520 times

Re: Script to install LHMP and Zoneminder for Bionic64

Post by Clarity »

Looking forward to Zoneminder for FossaPUP64. Thanks for this.
User avatar
rockedge
Site Admin
Posts: 6532
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2745 times
Been thanked: 2619 times
Contact:

Re: Script to install LHMP and Zoneminder for Bionic64

Post by rockedge »

Hello @Clarity

The scripts for Bionic needs the Hiawatha download path updated to Hiawatha 10.11.

I have downloaded and installed Fossapup64. I am modifying the 2 scripts to install the LHMP and Zoneminder to work on Fossapup64.

So far the first test runs look good and only a few minor changes to the code needed so far.
Clarity
Posts: 3822
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1621 times
Been thanked: 520 times

Re: Script to install LHMP and Zoneminder for Bionic64

Post by Clarity »

Thanks for considering the addition.
User avatar
rockedge
Site Admin
Posts: 6532
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2745 times
Been thanked: 2619 times
Contact:

Re: Script to install LHMP and Zoneminder for Bionic64

Post by rockedge »

@spuppy You might need to open script #2 and change the hiawatha version to 10.12 and run it that way.

If the script finished but hiawatha did not install let me know and we can fix it another way.

Post Reply

Return to “Puppy Projects”