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 Tue 19 Nov 2019, 12:25
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
small webserver mysql/php/lighttpd (not yet) available
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [35 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
costal martignier

Joined: 28 Jan 2006
Posts: 197

PostPosted: Sun 29 Jan 2006, 13:05    Post subject:  

i haven't compiled it with open ssl support, but yes it is capable..

lighttpd is a complete replacement of apache, has plenty of modules, like rewrite, proxy and so on...

please go look @ http://lighttpd.net

and its size is striped down olny ~500KB

regards
costal
Back to top
View user's profile Send private message 
costal martignier

Joined: 28 Jan 2006
Posts: 197

PostPosted: Sun 29 Jan 2006, 16:43    Post subject: wooowwww  

just to tell you what is going on...

at the moment i have a ~4MB big usr_webenv.sfs, yes, 4MB Smile
included the ful webserver, full mysql, full php, and a mysql gui/frontend..

i'm really happy with that..

there are some problems, i need to work arround them...
mysql is running as root, this is not a good idea.

the configuration is done at bootup with some lines in rc.local..

keep you informed about the process..

regards
costal
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4843
Location: Manila

PostPosted: Sun 29 Jan 2006, 17:39    Post subject: User nobody  

That's really cool - a webserver environment for 4 MB!

Now, as you have mentioned user, does the htppd run as user "nobody" (this seems to be a general practice)?
Back to top
View user's profile Send private message 
costal martignier

Joined: 28 Jan 2006
Posts: 197

PostPosted: Sun 29 Jan 2006, 17:55    Post subject:  

at the moment everything is running as root Sad

im looking forward to find a good solution....
Back to top
View user's profile Send private message 
costal martignier

Joined: 28 Jan 2006
Posts: 197

PostPosted: Sun 29 Jan 2006, 18:18    Post subject:  

ok, now you can't say i'm only talking about creating this stuff Smile
take a look at the picture, it shows firefox (on crustpuppy) with the default site on localhost..
in the terminal you see the size of the whole webenvironment Smile

Cool

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

Joined: 25 May 2005
Posts: 4843
Location: Manila

PostPosted: Sun 29 Jan 2006, 20:03    Post subject: Let's have it  

Great so let's have it! You can provide a link for downloading and both Mu and Babbs will mirror it Smile

Will be useful to test and tweak it until it sizzles Very Happy
Back to top
View user's profile Send private message 
costal martignier

Joined: 28 Jan 2006
Posts: 197

PostPosted: Mon 30 Jan 2006, 03:50    Post subject:  

i provide the file when it's finished Smile
i like to go the linux way, and release only things that really works Smile

the user problem must be fixed first, and the autoloading of database and webservercontent from the live cd/usbstick also...

regards
costal
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


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

PostPosted: Mon 30 Jan 2006, 04:04    Post subject:  

costal martignier wrote:
i provide the file when it's finished Smile
i like to go the linux way, and release only things that really works Smile


Good news. Barry has a tendency to produce working code Wink Good to see the Swiss are keeping up that tradition Smile
Ian recently posted an SQL database pup that could be run from the command line - so this is a great improvement.

Such a small pup. So many good things Wink

_________________
Puppy on Raspberry Pi Release Candidate Cool Puppy Links Page http://www.smokey01.com/bruceb/puppy.html Very Happy
Back to top
View user's profile Send private message Visit poster's website 
raffy

Joined: 25 May 2005
Posts: 4843
Location: Manila

PostPosted: Mon 30 Jan 2006, 05:32    Post subject: lamppix  

Lamppix uses that approach - autoloading of database at startup. You might want to check it out. http://lamppix.tinowagner.com/
Back to top
View user's profile Send private message 
costal martignier

Joined: 28 Jan 2006
Posts: 197

PostPosted: Mon 30 Jan 2006, 06:13    Post subject:  

thx, i'm aware of them Smile

i found puppy because i wanted a use lampixx, but it's not really something good, tooo slow, tooooo big...

i allready have a really good idea, and i'm on the way to implement it Smile

regards
costal
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Mon 30 Jan 2006, 12:11    Post subject:  

I've got Xampp running on another distro, bu this might get me to switch the sever back over to Puppy. Sounds brilliant and the work is really appreciated.

Nathan
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
costal martignier

Joined: 28 Jan 2006
Posts: 197

PostPosted: Mon 30 Jan 2006, 19:14    Post subject: have some libs problems  

i compiled mysql with the prefix /usr/local

now all libs for mysql are in /usr/local/lib/mysql/*

this is no problem when you have installed the usr_devx.sfs, because the i can run ldconfig from my installscript..
but when i install my package on a livecd, usbstick or hdinstall without ldconfig there is no possibility for me to add these libs to the searchpath becuase ldconfig is not available Sad

can someon tell me what i should do???
i was ready to release a pre-alpha dotpup and then discobered the problem in the last second after testinstall #3283487 Wink

when i create symlinks it doesn't work, and i dont want to copy them to /usr/local/lib because they are 2 MB and i don't like redunanzy..

regards and thx for any help
costal
Back to top
View user's profile Send private message 
costal martignier

Joined: 28 Jan 2006
Posts: 197

PostPosted: Mon 30 Jan 2006, 19:25    Post subject:  

for the moment i have a workarround and put the ldconfig binary in the dotpup packe, and cp it to the harddisk when it is not available..

not really a solution, but it works...

apreciate some others ideas Smile

regards
costal
Back to top
View user's profile Send private message 
costal martignier

Joined: 28 Jan 2006
Posts: 197

PostPosted: Mon 30 Jan 2006, 19:42    Post subject: request for puppy 1.08  

i think the only correct way is to add

/usr/local/lib

to

/etc/ld.so.conf

because /usr/local/ is the correct path to add software normaly on linuxsystems..
most package compile and install to /usr/local when no --prefix is given..

please add this to puppy 1.08 and puppy 2.0

so there are not anymore such problem like i have now..

regards
costal
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: Mon 30 Jan 2006, 20:09    Post subject:  

in most cases you can move them from /usr/local/lib to /usr/lib
I create many Dotpups like this.
Mark
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 3 [35 Posts]   Goto page: Previous 1, 2, 3 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.0523s ][ Queries: 11 (0.0098s) ][ GZIP on ]