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 Mon 24 Nov 2014, 19:09
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Which LAMP server pet/sfs is there for wary 5?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
snayak

Joined: 14 Sep 2011
Posts: 231

PostPosted: Wed 09 May 2012, 10:11    Post subject:  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

_________________
Machine: Wary 530, AMD Athlon 2000+, ASUS A7N266-VM board, 512MB DDR RAM, 40GB HDD, 52xCDRW, PS/2 Mouse/Keyboard, USB 2.0.
Home: http://www.mathmeth.com/sn/
Blog: http://srinivas-nayak.blogspot.com/
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2579
Location: www.eussenheim.de/

PostPosted: Thu 10 May 2012, 08:34    Post subject: Which LAMP server
Subject description: XAMPP
 

Do you really need a pet or sfs Question

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
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2579
Location: www.eussenheim.de/

PostPosted: Fri 11 May 2012, 08:25    Post subject: XAMPP in /mnt/home/opt  

You will always need a symlink.
If you have your lampp in /mnt/home/opt then
Code:
ln -s /mnt/home/opt/lampp /opt/lampp


Start it by:
Code:
/opt/lampp/lampp start

You might put this into /etc/rc.d/rc.local

Have fun Very Happy
xampp.png
 Description   Running lampp in slacko puppy
 Filesize   20.7 KB
 Viewed   696 Time(s)

xampp.png

Back to top
View user's profile Send private message 
snayak

Joined: 14 Sep 2011
Posts: 231

PostPosted: Mon 14 May 2012, 01:27    Post subject:  

Many many thanks.

I'll do the same.

Sincerely,
Srinivas Nayak

_________________
Machine: Wary 530, AMD Athlon 2000+, ASUS A7N266-VM board, 512MB DDR RAM, 40GB HDD, 52xCDRW, PS/2 Mouse/Keyboard, USB 2.0.
Home: http://www.mathmeth.com/sn/
Blog: http://srinivas-nayak.blogspot.com/
Back to top
View user's profile Send private message 
snayak

Joined: 14 Sep 2011
Posts: 231

PostPosted: Sun 11 Nov 2012, 15:33    Post subject:  

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

_________________
Machine: Wary 530, AMD Athlon 2000+, ASUS A7N266-VM board, 512MB DDR RAM, 40GB HDD, 52xCDRW, PS/2 Mouse/Keyboard, USB 2.0.
Home: http://www.mathmeth.com/sn/
Blog: http://srinivas-nayak.blogspot.com/
Back to top
View user's profile Send private message 
snayak

Joined: 14 Sep 2011
Posts: 231

PostPosted: Sun 11 Nov 2012, 16:10    Post subject:  

Is it because /mnt/sda5 is FAT?
_________________
Machine: Wary 530, AMD Athlon 2000+, ASUS A7N266-VM board, 512MB DDR RAM, 40GB HDD, 52xCDRW, PS/2 Mouse/Keyboard, USB 2.0.
Home: http://www.mathmeth.com/sn/
Blog: http://srinivas-nayak.blogspot.com/

Last edited by snayak on Sun 11 Nov 2012, 16:30; edited 1 time in total
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2349
Location: New Zealand

PostPosted: Sun 11 Nov 2012, 16:19    Post subject:  

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.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2349
Location: New Zealand

PostPosted: Sun 11 Nov 2012, 16:24    Post subject:  

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.
_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
snayak

Joined: 14 Sep 2011
Posts: 231

PostPosted: Sun 11 Nov 2012, 17:23    Post subject:  

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

_________________
Machine: Wary 530, AMD Athlon 2000+, ASUS A7N266-VM board, 512MB DDR RAM, 40GB HDD, 52xCDRW, PS/2 Mouse/Keyboard, USB 2.0.
Home: http://www.mathmeth.com/sn/
Blog: http://srinivas-nayak.blogspot.com/
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2349
Location: New Zealand

PostPosted: Sun 11 Nov 2012, 19:00    Post subject:  

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/viewtopic.php?p=650702&search_id=730049735#650702

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

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
snayak

Joined: 14 Sep 2011
Posts: 231

PostPosted: Mon 12 Nov 2012, 14:57    Post subject:  

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

_________________
Machine: Wary 530, AMD Athlon 2000+, ASUS A7N266-VM board, 512MB DDR RAM, 40GB HDD, 52xCDRW, PS/2 Mouse/Keyboard, USB 2.0.
Home: http://www.mathmeth.com/sn/
Blog: http://srinivas-nayak.blogspot.com/
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0614s ][ Queries: 13 (0.0049s) ][ GZIP on ]