最小Linux服务器安装的典型大小是多less?

即使从“netinstall”iso或“business card”iso开始,并且在安装过程中稍后安装了任何可选软件包,Debian和Ubuntu的“最小”安装也将达到500 Mb到750 Mb。 Debian“netinstall”是一个180 MB的下载,而“biz card”iso是50 MB。

我的问题:
这是最servlets器安装的典型大小吗?

在另一些更现代的话中:
最小的,那么这么大?

有没有其他的select/变种(主要是Debian)让事物尽可能精简,而不必去定制一个人自己的裸骨头Debian安装的路线?

Thnx提前。

那么,如果你只是编译源代码和交叉编译器……完整的内核和API(库+头文件),glibc,coreutils,gcc / binutils和一些必要的工具,你通常会留下一个600MB左右的发行版。 除此之外,您的发行版对软件包pipe理和默认实用程序的select可以查看磁盘利用率来自何处。 微/内脏分布通常会撕掉所有lib /二进制debugging符号,并编译一个较小的libc(如dietlibc)。 他们也可能会忽略一个完整的编译环境,这会占用大量的磁盘空间。

可以在大约6MB的磁盘空间中编译完全可引导的x86 linux操作系统。 做一些进一步的修改,你可以塞进只有几百K的embedded式闪存。 看看tinycore / ucore linux。 它build立在fltk之上,我相信dietlibc(8MB与X,6MB没有)。

这是一个典型的安装大小。 但是,如果你正在寻找一个很小的足迹,你可以尝试:

  • DSL (该死的小Linux)〜50M
  • 小狗Linux

就即使在embedded式系统上可用的存储而言,<1 GB也不再是“大”。 一个AWS EC2 m1.small实例包括160 GB的存储空间 – 对于几乎所有您可以想象的服务器实例来说,这已经足够了(很less有当前的configuration使用超过10 GB的空间,而且我还没有看到一个需要大于20 GB的空间安装)。

你似乎认为滚动最小安装是一个痛苦的过程。 它真的不是。 做一个最小的基地安装。 只添加你需要的软件包。 你的系统可能需要几天的时间才能稳定下来(从你不再添加软件包的angular度来看),但是最终你会得到一个精简版本。 这只是工作。

如果你在不同的系统目录下看,你会发现许多东西都有助于规模。 内核和模块(build立自己的静态编译内核),国际化,文档和软件包回购将占很大的比例。 有工具(deborphan,localepurge等)

有一些专门为非常小的外形devise的构件,使用了mudebs等。 如果您对这些有兴趣,请自行探索。

如果您特别想减小Debian安装的大小,可以按照ReduceDebian wiki页面的build议: http ://wiki.debian.org/ReduceDebian

您可以尝试DSL,也被称为该死的小型Linux。 它在这里可用。

如果在debian squeeze安装过程中取消选中“标准系统工具”选项,则需要380MB,并安装以下152个软件包

ACPI
ACPI的支持基
的acpid
添加用户
易于
的apt-utils的
能力倾向
基本文件
的base-passwd
庆典
bsdmainutils
bsdutils
busybox的
控制台设置
控制台端
的coreutils
的cpio
cron的
短跑
debconf的
debconf的,国际化
Debian的归档钥匙圈
中的debianutils
diffutils的
发现
发现数据
的dmidecode
dmsetup
的dpkg
e2fslibs
的e2fsprogs
喷射
的findutils
GCC-4.4 – 碱
gettext的基
GnuPG的
gpgv
grep的
groff的基
蛴螬常见
蛴螬PC
gzip的
主机名
ifupdown的
信息
initramfs的工具
初始化脚本
insserv时
安装-信息
安装报告
iproute
iptables的
的iputils平
ISC-DHCP客户端
ISC-DHCP-常见
大骨节病
键盘configuration
klibc-utils的
笔记本电脑检测
libacl1
libattr1
libblkid1
libboost-iostreams1.42.0
libbz2-1.0
的libc斌
libc6的
libc6的-i686的
libcomerr2
libcwidget3
libdb4.8
libdevmapper1.02.1
libdiscover2
libept1
libexpat1
libfreetype6
中的libgcc1
libgdbm3
libklibc
liblocale-的gettext-perl的
liblzma2
中的libncurses5
libncursesw5
libnewt0.52
libnfnetlink0
libpam将模块
libpam将运行时
libpam0g
libpci3
的libpopt0
libreadline6
libselinux1
libsepol1
libsigc ++ – 2.0-0c2a
的libslang2
libsqlite3-0
libss2
libssl0.9.8
的libstdc ++ 6
libtext-charwidth-perl的
libtext-的iconv-perl的
libtext-wrapi18n-perl的
libudev0
的libusb-0.1-4
libuuid-perl的
的libuuid1
libxapian22
Linux的基
Linux的图像2.6-686
Linux的图像2.6.32-5-686
语言环境
login
日志轮播
LSB基
男人-DB
联机手册
mawk
模块初始化工具
安装
纳米
ncurses的基
ncurses的斌
networking工具
中的netbase
netcat的传统
OS-探测器
passwd文件
安装pciutils
perl的基
procps的
readline的常见
rsyslog现在
SED
明智-utils的
SYSV-RC
sysvinit的
sysvinit的-utils的
柏油
中的tasksel
中的tasksel数据
跟踪路由
的tzdata
UCF
的udev
usbutils的
UTIL Linux的
VIM常见
VIM-微小
wget的
鞭尾
XKB数据
XZ-utils的
的zlib1g

通过跳过以下110个包,节省了大约150MB的空间。

的apt-listchanges

庆典完成
公元前
BIND9主机
BSD-mailx的
CA证书
DC
Debian的常见问题解答
dnsutils
DOC-debian的
DOC-linux的文本
的exim4
的exim4基
的exim4-configuration
的exim4守护进程光
文件
FTP
geoip的数据库
主办
ISO-码

libbind9-60
libbsd0
libcap2
的libdb4.6
libdb4.7
libdns69
libedit2
的libevent-1.4-2
libgc1c2
中的libgcrypt11
libgeoip1
的libgnutls26
的libgpg-error0
libgpgme11
libgpm2
libgssapi-krb5-2
libgssglue1
libgssrpc4
libidn11
libisc62
libisccc60
libisccfg62
libk5crypto3
libkadm5clnt-mit7
libkadm5srv-mit7
libkdb5-4
libkeyutils1
libkrb5-3
libkrb5support0
libldap-2.4-2
liblockfile1
liblwres60
libmagic1
libnfsidmap2
libpcre3
libpth20
librpcsecgss3
libsasl2-2
libsasl2模块
上libtasn1-3
libtokyocabinet8
libwrap0
libx11-6
的libx11数据
libxau6
libxcb1
libxdmcp6
libxext6
libxml2的
libxmuu1
LSB释放
lsof的
M4
MIME支持
的mlocate
傻子
ncurses的长期
NFS-常见
OpenSSH的黑名单
OpenSSH的黑名单,额外
OpenSSH的客户端
OpenSSL的
补丁
perl的
perl的模块
端口映射
procmail的
Psmisc做
python
python2.6的
python2.6的,最小的
python,容易
python-的apt-常见
python中央
python,最小
python,reportbug的
python支持
报告软件缺陷
SGML基
TCPD
远程login
texinfo的
时间
w3m的
wamerican
谁是
XAUTH
XML核心

我不能说Ubuntu的,但红帽安装取消select一切产量约850-900 MB。 做一个kickstart安装,只select@Base包组产量大约700MB,并select不安装@BASE进一步下降。 所以,只是不到一个演出似乎相当标准的全面最小安装。 请记住,你可以进一步定制,并删除蓝牙和其他包,以减less它。 他们通常安装,以便最广泛的观众可以得到他们需要的开箱即用。 不幸的是我没有用我的笔记本电脑上的qlogic驱动程序,但是我可以删除更多的软件包。 以下是我从标准RHEL 5服务器安装中删除的内容:(对于格式化,抱歉…

alacarte Simple menu editor for GNOME bluez-gnome Bluetooth pairing and control applet bluez-libs Bluetooth libraries bluez-utils Bluetooth utilities brlapi Appliation Programming Interface for BRLTTY. cadaver Command-line WebDAV client ccid Generic USB CCID smart card reader driver coolkey CoolKey PKCS #11 module dcraw A tool for decoding raw image data from digital cameras. Deployment_Guide-en-US dhcpv6-client DHCPv6 client dnsmasq A lightweight DHCP/caching DNS server ed The GNU line editor. elinks A text-mode Web browser. enscript A plain ASCII to PostScript converter. eog Eye of GNOME image viewer esc Enterprise Security Client Smart Card Client evince Document viewer finger The finger client. gnome-audio Sounds for GNOME events. gnome-backgrounds Desktop backgrounds packaged with the GNOME desktop gnome-mag GNOME Magnifier gnome-speech GNOME Text to Speech gnome-themes Themes collection for GNOME gok GNOME Onscreen Keyboard hplip HP Linux Imaging and Printing Project ifd-egate Axalto Egate SmartCard device driver for PCSC-lite ImageMagick An X application for displaying and manipulating images. iptstate A top-like display of IP Tables state table entries irda-utils Utilities for infrared communication between devices. jwhois Internet whois/nicname client. krb5-auth-dialog Kerberos 5 authentication dialog ksh The Original ATT Korn Shell lftp A sophisticated file transfer program libsane-hpaio SANE driver for scanners in HP's multi-function devices mdadm mdadm controls Linux md devices (software RAID arrays) mkbootdisk Creates a boot floppy disk for booting a system. mtools Programs for accessing MS-DOS disks without mounting the disks. mtr A network diagnostic tool. mutt A text mode mail user agent. nc Reads and writes data across network connections using TCP or UDP. neon An HTTP and WebDAV client library NetworkManager Network connection manager and user applications NetworkManager-glib Libraries for adding NetworkManager support to applications that use glib. NetworkManager-gnome GNOME applications for use with NetworkManager orca Flexible, extensible, and powerful assistive technology pcmciautils PCMCIA utilities and initialization programs pcsc-lite PC/SC Lite smart card framework and applications pcsc-lite-libs PC/SC Lite libraries pirut Package Installation, Removal and Update Tools rsh Clients for remote access commands (rsh, rlogin, rcp). sabayon Tool to maintain user profiles in a GNOME desktop sabayon-apply The parts of sabayon needed on the client systems sane-backends SANE driver for scanners in HP's multi-function devices sane-backends-libs SANE libraries sane-frontends Graphical frontend to SANE slrn A threaded Internet news reader. stunnel An SSL-encrypting socket wrapper. synaptics Synaptics Touchpad Driver syslinux Simple kernel loader which boots from a FAT filesystem system-config-netboot system-config-netboot is an network booting/install configuration utility system-config-netboot-cmd network booting/install configuration utility system-config-printer A printer administration tool talk Talk client for one-on-one Internet chatting. tcsh An enhanced version of csh, the C shell. telnet The client program for the telnet remote login protocol. tftp-server The server for the Trivial File Transfer Protocol (TFTP). tree A utility which displays a tree view of the contents of directories. vino A remote desktop system for GNOME vconfig Linux 802.1q VLAN configuration utility wdaemon Hotplug helper for Wacom X.org driver xinetd A secure replacement for inetd. xsane An X Window System front-end for the SANE scanner interface. yp-tools NIS (or YP) client programs. ypbind The NIS daemon which binds NIS clients to an NIS domain. 

在安装Debian期间,您可以取消select“基本系统”任务,并且只有200MiB的极小系统。 这样做不会有很多通常预期的软件包安装。

另外还有Emdebian ,可以安装在32MiB以内。