Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 May 2013, 13:49
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Xampp 1.4.15 Installer (Apache w/MySQL, PHP, Perl etc.)
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Author Message
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 10 Aug 2005, 02:16    Post subject:  Xampp 1.4.15 Installer (Apache w/MySQL, PHP, Perl etc.)  

Xampp 1.4.15 Installer

this should download and install Xampp
http://www.apachefriends.org/en/

XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl

contains: Apache, MySQL, PHP & PEAR, Perl, ProFTPD, phpMyAdmin, OpenSSL, GD, Freetype2, libjpeg, libpng, gdbm, zlib, expat, Sablotron, libxml, Ming, Webalizer, pdf class, ncurses, mod_perl, FreeTDS, gettext, mcrypt, mhash, eAccelerator, SQLite and IMAP C-Client

NOTE: this will download a 40 meg file
it will install 119 megs of files

basically:

1) copy download-xampp-here to wherever you want to download to, and click it to download

2) copy install-xampp-here to wherever you want to install Xampp, and click it to install

screenshot: http://tinypic.com/aau5ad.jpg

[Edit: Aug 15, 2005 - xampp 1.4.15]
xampp.pup
Description  Xampp 1.4.15 Installer
pup

 Download 
Filename  xampp.pup 
Filesize  3.21 KB 
Downloaded  1851 Time(s) 

Last edited by GuestToo on Mon 15 Aug 2005, 09:33; edited 1 time in total
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15109
Location: Paradox Realm

PostPosted: Wed 10 Aug 2005, 02:21    Post subject:  

Cool

Was just thinking we need SqLite support - Awesome G2 - I think this will make some Happy Puppys . . . will put this on the News page (and then download)

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Wed 10 Aug 2005, 03:18    Post subject: verg good  

G2 you are the dog!!!
I thank you so much
I hope that you or someone familiar put a wikki how-to up!!!
OR SET A DATE TO HAVE AN ONLINE CHAT TUTORIAL!!!
Now that would even better!!!
This is quite a piece of work good job!

_________________
Heaven is on the way, until then let's get the truth out!

Last edited by klhrevolutionist on Wed 10 Aug 2005, 07:29; edited 1 time in total
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 10 Aug 2005, 04:12    Post subject:  

the Xampp package is a bit experimental

i added the binaries and libraries to PATH so they will work with the rest of Puppy (not just with the server) ... i'm not sure if i needed to/should have added the library files to LD_LIBRARY_PATH or not ... if it causes problems, just remove the line from /etc/profile (i can easily change the dotpup)

not sure if i should have added the binaries/libraries to the beginning of the PATH or the end of the PATH

whatever i tried, seemed to work ok ... for example, the f-prot perl updater script worked ok (if you create /var/tmp/f-prot first)

also, you run lampp as root ... it automatically runs Apache as user "nobody"
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 3937
Location: Southeast Georgia, USA

PostPosted: Wed 10 Aug 2005, 23:41    Post subject:  

GuestToo wrote:

Xampp 1.4.10a Installer
this should download and install Xampp
http://www.apachefriends.org/en/


Anyone else having a problem accessing this site? Seeks and seeks but doesn't seem to connect. Is it really slow or has the word gotten out and it's just getting hammered?

doc
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 10 Aug 2005, 23:53    Post subject:  

apachefriends seems to be down for now ... maybe server maintenance ... there are good xampp docs on their webpages

here's the sourceforge page:
http://sourceforge.net/projects/xampp/
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4636
Location: Manila

PostPosted: Mon 15 Aug 2005, 00:24    Post subject: LAMP (XAMPP)  

Very Happy Like a turtle thrown to the river - yes, khl (pardon the short name), I will post a help/tutorial for Xampp soon - that's where I have done much work.

Great work, G2!

Doc, Xampp has been a leading Apache-PHP-Perl-MySQL installer for Linux, with a team based in Germany. It is GPL, a large download, but is complete.

For people who want to do help pages, here is a site to do it

http://www.ph-islands.net/puppy/

Forgive me, but my opinion is that a Wiki has higher overhead than simple scripts using HTML Smile So help files are better served as HTML.

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Mon 15 Aug 2005, 22:29    Post subject: upgrade Xampp 1.4.14 to 1.4.15  

i uploaded a new Xampp installer
it installs Xampp 1.4.15

here is a very basic program to upgrade Xampp 1.4.14 to 1.4.15

this will download another 29 megs
it requires at least 60 megs of free space
(/tmp is ok if you have the free space)

if you install 1.4.15 over 1.4.14, it will write over your configuration and webpages ... the upgrade should leave your webpages alone

http://www.apachefriends.org/en/faq-xampp-linux.html#upgrade
xampp14to15.pup
Description  upgrade Xampp 1.4.14 to 1.4.15
pup

 Download 
Filename  xampp14to15.pup 
Filesize  1.4 KB 
Downloaded  697 Time(s) 
Back to top
View user's profile Send private message 
dfv3

Joined: 13 Aug 2005
Posts: 7
Location: Winnipeg, Manitoba, CANADA

PostPosted: Sun 21 Aug 2005, 22:26    Post subject: Xampp 1.4.15 Installer (Apache w/MySQL, PHP, Perl etc.)  

First of all, I want to thank Mr. Barry Kauler, GuestToo, and the rest of the PuppyLinux developer-team for such a fantastic distro.

I've have done a lot of testing of mini distros (DSL, Austrumi, FeatherLinux, and GoblinX, amongst others) and have come to the conclusion that PuppyLinux is currently the most feasible (and easiest on creating a bootable USB thumb drive version of itself!) for mobile users, specially on hardwares that are 5 years old or older.

PuppyLinux version 1.0.4-mozilla (LiveCD) works great on my ThinkPad 770; Puppy-Chubby 1.0.4 with the OpenOffice package works too, except for the OpenOffice package (which won't open)!

Please note that I am running PuppyLinux 1.0.4 LiveCD on top of SimplyMepis 2004.06 with Linux kernel version 2.4.29 (gcc version 3.3.4) and ACPI disabled --- OpenOffice works with SimplyMepis albeit quite slow!.

My hardware: IBM ThinkPad 770 with Mobile Pentium MMX-233 MHz processor; 128 MB RAM memory; 20GB ATA Disk Drive; ATAPI SD-C2002 CD/DVD-ROM Drive; D-Link DWL-650 802.11b Wireless PC Card adapter (which doesn't work in PuppyLinux) and Kingston KNE-PC2T Ethernet adapter (auto-detected by Puppy and works fine).


Here's my problem: Embarassed

I've tried XAMPP installer through DotPup; but, the default setup (/root/my-roxapps/lampp/lampp <action>) won't let me start Apache as shown by the error message below:

# lampp start
Starting XAMPP for Linux 1.4.15...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Error 2! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://www.apachefriends.org/f/
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
nohup: No such file or directory
nohup: No such file or directory
XAMPP: /etc/host.conf: line 4: bad command `alert off'
- getaddrinfo '' error: No address associated with hostname
- warning: unable to determine IP address of ''
- error: no valid servers configured
- Fatal: error processing configuration file '/opt/lampp/etc/proftpd.conf'
XAMPP: Error 1! Couln't start ProFTPD!
XAMPP for Linux started.
#

And when I tried "http://127.0.0.1" ---- the Mozilla browser return this Alert prompt: "The connection was refused when attempting to contact 127.0.0.1".

Have I forgotten something?


Thanks again,
dfv3
screenshot1.jpg
Description  My lovely Puppy desktop!
jpg

 Download 
Filename  screenshot1.jpg 
Filesize  136.05 KB 
Downloaded  7202 Time(s) 

Last edited by dfv3 on Mon 05 Sep 2005, 01:12; edited 1 time in total
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4636
Location: Manila

PostPosted: Sun 21 Aug 2005, 23:57    Post subject: Less overhead  

Hi. Don't know exactly what it means to be "on top of Mepis", but a Puppy installation will involve less overhead, am sure. Anyway, you will need only 300 MB for Chubby Puppy (with Open Office) installation, as the swap partition will be common to the Linux distros.

And if certain services (like HTTPD, MySQLD, FTPD) are already running (say, from SimplyMepis), identical programs can't be started.

In my experience, XAMPP runs wherever you put it in Linux, so it may not be the location of files that's causing the problem.

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
arster

Joined: 23 Sep 2005
Posts: 2

PostPosted: Sat 24 Sep 2005, 11:36    Post subject: XAMPP - Apache won't start - Too Many Files  

Like dfv3, I too received the XAMPP: Error 2! Couldn't start Apache!
msg and everything else he mentioned.
.
I then tried bin/Apachectl start (idea from apachefriends irc) and received the message ./apachectl: [: Too many open files.

The problem now is how to increase the numbers of files and inodes.

There is no /proc/sys/fs/inode-max file and I can't create it.

echo "some bigger number" >/proc/sys/fs/file-max
alone isn't solving the problem.

Any help would be appreciated.
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sat 24 Sep 2005, 15:15    Post subject:  

Xampp seemed to work ok on Puppy 1.0.4 but not on 1.0.5 ... i don't know why

maybe the 1.05 kernel was compiled with slightly different parameters

i tried installing nohup but it doesn't seem to make any difference

you could try increasing the number in /proc/sys/fs/file-max ... i think the inode number does not need to be set for kernels newer than 2.2 (Puppy's kernel is 2.4 something)

Xampp is pretty much a self-contained folder that installs in /opt ... since /opt is in ram in most Puppys and anything in /opt is lost when Puppy shuts down, i put a symlink in /opt instead, and the Xampp folder can be put anywhere

there is a newer version of Xampp available now, 1.4.16 ... i haven't made an installer package for it yet
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sat 24 Sep 2005, 17:29    Post subject:  

i did a little experimenting and looked in the apachectl script

it uses ulimit to set the number of open files

bash's ulimit and busybox's ulimit seem to behave differently

type:
bash -c "ulimit -a"
and
ash -c "ulimit -a"
to see the difference

i edited the config section of the lampp/bin/apachectl file ... i changed:

ULIMIT_MAX_FILES="ulimit -S -n `ulimit -H -n`"

to:

ULIMIT_MAX_FILES="ulimit -S 1024"

and Xampp seems to run ok on Puppy 1.0.5rc - screenshot

you can install nohup to get rid of the nohup error message
Back to top
View user's profile Send private message 
arster

Joined: 23 Sep 2005
Posts: 2

PostPosted: Sun 25 Sep 2005, 20:49    Post subject: lampp worked!  

Thanks GuestToo. The ulimit change got me up and running.

However, when I try to save it all to my multisession CD, it won't save it. Nothing gets written. If it's something as simple as the opt symlink confusing issues, or the size of puppyxxx, please let me know. Otherwise, I'll start digging into some of the other topics to look for an answer. My guess is it's some problem not related to this thread.

Thanks to the puppy masters and owner for putting the fun back in linux.
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sun 25 Sep 2005, 21:18    Post subject:  

the way the multilsession cd seems to be designed, it does not save files larger than a certain size ... the thing is, everything on the cd is loaded into ram, and it tries to limit the space being used

Xampp takes up a relatively large amount of space

it would probably be better to remaster Puppy, and put Xampp in /usr ... this will make usr_cram.fs somewhat larger

Xampp has sort-of preinstalled versions of Apache, sql, perl etc etc etc all in a folder ... /opt/xampp (or /opt/xampp, i forget which) ... /opt is where it's intended to go

for most versions of Puppy, /opt is in ram, and anything in /opt disappears when Puppy shuts down ... and you usually don't want to fill up your ram with stuff that would be better on your hard drive

so my package installs Xampp on the hard drive. exactly as if it were in /opt, but it puts it somewhere else (anywhere else, actually), and simply symlinks the Xampp folder to /opt

so all of this is a problem if you want Xamp to be on a ms cd ... it's also a problem if you want it in a remastered cd

you could move the xampp folder and the wrapper script to /usr, and change the wrapper scripts so that the xampp folder in /usr is now symlinked to /opt ... then remaster Puppy

another way would be to make a squashfs file from the xampp folder, and mount it using unionfs (the xamp folder needs to be writeable) ... this might work with the multisession cd

basically, you would be making a Chubby Puppy with Xampp instead of Open Office

i think the ms cd will automatically save a large compressed file on the cd, but will not automatically load it in ram when Puppy boots ... so you could install Xampp in /tmp, make a tar.gz backup of the xampp folder, then unzip it back to /tmp when Puppy boots ... it will not save your logs and configuration changes unless you make a new tar.gz each time ... and you will need a lot of ram (the ms cd needs a lot of ram anyway)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0783s ][ Queries: 12 (0.0064s) ][ GZIP on ]