LAMP - new version server package with Hiawatha

Stuff that has yet to be sorted into a category.
Message
Author
raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

amp.sfs

#22 Post by raffy »

Growler has done that (AMP.sfs) and I have used it with Puppy 4.1.2. Maybe I can re-upload it somewhere (later, within 12 hours).

Here it is: http://minipc.org/lamp/growler-amp_412.sfs

You may have to change the version number following your Puppy 4 version.
Last edited by raffy on Thu 07 May 2009, 11:18, edited 1 time in total.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#23 Post by MU »

Xampp:
http://www.murga-linux.com/puppy/viewtopic.php?t=39112

But read the messages on the second page carefully, to set the permissions, if PHP or mysql fails.

Alternatively simply download the original package, extract it, and copy or symlink /lampp in /opt/.

http://www.apachefriends.org/en/index.html

Then type in a console:
/opt/lampp/lampp start

It is very easy.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

Re: amp.sfs

#24 Post by tlchost »

raffy wrote:Growler has done that (AMP.sfs) and I have used it with Puppy 4.1.2. Maybe I can re-upload it somewhere (later, within 12 hours).

Here it is: http://minipc.org/lamp/growler-amp_412.sfs
I am using that with ChoicePup....works fine with localhost, but I can't seem to get any virtual hosts working.

My /etc/hosts file has
127.0.0.1 localhost puppypc dummy-test
192.168.1.1 pc2
192.168.1.2 pc3
192.168.1.3 pc4

The httpd-vhosts.conf has this
<VirtualHost *:80>
DocumentRoot "/usr/httpd/htdocs"
ServerName localhost
Order allow,deny
allow from all
</VirtualHost>


<VirtualHost *:80>
DocumentRoot "/mnt/home/htdocs/test"
ServerName dummy-test
Order allow,deny
allow from all
</VirtualHost>

While localhost works, dummy-test shows the index.php file in /usr/httpd/htdocs

I'm obviously doing something wrong and would really appreciate some help.

thanks

Thom

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

Re: amp.sfs

#25 Post by tlchost »

raffy wrote:growler-amp_412.sfs].
I loaded it up fine in ChoicePup...and when no one answered about how to get it to work with virtual hosts I changed the httpd.conf and virtual hosts files to point to /mnt/home/htdocs

Now I can copy whatever site I want to use into that directory and work on it.

It's kludgy, but gets the job done. Hopefully someone will share with me how to get virtual hosts to work.

Thom

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

phpMyAdmin in growler_412.sfs

#26 Post by tlchost »

The growler_412.sfs has phpMyAdmin installed under htdocs. I would like to move it under httpd, and I'm not sure what file and where that file is located to tell Apache the new location of phpMyAdmin. Can someone give me that information?

Thanks

Thom

User avatar
growler
Posts: 209
Joined: Mon 24 Mar 2008, 04:42
Location: Kapiti - New Zealand

Updated for latest

#27 Post by growler »

I recompiled the latest offerings of

Hiawatha - 6.14
mysql -5.1.34
php - 5.2.9

and made a new .pet

I moved the wiki page explaining the rationale of choices made and the download link to http://www.weberp.org/PuppyLinux

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

thanks

#28 Post by raffy »

Thank you very much for updating it for 4.2.1.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

User avatar
growler
Posts: 209
Joined: Mon 24 Mar 2008, 04:42
Location: Kapiti - New Zealand

Update again

#29 Post by growler »

I updated my LHMP package for Lucid 5.1

It contains:
Hiawatha 7.3
MariaDB - (Formerly known as mysql) 5.1.47
PHP 5.3.3 - using the new Fast CGI manager
phpMyAdmin - 3.3.5

It has accompanying scripts under /etc/init.d/ to start hiawatha (rc.httpd) and mariadb (rc.mysqld)

http://www.logicworks.co.nz/puppy/LHMP- ... -5.3.3.pet

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#30 Post by Aitch »

Hi Growler

The links to

http://www.puppylinux.org/wiki/archives ... h-hiawatha

no longer work.....

Nor does the

http://dotpups.de/puppy4/dotpups/Intern ... 9-i486.pet

link at http://www.weberp.org/PuppyLinux

I found this link whilst researching your webserver

http://www.hiawatha-webserver.org/forum/topic/412

Seems people are having problems and Using NON Puppy Hiawatha is being recommended.....
Try downloading Hiawatha from this site instead of using the puppy version. I really can't explain why it's not working for you. Hiawatha works fine. I run more than 30 websites on this server. Never had any problems with virtual host matching. Never heard any complaints from others.
Hmm, I hope those Puppy guys didn't mess with the code. Virtual host selection has always worked fine. I have no idea what's wrong with this combined LAMP version of Hiawatha.
....perhaps you can help?

Aitch :)

User avatar
growler
Posts: 209
Joined: Mon 24 Mar 2008, 04:42
Location: Kapiti - New Zealand

Virtual hosts

#31 Post by growler »

Aitch - to be honest I have never messed with virtual hosts under Hiawatha ... clearly the configs on this page are non-standard and are certainly not out of the box hiawatha.conf files - these people have been messing about and got into trouble. Hugo is just trying to isolate the issue by ensuring he is looking at his own code - hence the suggestion to get Hiawatha code from the source - they guy that wrote it.

I did get into trouble once with permissions I think it was 4.2 thread where the puppy hiawatha was dropped because we couldn't get it going. However, installing my pet worked fine. In fact it is absolutely rock solid. I am finding PHP 5.3.3 with the new php-fpm - Fast CGI Process manager - to perform more slowly that PHP 5.3.1 using the hiawatha php-fcgi fast GI wrapper - that started a bunch of PHP processes ready to field requests. The new php-fpm is supposed to be more efficient with memory though using threads I think.

I am certainly not qualified to mess with the code. Can't remember who did the web-server pupplet ...maybe they did.

The conf file is quite picky and I found the wigwam conf checker quite useful.

I updated http://www.weberp.org/PuppyLinux with the new link for the version compiled for puppy lucid 5.1 (now 16 Meg - all binaries stripped having taken out all I dared) at:

http://www.logicworks.co.nz/puppy/LHMP- ... -5.3.3.pet

Thanks for the prod!

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#32 Post by Aitch »

You're Welcome!

I wasn't sure if you'd know or have any interest in it, but I know how easy it is to lose track of links which become dead

Now, if someone could come up with a code which notified the poster of a dead link.........????

I'd spotted your Lucid 5.1 version, but since retiring I don't seem to have the time to do as much testing as I did before :lol:

Thanks for the update - keep up the good work

It's almost ironic reading your addition to webERP; I'd recently recommended PuppyMartin's webserver, without realizing it used your .pet ....nice

One of these days I'll set up a webserver of my own....

I've put it off because everyone I know who's tried gets attacked/spammed/loses data.....and I don't know enough to know how to protect myself

Ever thought about a 'How to maintain and protect your server' manual for pupserver noobs?? :wink:
However, I would not recommend running a live install without mirrored hard drives as the minimal redundancy required in a web-server. Neither would I trust software mirroring of hard drives - a proper hardware controller for RAID level 1 or greater is required
Useful, but insufficient for my needs......

Aitch :)

Post Reply