> Good morning! I was wondering what if I just run apache on a server,
> with no other services (other than those required for httpd) why don't
> I build a lightweight kernal for that?
Sure, many people like to remove unnecessary stuff. It's not hard.
Maybe not a big savings, but sooner or later you have to build a custom
kernel anyway to get special features like IPFW or sound.
Quote:> Any clue building that specific kernal, please?
Go to /usr/src/sys/i386/conf and copy GENERIC to another kernel file.
The custom is for them to be upper case, so let's call it MYKERNEL like
the examples usually do. Edit that file, removing unnecessary options
and drivers. A good starting point is to comment out all the Ethernet
card drivers for cards you don't have (although many depend on miibus,
so be cautious about removing it).
Don't have SCSI? Comment out some of the SCSI stuff (careful, some USB
devices use some of the SCSI code).
And so on. My kernel is about 768K smaller than GENERIC, and it's got a
fair amount of extra features.
Warren Block * Rapid City, South Dakota * USA