A
A
alexusua2014-05-04 19:37:46
linux
alexusua, 2014-05-04 19:37:46

Is there a script that makes a Debian (eg LAMP) minimal edition?

Options for other distributions are also welcome.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vlad Zhivotnev, 2014-05-05
@alexusua

Just in case, for those who will still use this solution:
The list of these packages (a long list in the first command - a list of packages that do not need to be removed via | ) varies from version to version of Debian / Ubuntu and depends on what the penguin is running under (on a piece of hardware / in KVM / Xen / openvz / chroot) . Before using the first command, you need to get a list of packages on debian of the same version with openssh-server installed in virtualbox or something similar.
For debian squeeze something like this:
(ahtung, not tested).
The list of base packages must first be obtained on a clean machine (with openssh-server already installed):
Too lazy to think in the morning, so I wrote commands in badly, but both work. Just watch carefully what is being deleted there, on wheezy it was going to demolish apt on me, although I didn’t try on squeeze.
Well, yes, I specifically shot this list from an openvz virtual machine, for KVM / Xen / baremetall the list will be different.

A
aumk, 2014-05-04
@aumk

much less?

S
Sergey, 2014-05-04
Protko @Fesor

apt-get remove --purge list unnecessary packages.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question