LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-17-2011, 03:45 AM   #1
vzxen
Member
 
Registered: Jul 2010
Posts: 126

Rep: Reputation: 4
Smallest CentOS


Hi,

I want to use CentOS 5.6 on a Server with very less space.
When I install the minimum OS, it takes nearly 900 MB space.
Is it possible to REDUCE it MORE ?
I want it to take no more than 700 MB.
 
Old 06-17-2011, 04:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
just don't install and package groups, the base layout is less. Untick everything in the installer if that's how you're installing it. Dropping X will save plenty of space.
 
Old 06-17-2011, 02:25 PM   #3
vzxen
Member
 
Registered: Jul 2010
Posts: 126

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by acid_kewpie View Post
just don't install and package groups, the base layout is less. Untick everything in the installer if that's how you're installing it. Dropping X will save plenty of space.
Hi,

Done that and its still 900 MB.
I also removed SElinux as it wasnt useful to me.
What else can I remove.
 
Old 06-17-2011, 02:54 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Most members don't have access to your server or ESP so why not start by listing what packages you installed and what purpose the machine serves?..
 
Old 06-17-2011, 03:11 PM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
The base install of Scientific Linux 6 is small in comparison to Centos 5.6... boots and shuts down faster. This might be of interest to you.
 
Old 06-17-2011, 03:12 PM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Why the 700mb limit? Storage is very cheap. A 1TB hard drive costs well under US$100.
 
Old 06-17-2011, 03:14 PM   #7
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Quote:
Originally Posted by snowpine View Post
Why the 700mb limit? Storage is very cheap. A 1TB hard drive costs well under US$100.
Wondered the same thing.

Are you installing this in a RamDrive, Flash or something?
 
Old 06-17-2011, 03:53 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
There are plenty of reasons. lots and lots and lots. It is, for example, a hell of a lot quicker to build a 400mb server than a 2gb server with kickstart...

merely saying a 1TB drive is available is a fair bit narrow minded. Is that enterprise suitable? What IO stats will it provide? What about RAID? etc. etc. etc.
 
Old 06-17-2011, 04:28 PM   #9
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Quote:
Originally Posted by acid_kewpie View Post
There are plenty of reasons. lots and lots and lots. It is, for example, a hell of a lot quicker to build a 400mb server than a 2gb server with kickstart...

merely saying a 1TB drive is available is a fair bit narrow minded. Is that enterprise suitable? What IO stats will it provide? What about RAID? etc. etc. etc.
If there are "lots and lots and lots" of reasons, I don't see them in the OP. I'm sticking to my "upgrade your storage if you only have 700mb free" suggestion unless vzxen provides more information.
 
Old 06-17-2011, 04:30 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
No, that's not how things work. They asked a question, for which there is a VERY valid answer... why does it need to go any further than that???
 
Old 06-17-2011, 04:37 PM   #11
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Quote:
Originally Posted by acid_kewpie View Post
No, that's not how things work. They asked a question, for which there is a VERY valid answer... why does it need to go any further than that???
I asked "why 700mb?" because I was curious. I have an inquisitive nature and I don't think it was a rude question.
 
Old 06-18-2011, 01:37 AM   #12
vzxen
Member
 
Registered: Jul 2010
Posts: 126

Original Poster
Rep: Reputation: 4
Hi,

Here is the RPMS list :
Code:
setup-2.5.58-7.el5
basesystem-8.0-5.1.1.el5.centos
nash-5.1.19.6-68.el5
tzdata-2010l-1.el5
glibc-2.5-58
zlib-1.2.3-3
glib2-2.12.3-4.el5_3.1
popt-1.10.2.3-22.el5
libtermcap-2.0.8-46.1
info-4.8-14.el5
ncurses-5.5-24.20060715
nspr-4.8.6-1.el5
readline-5.1-3.el5
freetype-2.2.1-28.el5_5.1
bzip2-libs-1.0.3-6.el5_5
libacl-2.2.39-6.el5
expat-1.95.8-8.3.el5_5.3
cpio-2.6-23.el5_4.1
libpng-1.2.10-7.1.el5_5.3
libcap-1.10-26
libgpg-error-1.4-2
procps-3.2.7-16.el5
libxml2-2.6.26-2.1.2.8.el5_5.1
tcp_wrappers-7.6-40.7.el5
perl-5.8.8-32.el5_5.2
libtiff-3.8.2-7.el5_5.5
hmaccalc-0.9.6-3.el5
gzip-1.3.5-11.el5.centos.1
make-3.81-3.el5
time-1.7-27.2.2
file-4.17-15.el5_3.1
libsysfs-2.0.0-6
pax-3.4-2.el5_4
gnutls-1.4.1-3.el5_4.8
bzip2-1.0.3-6.el5_5
gpm-1.20.1-74.1
libgomp-4.4.4-13.el5
procmail-3.22-17.1.el5.centos
gamin-0.1.7-8.el5
pcre-6.6-6.el5
bc-1.06-21
checkpolicy-1.33.1-6.el5
mingetty-1.07-5.2.2
dmidecode-2.10-3.el5
libXdmcp-1.0.1-2.1
bitstream-vera-fonts-1.10-7
libX11-1.0.3-11.el5
libXext-1.0.1-2.1
libXcursor-1.1.7-1.1
libXinerama-1.0.1-2.1
redhat-logos-4.9.99-11.el5.centos
anacron-2.3-45.el5.centos
cyrus-sasl-plain-2.1.22-5.el5_4.3
attr-2.4.32-1.1
udftools-1.0.0b3-0.1.el5
mgetty-1.1.33-9.fc6
traceroute-2.0.1-5.el5
zip-2.31-2.el5
setserial-2.17-19.2.2
grub-0.97-13.5
specspo-13-1.el5.centos
mailcap-2.1.23-1.fc6
zlib-1.2.3-3
freetype-2.2.1-28.el5_5.1
libsepol-1.15.2-3.el5
libjpeg-6b-37
libstdc++-4.1.2-50.el5
libgcrypt-1.4.4-5.el5
ncurses-5.5-24.20060715
nspr-4.8.6-1.el5
libXau-1.0.1-3.1
readline-5.1-3.el5
expat-1.95.8-8.3.el5_5.3
libX11-1.0.3-11.el5
libXext-1.0.1-2.1
libXcursor-1.1.7-1.1
libXi-1.0.1-4.el5_4
cyrus-sasl-plain-2.1.22-5.el5_4.3
libtermcap-2.0.8-46.1
shadow-utils-4.0.17-18.el5
e2fsprogs-libs-1.39-23.el5_5.1
coreutils-5.97-23.el5_4.2
openssl-0.9.8e-12.el5_5.7
e2fsprogs-1.39-23.el5_5.1
openldap-2.3.43-12.el5_5.3
tar-1.15.1-30.el5
cryptsetup-luks-1.0.3-5.el5
device-mapper-multipath-0.4.7-42.el5
pango-1.14.9-8.el5.centos
patch-2.5.4-31.el5
cups-libs-1.3.7-26.el5
lvm2-2.02.74-5.el5
MAKEDEV-3.23-1.2
vim-minimal-7.0.109-7.el5
tmpwatch-2.9.7-1.1.el5.5
tcpdump-3.9.4-15.el5
parted-1.8.1-27.el5
lsof-4.78-3
fontconfig-2.4.1-7.el5
libXft-2.1.10-1.1
libutempter-1.1.4-4.el5
gtk2-2.10.4-21.el5_5.6
python-2.4.3-43.el5
newt-0.52.2-15.el5
python-libs-2.4.3-43.el5
dmraid-1.0.0.rc13-63.el5
dbus-glib-0.73-10.el5_5
iscsi-initiator-utils-6.2.0.872-6.el5
pam-0.99.6.2-6.el5_5.2
util-linux-2.13-0.56.el5
initscripts-8.45.33-1.el5.centos
module-init-tools-3.3-0.pre3.1.60.el5_5.1
mcstrans-0.2.11-3.el5
libuser-0.54.7-2.1.el5_4.1
usermode-1.88-3.el5.2
dbus-1.1.2-14.el5
rpm-python-4.4.2.3-22.el5
sysklogd-1.4.1-46.el5
cyrus-sasl-2.1.22-5.el5_4.3
gamin-python-0.1.7-8.el5
dbus-python-0.70-9.el5_4
python-sqlite-1.1.7-1.2.1
libselinux-python-1.33.4-5.7.el5
policycoreutils-1.33.12-14.8.el5
m2crypto-0.16-6.el5.8
dmraid-events-1.0.0.rc13-63.el5
device-mapper-1.02.55-2.el5
openssl-0.9.8e-12.el5_5.7
gtk2-2.10.4-21.el5_5.6
cracklib-2.8.9-3.3
pciutils-3.1.7-3.el5
selinux-policy-2.4.6-300.el5
setools-3.0-3.el5
setuptool-1.19.2-1.el5.centos
openssh-server-4.3p2-72.el5
acpid-1.0.4-9.el5_4.2
dhclient-3.0.5-23.el5_5.2
prelink-0.4.0-2.el5
which-2.16-7
ecryptfs-utils-75-5.el5
system-config-securitylevel-tui-1.6.29.1-6.el5
libhugetlbfs-1.3-8.2.el5
ecryptfs-utils-75-5.el5
parted-1.8.1-27.el5
libhugetlbfs-1.3-8.2.el5
selinux-policy-targeted-2.4.6-300.el5
kernel-2.6.18-238.el5
yum-3.2.22-33.el5.centos
kudzu-1.2.57.1.26-1.el5.centos
pm-utils-0.99.3-10.el5.centos
libgcc-4.1.2-50.el5
filesystem-2.4.0-3.el5
cracklib-dicts-2.8.9-3.3
termcap-5.5-1.20060701.1
glibc-common-2.5-58
chkconfig-1.3.30.2-2.el5
mktemp-1.5-23.2.2
audit-libs-1.7.18-2.el5
libstdc++-4.1.2-50.el5
bash-3.2-24.el5
libsepol-1.15.2-3.el5
sed-4.1.5-5.fc6
nss-3.12.8-1.el5.centos
gawk-3.1.5-14.el5
diffutils-2.8.1-15.2.3.el5
libattr-2.4.32-1.1
cyrus-sasl-lib-2.1.22-5.el5_4.3
sqlite-3.3.6-5
db4-4.3.29-10.el5_5.2
elfutils-libelf-0.137-3.el5
keyutils-libs-1.2-1.el5
libgcrypt-1.4.4-5.el5
binutils-2.17.50.0.6-14.el5
atk-1.12.2-1.fc6
gdbm-1.8.0-26.2.1
libjpeg-6b-37
keyutils-1.2-1.el5
less-436-7.el5
ed-0.2-39.el5_2
m4-1.4.5-3.el5.1
iptables-1.3.5-5.3.el5_4.1
slang-2.0.6-4.el5
libXau-1.0.1-3.1
iptables-ipv6-1.3.5-5.3.el5_4.1
iproute-2.6.18-11.el5
vim-common-7.0.109-7.el5
groff-1.18.1.1-11.1
iputils-20020927-46.el5
tcl-8.4.13-4.el5
libusb-0.1.12-5.1
grep-2.5.1-55.el5
hesiod-3.1.0-8
ethtool-6-4.el5
libvolume_id-095-14.24.el5
sgpio-1.2.0_10-2.el5
crontabs-1.10-8
xorg-x11-filesystem-7.1-2.fc6
libXrender-0.9.1-3.1
libXfixes-4.0.1-2.1
libXrandr-1.1.1-3.3
libXi-1.0.1-4.el5_4
centos-release-notes-5.6-0
sysfsutils-2.0.0-6
acl-2.2.39-6.el5
ftp-0.17-35.el5
telnet-0.17-39.el5
unzip-5.52-3.el5
symlinks-1.2-24.2.2
hdparm-6.6-2
centos-release-5-6.el5.centos.1
rootfiles-8.1-1.1.1
man-pages-2.39-17.el5
glibc-2.5-58
glib2-2.12.3-4.el5_3.1
libpng-1.2.10-7.1.el5_5.3
libgpg-error-1.4-2
libgcc-4.1.2-50.el5
libtiff-3.8.2-7.el5_5.5
atk-1.12.2-1.fc6
keyutils-libs-1.2-1.el5
nss-3.12.8-1.el5.centos
gnutls-1.4.1-3.el5_4.8
audit-libs-1.7.18-2.el5
libXdmcp-1.0.1-2.1
libXrender-0.9.1-3.1
libXfixes-4.0.1-2.1
libXrandr-1.1.1-3.3
libXinerama-1.0.1-2.1
tcp_wrappers-7.6-40.7.el5
libselinux-1.33.4-5.7.el5
device-mapper-1.02.55-2.el5
findutils-4.2.27-6.el5
krb5-libs-1.6.1-55.el5
fontconfig-2.4.1-7.el5
cairo-1.2.4-5.el5
kpartx-0.4.7-42.el5
psmisc-22.2-7
net-tools-1.60-81.el5
libXft-2.1.10-1.1
libselinux-utils-1.33.4-5.7.el5
bind-libs-9.3.6-16.P1.el5
device-mapper-event-1.02.55-2.el5
libutempter-1.1.4-4.el5
logrotate-3.7.4-9.el5_5.2
bind-utils-9.3.6-16.P1.el5
wget-1.11.4-2.el5_4.1
psacct-6.3.2-44.el5
mlocate-0.15-1.el5.2
vim-enhanced-7.0.109-7.el5
cairo-1.2.4-5.el5
pango-1.14.9-8.el5.centos
hicolor-icon-theme-0.9-2.1
trousers-0.3.1-4.el5
rpm-4.4.2.3-22.el5
dbus-libs-1.1.2-14.el5
fipscheck-lib-1.2.0-1.el5
libsemanage-1.9.1-4.4.el5
man-1.6d-1.1
cracklib-2.8.9-3.3
udev-095-14.24.el5
SysVinit-2.86-15.el5
mkinitrd-5.1.19.6-68.el5
openssh-4.3p2-72.el5
at-3.1.8-84.el5
passwd-0.73-2
gettext-0.17-1.el5
rpm-libs-4.4.2.3-22.el5
kbd-1.12-21.el5
vixie-cron-4.1-77.el5_4.1
sendmail-8.13.8-8.el5
libxml2-python-2.6.26-2.1.2.8.el5_5.1
python-elementtree-1.2.6-5
yum-metadata-parser-1.1.2-3.el5.centos
audit-libs-python-1.7.18-2.el5
pygobject2-2.12.1-5.el5
fipscheck-1.2.0-1.el5
libselinux-1.33.4-5.7.el5
e2fsprogs-libs-1.39-23.el5_5.1
krb5-libs-1.6.1-55.el5
cups-libs-1.3.7-26.el5
trousers-0.3.1-4.el5
hwdata-0.213.22-1.el5
python-urlgrabber-3.1.0-6.el5
python-iniparse-0.2.3-4.el5
authconfig-5.3.21-6.el5
openssh-clients-4.3p2-72.el5
quota-3.13-4.el5
irqbalance-0.55-15.el5
dhcpv6-client-1.0.10-20.el5
krb5-workstation-1.6.1-55.el5
sudo-1.7.2p1-10.el5
pam_krb5-2.2.14-18.el5
ntsysv-1.3.30.2-2.el5
pam-0.99.6.2-6.el5_5.2
pam_krb5-2.2.14-18.el5
mkinitrd-5.1.19.6-68.el5
redhat-lsb-4.0-2.1.4.el5
redhat-lsb-4.0-2.1.4.el5
hal-0.5.8.1-62.el5
yum-updatesd-0.9-2.el5
yum-fastestmirror-1.1.16-14.el5.centos.1
BTW, its not about Storage. This OS will be redistributed which will cost us TOO Much Bandwidth charges.
Also why to have packages which will not be used at all ?
We just want to run a simple LAMP Box and nothing else.

Last edited by unSpawn; 06-18-2011 at 06:53 AM. Reason: //Add BB code tags
 
Old 06-18-2011, 02:13 AM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by vzxen View Post
Hi,

BTW, its not about Storage. This OS will be redistributed which will cost us TOO Much Bandwidth charges.
Also why to have packages which will not be used at all ?
We just want to run a simple LAMP Box and nothing else.
No, I think you'll find you've already been told your hard drive is too small. ;-)

I don't understand an environment where you'll be charged like this. If you're pushing these images over a 3rd party wan, then is there no chance of prestaging the install media in the remote location anyway? Are you kickstarting then? If so just remove any installation groups, e.g. Base, from the %packages section.

There is a lot of logic in refusing to be drawn into a "mini distro" discussion though, it's an enterprise server, that should have no significant bearing on the size of it on the disk. If you need small then you're generally outside of the standard installation side of things so would be customizing your own images not using the installers in the first place. It's attractive to want small but is generally the wrong way to look at it. People have reasons though...
 
Old 06-18-2011, 06:10 AM   #14
vzxen
Member
 
Registered: Jul 2010
Posts: 126

Original Poster
Rep: Reputation: 4
Hi,

Ok I will first try and explain my motive.
I want to redistribute a LAMP BOX of CentOS.
This will have 300 Flavours i.e. 300 types of different software with a COMMON BASE of CENTOS.
Now I am trying to REDUCE the COMMON BASE of CENTOS to AS LITTLE AS POSSIBLE so that distribution is easy.
I will have to pay for all the space and all the Bandwidth for 10000s of downloads and also maintain the OLD Flavours I made first. So its a LOT of SPACE and Bandwidth required and things could get more complicated if I have to maintain 1000 Flavours or so.

Thinking from the users point of view, the software will be a LAMP box and it neednt have the extra things they require. Plus they can download faster as well.
So any help will be appreciated to remove commonly unused RPMs.
 
Old 06-18-2011, 09:13 AM   #15
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Thanks for telling us more about the project, and good luck!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Smallest Possible SupremeBeing Linux - Distributions 6 03-24-2010 11:27 PM
What is the smallest PC in the world? frenchn00b General 9 10-22-2009 04:44 PM
Need smallest distro possible phantom_cyph Linux - Distributions 23 10-31-2008 06:34 AM
what is the smallest RH 8 or 9 install markkreuzz Red Hat 4 08-17-2004 07:17 AM
What is the smallest distro? MatMan5959 Linux - Distributions 16 08-15-2002 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration