Building a server from Red Hat RPMs
Whilst not exactly software to be used by a server, I'm interested in building a leaner linux server from Red Hat/CentOS RPMs from scratch.
Obviously this is a daunting task, but I'd like to take it on for 3 reasons:
Try as I might, I couldn't find out what the process for building CentOS (being my preferred example) from RH's rpms. Can anyone point me in the right direction? |
Why aren't you building it from CentOS rpms? .. the CentOS project rebuild all their rpm's from RH source - minus the RH proprietary parts
|
I did mention CentOS RPMs :)
See? Quote:
And you are 100% right, CentOS is the better way to go, none of the worries related to branding. In either case, I'm looking for a tutorial or a how to so I can actually get started with that. I found nothing on the CentOS site. Any ideas? TIA |
If the result is a leaner CentOS, then you probably want to use a kickstart script. It depends on how different you want to make it.
|
if you want a lean OS you might want to start with "Arch Linux "
that is VERY lean . |
Well here, let me describe what I'm looking for and we can take it from there.
I'm trying to build, as a proof of concept for now, a VERY lean linux server capable OS (a la CentOS/Debian) where the result would be used as the platform to build a storage solution, along the lines of NetApp. I looked at OrangeJeos and that would have been an excellent starting point to then build that storage oriented OS I'm thinking of. Please bear in mind that what I'm thinking of is not along the lines of OpenFiler or FreeNAS; its a headless server that could be used for enterprise scale storage solutions where HDDs plugged are automatically recognized and then RAID-ed accordingly (assuming some RAID schema is in place). Actually, I'm basing it all on NetApp. My two options are OpenBSD and CentOS, but somehow, and I have no concrete evidence of this, I feel that with the exception of ZFS, Linux generally has better handling of file systems. Again, I can easily be wrong in this regard. If for nothing, I'd like to have a go at this and see if I can build this for my sake, for the sake of "I can". Call it a learning experience and if its stable and successful enough, it'll be open sourced. Having said all that, what do you guys think my next step should be? I was thinking of as follows:
Suggestions and constructive criticism are certainly welcome |
Well, I've found these as a starting point:
Now its a matter of spinning my own and experimenting I guess. |
You may as well start with OrangeJeos as a base and customise it ... no point reinventing the wheel
|
Quote:
|
Well, I'm not after re-inventing the wheel.
In the end, Vanilla CentOS or OrangeJeos, it doesn't matter so long as the end result is achieved I suppose. But that still doesn't point me in the right direction. Are the links that I posted earlier appear to be a valid starting point? |
"How to install CentOS" is very well documented, I suggest you start here:
http://www.centos.org/docs/ http://wiki.centos.org/ Personally I would start with a network install or "netinstall" of the basic system, then build up from there. Good luck! :) |
Install?
I guess I'm not clear enough in describing what I'm looking for, my apologies. I'm after re-spinning a new distro based on a seriously cut down version of CentOS. |
A netinstall will give you a "seriously cut down version of CentOS" in less than 15 minutes, and then you can get started on:
Quote:
|
Insightful.
Added to your reputation :) I'll give that way a whirl. I assume that the netinstall is essentially the kernel, file system and networking modules? I'll have to tackle the packaging of it later, but that's another adventure for another time. Thanks, I'll give it a whirl right now. |
I think this is what you are looking for: http://www.linuxfromscratch.org/
Personally though, for your POC, I would start with a vanilla CentOS install (base install) and then specifically remove additional unneeded packages to make it even slimer. For example, I think even a base install has Bluetooth and cups which baffles me for a server - but i digress. You could also recompile your own slim kernel, and then focus on building the scripts to utilize whatever you will be using for HDD management (mdraid???). i think that will be the meat-n-potatoes of your work. Once your POC is working, working towards sliming it down even further would be fairly easy to do. (well snowpine said it before me .... so I agree :-) ) |
All times are GMT -5. The time now is 02:11 AM. |