Which LAMP server pet/sfs is there for wary 5?

Booting, installing, newbie
Post Reply
Message
Author
snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

Which LAMP server pet/sfs is there for wary 5?

#1 Post by snayak »

Hi,

Which LAMP server pet/sfs is available to use on wary 5?

I mean apache/mysql/php package.

Sincerely,
Srinivas Nayak
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Which LAMP server

#2 Post by L18L »

Do you really need a pet or sfs :?:

I have used always just
http://www.apachefriends.org/en/xampp-linux.html
in /opt

Now I would take /mnt/home/opt to be able to use it from any puppy

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

XAMPP in /mnt/home/opt

#3 Post by L18L »

You will always need a symlink.
If you have your lampp in /mnt/home/opt then

Code: Select all

ln -s /mnt/home/opt/lampp /opt/lampp
Start it by:

Code: Select all

/opt/lampp/lampp start
You might put this into /etc/rc.d/rc.local

Have fun :D
Attachments
xampp.png
Running lampp in slacko puppy
(20.7 KiB) Downloaded 786 times

snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#4 Post by snayak »

Many many thanks.

I'll do the same.

Sincerely,
Srinivas Nayak
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#5 Post by snayak »

Dear L18L,

I did

tar xzvf xampp-linux-1.7.7.tar.gz -C /mnt/sda5/xampp

it gave a lot of error like,

tar: lampp/etc/openssl.cnf: Cannot create symlink to `/opt/lampp/share/openssl/openssl.cnf': Operation not permitted
tar: lampp/htdocs/xampp/.version: Cannot create symlink to `/opt/lampp/lib/VERSION': Operation not permitted

How to install xampp to some other directory but not to /opt?

Sincerely,
Srinivas Nayak
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#6 Post by snayak »

Is it because /mnt/sda5 is FAT?
Last edited by snayak on Sun 11 Nov 2012, 20:30, edited 1 time in total.
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#7 Post by mcewanw »

Make a directory called opt in /mnt/home.

If you already have stuff in /opt, move it all into the new /mnt/home/opt.

Then put a symlink in / pointing to /mnt/home/opt.

Put your xampp in the new opt, which really is /mnt/home/opt.

Something along these lines should work. I got it to work when my /mnt/home was on an ntfs partition, so fat should be okay here for xampp at least.
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#8 Post by mcewanw »

A slight modification to the above, which is what I do, is to create a dummy directory called opt. Best to do so on a linux filesystem to make sure permissions and all internal symlinks work okay. Then untar your xampp into that, and finally make that into an sfs (the sfs should be made such that it only contains the folder opt and its lampp contents). There are various howto's on the forum about making sfs. The sfs can then be stored on /mnt/home regardless of the underlying filesystem.
github mcewanw

snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#9 Post by snayak »

Dear mcewanw,

Many thanks for your idea.
I created an sfs.
It is working!

By the way, if I put some files in /opt/lampp/htdocs, and reboot my machine, will those files be there after reboot?

Sincerely,
Srinivas Nayak
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#10 Post by mcewanw »

snayak wrote: By the way, if I put some files in /opt/lampp/htdocs, and reboot my machine, will those files be there after reboot?
Yes, I think so. They will end up in your pupsave so available on reboot too.

I also made a xampp sfs some while back but never uploaded it anywhere, though I did offer... :-) :

http://www.murga-linux.com/puppy/viewto ... 735#650702

But it is best to just make your own anyway, so I'm happy that worked for you.
github mcewanw

snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#11 Post by snayak »

Dear mcewanw,

Many thank for your suggestions. I did sfs and it worked. Also the files saved inside /opt/lampp/htdocs are remaining after reboot.

I am surprised that how it is being kept.
As you said it goes to pupsave.
That means it doesnot change the sfs file itself? Then how it is being stored in pupsave? Any idea? Till date I was thinking pupsave is the /root directory.


Sincerely,
Srinivas Nayak
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

Post Reply