[Centos-docs] Re: [CentOS] Trimming the fat out of a Centos 4.4 Installation

Thu Sep 28 12:52:52 UTC 2006
Karanbir Singh <mail-lists at karan.org>

Jim Wildman wrote:
> On Thu, 28 Sep 2006, Erick Perez wrote:
> 
>> Hi, just to avoid re-inventing the wheel, is there any document that
>> can help me reduce even further a "minimum" installation of Centos 4.4
>> (BTW can you say 600mb is minimum)?
>>
> 
> This is my 'minimal base' that I start from.  You could remove the lvm2
> stuff as well.  It will do an install of 163 packages and take about
> 540M of disk.  About the only thing you will have is ssh and yum.  For 
> a card, you obviously want to change the disk layout.
> 
> Apply all the other comments to this one.
> 
> 
> # Kickstart file automatically generated by anaconda.
> 
> install
> url --url <your url here>
> lang en_US.UTF-8
> langsupport --default=en_US.UTF-8 en_US.UTF-8
> keyboard us
> # xconfig --card "VMWare" --videoram 16384 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 16
> network --device eth0 --bootproto dhcp
> rootpw --iscrypted <your pw here>
> firewall --disabled
> selinux --disabled
> authconfig --enableshadow --enablemd5
> timezone America/New_York
> bootloader --location=mbr
> # The following is the partition information you requested
> # Note that any partitions you deleted are not expressed
> # here so unless you clear all partitions first, this is
> # not guaranteed to work
> clearpart --linux --drives=sda
> part /boot --fstype ext3 --size=100 --ondisk=sda
> part pv.2 --size=0 --grow --ondisk=sda
> volgroup VolGroup00 --pesize=32768 pv.2
> logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 
> logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1024 
> reboot
> skipx
> 
> %packages -nobase
> yum
> -acpid
> -authconfig
> -bc
> -checkpolicy
> -dmraid
> -policycoreutils
> -selinux-policy-targeted
> -libxslt
> -xmlsec1-openssl
> -xmlsec1
> -nc
> -lsof
> 
> -apmd
> -aspell
> -aspell-en
> -autofs
> -bluez-bluefw
> -bluez-hcidump
> -bluez-libs
> -bluez-utils
> -crash
> -cups
> -cups-libs
> -dapl
> -desktop-file-utils
> -dhcpv6_client
> -diskdumputils
> -dos2unix
> -dosfstools
> -dump
> -eject
> -finger
> -fontconfig
> -freetype
> -ftp
> -gpm
> -groff
> -hdparm
> -htmlview
> -ibmasm
> -indexhtml
> -ipsec-tools
> -irda-utils
> -isdn4k-utils
> -jpackage-utils
> -jwhois
> -kernel-ib
> -kernel-smp
> -krb5-workstation
> -lftp
> -lha
> -libgssapi
> -libibverbs
> -libmthca
> -librdmacm
> -libsdp
> -libwvstreams
> -lksctp-tools
> -logrotate
> -logwatch
> -m4
> -m4
> -mailcap
> -mailx
> -man
> -man-pages
> -mdadm
> -minicom
> -mkbootdisk
> -mt
> -mtools
> -mtr
> -mt-st
> -nano
> -netconfig
> -netdump
> -net-snmp-libs
> -NetworkManager
> -nfs
> -nfs-utils-lib
> -nscd
> -nss_ldap
> -numactl
> -OpenIPMI
> -OpenIPMI-libs
> -pam_ccreds
> -pam_krb5
> -pam_passwdqc
> -pam_smb
> -parted
> -patch
> -pax
> -pcmcia-cs
> -pdksh
> -pinfo
> -portmap
> -ppp
> -procmail
> -psacct
> -quota
> -rdate
> -rdist
> -redhat-lsb
> -redhat-menus
> -rhpl
> -rmt
> -rp-pppoe
> -rsh
> -rsync
> -sendmail
> -setarch
> -setools
> -slocate
> -specspo
> -stunnel
> -sudo
> -syslinux
> -sysreport
> -system-config-mouse
> -system-config-network-tui
> -system-config-securitylevel-tui
> -talk
> -tcpdump
> -tcsh
> -telnet
> -time
> -traceroute
> -unix2dos
> -up2date
> -vconfig
> -wget
> -which
> -wireless-tools
> -wvdial
> -xorg-x11-libs
> -xorg-x11-Mesa-libGL
> -ypbind
> -yp-tools
> 
> %post
> ------------------------------------------------------------------------
> Jim Wildman, CISSP, RHCE       jim at rossberry.com http://www.rossberry.com
> "Society in every state is a blessing, but Government, even in its best
> state, is a necessary evil; in its worst state, an intolerable one."
> Thomas Paine
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

Hi Jim,

would you like to get some of this into the wik.centos.org site ? might 
come in handy for other people as well, and become a maintainable source 
for this info.



-- 
Karanbir Singh : http://www.karan.org/ : 2522219 at icq