CentOS 6 Kickstart Minimal Install: for JVM, MySQL, and Apache VMs

virtualeyes asked:

Trying to put together a kickstart as per this file for “true” minimal installations of CentOS 6 to run on an ESXi (v4.1u2) virtualization server (lives behind a Cisco ASA)

Ideally the OS footprint will be fairly small since I plan on running several JVM instances, each in their own CentOS VM.

The virtual stack will be:

1) Apache 2.4 web server/load balancer VM
2) MySQL 5.5 VMs (master/slave)
3) 5 JVM VMs running Java 7

I have never rolled with a near package-less install (i.e. --nobase), so am looking for advice on what the essential packages are for a minimal functional installation of CentOS 6 (note: Apache, MySQL, and Java 7 will be installed from source; i.e. not via yum/rpm).

If it’s not worth the bother (i.e. CentOS minimal ISO isn’t too bloated), let me know (I do have sufficient disk space, CPU cycles and RAM, but in the interest of working from a streamlined base OS, am asking the question).

Otherwise, a list of the must-have packages would be much appreciated.

Thanks

My answer:


nobase is fine, but you will want to add the acpid package so that the hypervisor can cleanly shutdown and reboot the virtual machine. That’s about all I can think of.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.