Making of a customized kernal: say just for www?

Making of a customized kernal: say just for www?

Post by Raqueeb Hass » Wed, 14 Aug 2002 11:12:03



Hello BSD gurus!

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?

Any clue building that specific kernal, please?

Thanks in advance.

raqueeb hassan
bangladesh

 
 
 

Making of a customized kernal: say just for www?

Post by Warren Bloc » Wed, 14 Aug 2002 13:29:49



>  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?

(KernEl, please)

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

 
 
 

Making of a customized kernal: say just for www?

Post by Raqueeb Hass » Thu, 15 Aug 2002 11:27:30


Thanks for those hints!
ooops! sorry for the misspelled word :(

thanks again.

raqueeb hassan
bangladesh

 
 
 

1. Making of a customized kernal: say just for www?

Hello Linux gurus!

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?

Any clue building that specific kernal, please?

Thanks in advance.

raqueeb hassan
bangladesh

2. PPP lockup

3. ...FreeBSD kernal vs Linux ( say slackware... ) kernal.

4. Apache URL Redirect

5. Making a customized SVR4 BOS tape?

6. Ndiswrapper breaks Nvidia drivers

7. Solaris 8 "FCS"?

8. Customized installation with customized comps file...

9. oss437a: Makes my kernal un bootable: Patch Streams Lock Timeout

10. iBCS and ppp problems after installing slackware 3 and making new kernal 1.3.74

11. Made e2fs filesystem, mount still says "fs type ntfs not supported by kernel"