Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-12 Thread Nicolas Kovacs
Le 11/05/2016 23:49, Fred Smith a écrit : > not that I'm wanting to strip down my C7, I'm wondering how that > works if one has installed the Mate desktop from epel ? Everything that is *not* the CentOS Minimal System will simply be removed. You'll end up with what you get when you install from

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-11 Thread Arun Khan
On Wed, May 11, 2016 at 2:49 PM, Fred Smith wrote: > > not that I'm wanting to strip down my C7, I'm wondering how that > works if one has installed the Mate desktop from epel ? > You can try it with a VBox VM and share your experience just the way Nicolas has

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-11 Thread Fred Smith
On Wed, May 11, 2016 at 09:08:03PM +0200, Nicolas Kovacs wrote: > Le 06/05/2016 18:31, Johnny Hughes a écrit : > > There actually are a couple more things than core in a minimal install > > .. here is the current minimal list: > > > >

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-11 Thread Nicolas Kovacs
Le 06/05/2016 18:31, Johnny Hughes a écrit : > There actually are a couple more things than core in a minimal install > .. here is the current minimal list: > > https://git.centos.org/blob/sig-core!comps.git/220ef7b59c95531d3752d4074ce673aa09792c67/c7-minimal-x86_64-RPMS.lst > > some of those

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-07 Thread Nicolas Kovacs
Le 07/05/2016 16:02, Peter a écrit : > Yes, but you need to put the yum shell commands in a separate file. See > yum-shell(8) for details. Actually, I just gave your suggestion a spin on a sandbox machine. Yum gets stuck in a frantic dependency resolving loop which can only be interrupted by

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-07 Thread Peter
On 08/05/16 01:53, Nicolas Kovacs wrote: > Le 07/05/2016 14:57, Peter a écrit : >> Rather than remove them and add them back use yum shell to just remove >> the packages not in base or core: >> >> yum shell >> remove * >> install kernel @core @base >> run >> quit > > Sounds interesting. Does this

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-07 Thread Nicolas Kovacs
Le 07/05/2016 14:57, Peter a écrit : > Rather than remove them and add them back use yum shell to just remove > the packages not in base or core: > > yum shell > remove * > install kernel @core @base > run > quit Sounds interesting. Does this work in a script? -- Microlinux - Solutions

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-07 Thread Peter
On 07/05/16 23:16, Nicolas Kovacs wrote: > After some more trial and error, I managed to resolve the problem in a > pragmatic way by doing the following after purging the system: > > # yum groupinstall "Core" > # yum groupinstall "Base" > > So the missing culprit(s) must have been somewhere in

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-07 Thread Nicolas Kovacs
Le 06/05/2016 18:31, Johnny Hughes a écrit : > There actually are a couple more things than core in a minimal install > .. here is the current minimal list: > > https://git.centos.org/blob/sig-core!comps.git/220ef7b59c95531d3752d4074ce673aa09792c67/c7-minimal-x86_64-RPMS.lst > > some of those

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-06 Thread m . roth
Nicolas Kovacs wrote: > Le 06/05/2016 13:50, Johnny Hughes a écrit : >> Maybe add a: >> >> yum groupinstall core > > That did add a handful of packages indeed (as was already suggested in > the previous answer), but the problem still persists. > > After rebooting, the system hangs after mounting

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-06 Thread Johnny Hughes
On 05/06/2016 11:18 AM, Nicolas Kovacs wrote: > Le 06/05/2016 13:50, Johnny Hughes a écrit : >> Maybe add a: >> >> yum groupinstall core > > That did add a handful of packages indeed (as was already suggested in > the previous answer), but the problem still persists. > > After rebooting, the

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-06 Thread Nicolas Kovacs
Le 06/05/2016 13:50, Johnny Hughes a écrit : > Maybe add a: > > yum groupinstall core That did add a handful of packages indeed (as was already suggested in the previous answer), but the problem still persists. After rebooting, the system hangs after mounting the /boot partition and then exits

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-06 Thread Scott Robbins
On Fri, May 06, 2016 at 11:13:10AM +0200, Nicolas Thierry-Mieg wrote: > > you're probably removing too many packages, eg some key package is a > dep of MINIMAL but not in MINIMAL, and "yum remove" removes it and > all its dependants. Just as an example of this, and one that RH may move into an

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-06 Thread Johnny Hughes
On 05/06/2016 06:46 AM, Nicolas Kovacs wrote: > Le 06/05/2016 11:13, Nicolas Thierry-Mieg a écrit : >> you're probably removing too many packages, eg some key package is a dep >> of MINIMAL but not in MINIMAL, and "yum remove" removes it and all its >> dependants. >> Maybe add "yum install

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-06 Thread Nicolas Kovacs
Le 06/05/2016 11:13, Nicolas Thierry-Mieg a écrit : > you're probably removing too many packages, eg some key package is a dep > of MINIMAL but not in MINIMAL, and "yum remove" removes it and all its > dependants. > Maybe add "yum install $MINIMAL" after your yum remove command. > Or replace yum

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-06 Thread Nicolas Thierry-Mieg
On 05/06/2016 09:33 AM, Nicolas Kovacs wrote: Le 06/05/2016 08:50, Nicolas Kovacs a écrit : Now what would be the simple systemd equivalent of doing that? E. g. on any CentOS installation (be it graphical, "Web Server", "File Server", whatever), strip down services to the status that they're at

Re: [CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-06 Thread Nicolas Kovacs
Le 06/05/2016 08:50, Nicolas Kovacs a écrit : > Now what would be the simple systemd equivalent of doing that? E. g. on > any CentOS installation (be it graphical, "Web Server", "File Server", > whatever), strip down services to the status that they're at just after > installing a "Minimal

[CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

2016-05-06 Thread Nicolas Kovacs
Hi, When I install a CentOS server/desktop/workstation, I usually start from scratch with a barebone minimal installation, then add packages as needed. Some machines (like dedicated servers in a datacenter) come preconfigured by the hosting company, so I thought it wouldn't be a bad idea to