Re: [CentOS] Easy way to strip down CentOS?

2015-02-27 Thread Scott Robbins
On Fri, Feb 27, 2015 at 08:36:58AM +0100, Niki Kovacs wrote: Le 26/02/2015 15:53, David Both a écrit : Ok, I understand, now. I just leave multiple desktops in place and switch between them as I want. But perhaps you have reasons to do it as you do. That is one thing I really appreciate about

Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Niki Kovacs
Le 26/02/2015 15:53, David Both a écrit : Ok, I understand, now. I just leave multiple desktops in place and switch between them as I want. But perhaps you have reasons to do it as you do. That is one thing I really appreciate about Linux, the fact that there are many, many ways to accomplish

Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Niki Kovacs
Le 26/02/2015 15:00, David Both a écrit : Perhaps I have not been following closely enough, but why go backwards? Why not start with a minimal installation and then add only those packages that are needed for your situation? Here's why. I'm currently experimenting with CentOS on my

Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread David Both
Ok, I understand, now. I just leave multiple desktops in place and switch between them as I want. But perhaps you have reasons to do it as you do. That is one thing I really appreciate about Linux, the fact that there are many, many ways to accomplish almost everything and that what is right

Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread James B. Byrne
On Wed, February 25, 2015 14:18, Brian Mathis wrote: I don't think there's a single yum command that lets you roll back to the packages the were installed at a given point in time. I also don't think that this would get you back to the *exact* system as it was. # yum history rollback 1 #

Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread David Both
Perhaps I have not been following closely enough, but why go backwards? Why not start with a minimal installation and then add only those packages that are needed for your situation? snip -- * David P. Both, RHCE Millennium

Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Leon Fauster
Am 26.02.2015 um 08:38 schrieb James Hogarth james.hoga...@gmail.com: On Feb 25, 2015 10:00 PM, Peter pe...@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

Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Niki Kovacs
Le 25/02/2015 23:00, Peter a écrit : I haven't tried this, but see if it works: yum shell remove * install @minimal run I get Package group minimal does not exist What now? -- Microlinux - Solutions informatiques 100% Linux et logiciels libres 7, place de l'église - 30730 Montpezat Web :

Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Niki Kovacs
Le 26/02/2015 10:30, Leon Fauster a écrit : # rpm -qa --last Lists the last installed package first. That way back would be one way to strip it down. Here's a completely empiric approach, tried out on three different machines. It's not perfect, but it's already quite usable :

Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Chris Murphy
The best way to do this is a new minimal install either in the GUI installer or with kickstart. And build up from there. If you do an install to e.g. CentOS-base.qcow2, that image already has machine-id and hostname set. While not running a VM, use guestfish to mount the qcow2, and make

Re: [CentOS] Easy way to strip down CentOS?

2015-02-25 Thread Brian Mathis
On Wed, Feb 25, 2015 at 2:04 PM, Niki Kovacs i...@microlinux.fr wrote: Le 25/02/2015 19:36, John R Pierce a écrit : I install from the 'minimum' ISO, and get that off the bat, then just install the packages I need with yum I do the same, but my question is: how to do that the other way

Re: [CentOS] Easy way to strip down CentOS?

2015-02-25 Thread Frank Cox
On Wed, 25 Feb 2015 20:04:22 +0100 Niki Kovacs wrote: how do you manage from there to get back to exactly the base system you had from the start? My approach would be to create a list of installed rpms for what you're using as the base system: rpm -qa --qf %{NAME}\n | sort starting.txt

Re: [CentOS] Easy way to strip down CentOS?

2015-02-25 Thread John R Pierce
On 2/25/2015 10:23 AM, Niki Kovacs wrote: I wonder if there's an easy way to strip down an installation to the bare minimum, e. g. the packages you get when you select minimum installation. I install from the 'minimum' ISO, and get that off the bat, then just install the packages I need

[CentOS] Easy way to strip down CentOS?

2015-02-25 Thread Niki Kovacs
Hi, I wonder if there's an easy way to strip down an installation to the bare minimum, e. g. the packages you get when you select minimum installation. In Slackware, the bone-headed package manager slackpkg has a few nice options, among which 'slackpkg clean-system', which removes all

Re: [CentOS] Easy way to strip down CentOS?

2015-02-25 Thread Niki Kovacs
Le 25/02/2015 19:36, John R Pierce a écrit : I install from the 'minimum' ISO, and get that off the bat, then just install the packages I need with yum I do the same, but my question is: how to do that the other way around? Let's say you start from the base system, then install a couple

Re: [CentOS] Easy way to strip down CentOS?

2015-02-25 Thread Niki Kovacs
Le 25/02/2015 20:18, Brian Mathis a écrit : I don't think there's a single yum command that lets you roll back to the packages the were installed at a given point in time. Maybe a good idea would be to find one or a handful of packages that the whole desktop and/or graphical subsystem

Re: [CentOS] Easy way to strip down CentOS?

2015-02-25 Thread Steve Lindemann
On 2/25/2015 12:04 PM, Niki Kovacs wrote: Le 25/02/2015 19:36, John R Pierce a écrit : I install from the 'minimum' ISO, and get that off the bat, then just install the packages I need with yum I do the same, but my question is: how to do that the other way around? Let's say you start from

Re: [CentOS] Easy way to strip down CentOS?

2015-02-25 Thread Peter
On 02/26/2015 07:23 AM, Niki Kovacs wrote: I wonder if there's an easy way to strip down an installation to the bare minimum, e. g. the packages you get when you select minimum installation. I haven't tried this, but see if it works: yum shell remove * install @minimal run Peter

Re: [CentOS] Easy way to strip down CentOS?

2015-02-25 Thread James Hogarth
On Feb 25, 2015 10:00 PM, Peter pe...@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