[CentOS] Easy way to strip down CentOS?

Thu Feb 26 07:38:33 UTC 2015
James Hogarth <james.hogarth at gmail.com>

On Feb 25, 2015 10:00 PM, "Peter" <peter at pajamian.dhs.org> wrote:
>
> I haven't tried this, but see if it works:
> yum shell
> remove *
> install @minimal
> run
>
>

I've not tried this to see the effect but don't forget in el6 there is the
yum history database...

yum history list will show all yum operations that have happened on the
system.

In principle you could do yum history rollback 1 ... That wouldn't clear up
config data of course.

For testing stuff VM use and templates or snapshots are essential tools. Or
create a bare minimal kick start ... Doesn't take long to do a fresh
install to a clean system that way.