Which LAMP server pet/sfs is there for wary 5?
Which LAMP server pet/sfs is there for wary 5?
Hi,
Which LAMP server pet/sfs is available to use on wary 5?
I mean apache/mysql/php package.
Sincerely,
Srinivas Nayak
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]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]
[url]http://srinivas-nayak.blogspot.com/[/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Which LAMP server
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
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
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
XAMPP in /mnt/home/opt
You will always need a symlink.
If you have your lampp in /mnt/home/opt then
Start it by:
You might put this into /etc/rc.d/rc.local
Have fun
If you have your lampp in /mnt/home/opt then
Code: Select all
ln -s /mnt/home/opt/lampp /opt/lampp
Code: Select all
/opt/lampp/lampp start
Have fun
- Attachments
-
- xampp.png
- Running lampp in slacko puppy
- (20.7 KiB) Downloaded 786 times
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
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]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]
[url]http://srinivas-nayak.blogspot.com/[/url]
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]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]
[url]http://srinivas-nayak.blogspot.com/[/url]
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.
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
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
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
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]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]
[url]http://srinivas-nayak.blogspot.com/[/url]
Yes, I think so. They will end up in your pupsave so available on reboot too.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?
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
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
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]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]
[url]http://srinivas-nayak.blogspot.com/[/url]