DSL Ideas and Suggestions :: damnsmalllinux server edition



AwPhuch, I think you can strip out all of the X windows stuff from dsl, but when I tried stripping out all of the "crap" I was left with 34 Megs, not 20-25.  I might have missed stuff, but I tried to get rid of anything X based.  I used dpkg --remove packagename to get rid of 26 packages.  I know that some things didn't get removed because there were residual files all over the place that I stripped out by hand.

My second thought is that it's much easier to make a remaster than to make dsl files for all of your add-ins.  You want Apache, mysql, & PHP from a live CD?  No problem (well some tricky bits like you need to apt-get uucp even though it doesn't say you do).  You want to make them into dsl files and load them on demand?  Now that's hard.  If you want a liveCD web server, it might be easiest to include all of the popular things that people ask for all the time (like Apache, mysql, and PHP) and let the core size be what it is.  My guess is around 100 Megs, no X windows.

My third thought is security.  People don't even have firewalls on the windows boxes.  There are so many zombie machines out there were in the night of the living dead.  And web sites get hacked all the time.  Even if they can't destroy your data and system, they could still usurp it and run whatever they wanted.  Send spam, attract attention, who knows what.  There is a lot of danger in an "out of the box easy to startup web server."

Quote (clacker @ Nov. 02 2004,21:23)
AwPhuch, I think you can strip out all of the X windows stuff from dsl, but when I tried stripping out all of the "crap" I was left with 34 Megs, not 20-25.  I might have missed stuff, but I tried to get rid of anything X based.  I used dpkg --remove packagename to get rid of 26 packages.  I know that some things didn't get removed because there were residual files all over the place that I stripped out by hand.

My second thought is that it's much easier to make a remaster than to make dsl files for all of your add-ins.  You want Apache, mysql, & PHP from a live CD?  No problem (well some tricky bits like you need to apt-get uucp even though it doesn't say you do).  You want to make them into dsl files and load them on demand?  Now that's hard.  If you want a liveCD web server, it might be easiest to include all of the popular things that people ask for all the time (like Apache, mysql, and PHP) and let the core size be what it is.  My guess is around 100 Megs, no X windows.

My third thought is security.  People don't even have firewalls on the windows boxes.  There are so many zombie machines out there were in the night of the living dead.  And web sites get hacked all the time.  Even if they can't destroy your data and system, they could still usurp it and run whatever they wanted.  Send spam, attract attention, who knows what.  There is a lot of danger in an "out of the box easy to startup web server."

Well, if it is stripped down...this gives more room to make a good starting basis...

The addin MyDSL modules arent hard to add (winiso) is very nice....
if a WEBMIN module was added it makes configuring every aspect of linux just click and go! (have you seen it yet?)

rcfirewall is a very good module and its super tiny!  I have tested it  and it works nice!

Building a "core" release is the only logical way to go with DSL-server

Brian
AwPhuch

ok, dsl can be cut down smaller and still have an xserver and wm and the tcl interpreter needed for the gui.
all the x apps except emelfm, scite and xterm can go, also a lot of command line stuff can go, there is no need for 90% of it, even some of the kernel modules can be dumped, a lot of stuff is not needed for a web server, pcmcia support for instance (i have to check to see if it can be removed easily) is useless as using a laptop as a webserver is a really daft idea :) wireless support is questionable, but i think i will leave it in. i will try and set up so it automatically looks on your hd and finds a specific folder, symlinks it with the htdocs of whatever web server is used (probably monkey), so just pop the cd in and you are serving your site in a couple of minutes :)

Quote (ico2 @ Nov. 03 2004,04:47)
ok, dsl can be cut down smaller and still have an xserver and wm and the tcl interpreter needed for the gui.
all the x apps except emelfm, scite and xterm can go, also a lot of command line stuff can go, there is no need for 90% of it, even some of the kernel modules can be dumped, a lot of stuff is not needed for a web server, pcmcia support for instance (i have to check to see if it can be removed easily) is useless as using a laptop as a webserver is a really daft idea :) wireless support is questionable, but i think i will leave it in. i will try and set up so it automatically looks on your hd and finds a specific folder, symlinks it with the htdocs of whatever web server is used (probably monkey), so just pop the cd in and you are serving your site in a couple of minutes :)

Sweet...Can we have a "loadable module" to put the pcmica back in if needed
I would like to try to get "standard" server modules as well...this way DSL even though it is a light release is still viable in most respects...

How about this:
Lets say a guy has a 200Mhz machine with a 5 gig drive.
DSL-server "LiveCD"
3 partitions on drive (/dev/hda1 is a 100 meg "configuration save parition, /dev/hda2 is 128 meg swap, and hda3 is the rest)
He slaps in the DSL-server cd (with Apache.dsl and webmin.dsl and rcfirewall put on cd with winiso) and it boots up, he can now use webmin and save the apache config to the 100Meg config dir, along with any of his "changes" (such as custom IPTABLES rules, apache.conf settings, whatnot).
This way the bulk of the OS is on the "LiveCD" and his variable files (configs and whatnot are stored locally)
If we could get a solid WEBMIN.dsl module you wont need X...webmin is capable of doing 100% configuration of linux from a self generated webserver!
http://www.webmin.com/standard.html and it is quite light...and very easy to re-add removed modules or customise it to your needs...
This might help too
http://www.webmin.com/screens.html

Brian
AwPhuch

When this comes to fruition, I would like to help test it if that's okay. :D

-J.P.

Next Page...
original here.