Minimal RHEL4 install

Ian Lists ian-list at securitypimp.com
Thu Jan 24 16:15:17 UTC 2008


----- "Trey Sizemore" <trey at fastmail.fm> wrote:

> Hi-
> 
> I'm looking for a guide or best practices around building a very
> minimal RHEL4 machine (no X).
> 
> Any tips/sites/guides I can be pointed to?
> 

You could use a really basic kickstart like this.  The "--nobase" option will keep all the base packages from being installed, so you just need to add the packages you want.  It's a lot easier then removing all the packages you don't want.

#################################################
# Default password is REDHAT,  CHANGE after reboot!!
#  Manual Network Config and Partitioning
#
#################################################

install
cdrom
lang en_US.UTF-8
keyboard us
skipx
rootpw REDHAT
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --enforcing
timezone UTC

%packages --nobase --resolvedeps
@Core
up2date
openssh-server
openssh-clients
grub
anacron
crontabs
postfix
which
mlocate
iptables
dhclient

%post



> -- 
> Cheers,
> Trey
> ----
>  
> In answer to the question of why it happened,
> I offer the modest proposal that our Universe is simply
> one of those things which happen from time to time. 
>                  --Edward P. Tryon
>  
> Linux valkyrie 2.6.22.13-0.3-bigsmp i686 GNU/Linux
>  10:47am  up   1:35,  6 users,  load average: 2.43, 1.80, 1.92
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list