small webserver mysql/php/lighttpd (not yet) available
-
- Posts: 198
- Joined: Sat 28 Jan 2006, 15:55
-
- Posts: 198
- Joined: Sat 28 Jan 2006, 15:55
wooowwww
just to tell you what is going on...
at the moment i have a ~4MB big usr_webenv.sfs, yes, 4MB
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
at the moment i have a ~4MB big usr_webenv.sfs, yes, 4MB
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
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)?
Now, as you have mentioned user, does the htppd run as user "nobody" (this seems to be a general practice)?
-
- Posts: 198
- Joined: Sat 28 Jan 2006, 15:55
-
- Posts: 198
- Joined: Sat 28 Jan 2006, 15:55
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
Will be useful to test and tweak it until it sizzles
Will be useful to test and tweak it until it sizzles
-
- Posts: 198
- Joined: Sat 28 Jan 2006, 15:55
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Good news. Barry has a tendency to produce working code Good to see the Swiss are keeping up that traditioncostal martignier wrote:i provide the file when it's finished
i like to go the linux way, and release only things that really works
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
lamppix
Lamppix uses that approach - autoloading of database at startup. You might want to check it out. http://lamppix.tinowagner.com/
-
- Posts: 198
- Joined: Sat 28 Jan 2006, 15:55
-
- Posts: 198
- Joined: Sat 28 Jan 2006, 15:55
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
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
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
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
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
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
-
- Posts: 198
- Joined: Sat 28 Jan 2006, 15:55
-
- Posts: 198
- Joined: Sat 28 Jan 2006, 15:55
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
/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
-
- Posts: 198
- Joined: Sat 28 Jan 2006, 15:55
-
- Posts: 198
- Joined: Sat 28 Jan 2006, 15:55
ooohhh nooo...
made a big misstake
everything was running fine now, on all my machines, but then i realized that i put the variable files www and db into the "right" folder in /var
i didn't realized that this folder don't get saved, because i'm developing on a harddisk install...
i'm sad now, no i can start from the beginning and must recompile mysql, and change all the scripts the dotpup and the squashfile...
ooooooooh noooooo
regards
costal
made a big misstake
everything was running fine now, on all my machines, but then i realized that i put the variable files www and db into the "right" folder in /var
i didn't realized that this folder don't get saved, because i'm developing on a harddisk install...
i'm sad now, no i can start from the beginning and must recompile mysql, and change all the scripts the dotpup and the squashfile...
ooooooooh noooooo
regards
costal
-
- Posts: 198
- Joined: Sat 28 Jan 2006, 15:55
besides all problems, here is the first pre-alpha release og webenv.pup
http://www.murga.org/~puppy/viewtopic.php?t=5801
regards
costal
http://www.murga.org/~puppy/viewtopic.php?t=5801
regards
costal
-
- Posts: 198
- Joined: Sat 28 Jan 2006, 15:55