linuxfromscratch吧 关注:97贴子:408
  • 3回复贴,共1

What is Linux From Scratch?

只看楼主收藏回复

What is Linux From Scratch?
Linux From Scratch (LFS) is a project that provides you with step-by-step instructions for building your own customized Linux system entirely from source.
Why would I want an LFS system?
Many wonder why they should go through the hassle of building a Linux system from scratch when they could just download an existing Linux distribution. However, there are several benefits of building LFS. Consider the following:
LFS teaches people how a Linux system works internally
Building LFS teaches you about all that makes Linux tick, how things work together and depend on each other. And most importantly, how to customize it to your own tastes and needs.
Building LFS produces a very compact Linux system
When you install a regular distribution, you often end up installing a lot of programs that you would probably never use. They're just sitting there taking up (precious) disk space. It's not hard to get an LFS system installed under 100 MB. Does that still sound like a lot? A few of us have been working on creating a very small embedded LFS system. We installed a system that was just enough to run the Apache web server; total disk space usage was approximately 8 MB. With further stripping, that can be brought down to 5 MB or less. Try that with a regular distribution.
LFS is extremely flexible
Building LFS could be compared to a finished house. LFS will give you the skeleton of a house, but it's up to you to install plumbing, electrical outlets, kitchen, bath, wallpaper, etc. You have the ability to turn it into whatever type of system you need it to be, customized completely for you.
LFS offers you added security
You will compile the entire system from source, thus allowing you to audit everything, if you wish to do so, and apply all the security patches you want or need to apply. You don't have to wait for someone else to provide a new binary package that (hopefully) fixes a security hole. Often, you never truly know whether a security hole is fixed or not unless you do it yourself.
What can I do with my LFS system?
A by-the-book LFS system is fairly minimal, but is designed to provide a strong base on which you can add any packages you want. See theBLFS projectfor a selection of commonly used packages.
---------------------------------------------------------------------------
什么是Linux从零开始?
Linux From Scratch(LFS)是一个为您提供从源代码完全构建自己定制的Linux系统的分步说明的项目。
为什么我需要一个LFS系统?
许多人想知道,为什么他们只需下载现有的Linux发行版就可以从头开始构建Linux系统。但是,构建LFS有几个好处。考虑以下:
LFS告诉人们Linux系统是如何工作的内部
构建LFS教会你如何使Linux运行,如何协同工作以及如何相互依赖。最重要的是,如何根据自己的口味和需求定制它。
构建LFS生成一个非常紧凑的Linux系统
当您安装常规发行版时,通常最终会安装许多您可能不会使用的程序。他们只是坐在那里占用(宝贵的)磁盘空间。要安装100 MB以下的LFS系统并不困难。这听起来像很多吗?我们中的一些人一直致力于创建一个非常小的嵌入式LFS系统。我们安装了一个足以运行Apache Web服务器的系统;总磁盘空间使用量约为8 MB。随着进一步剥离,可以降低到5 MB或更少。尝试使用正常分配。
LFS非常灵活
建筑LFS可以与完成的房子相比较。LFS将为您提供房屋的骨架,但您可以自行安装水管,电源插座,厨房,浴室,壁纸等。您可以将其变为您需要的任何类型的系统,完全自定义为你。
LFS为您提供了更高的安全性
您将从源代码编译整个系统,从而允许您审核所有内容(如果您希望这样做),并应用您想要或需要应用的所有安全修补程序。您不必等待其他人提供新的二进制包(希望)来修复安全漏洞。除非你自己动手,否则你永远不会真正知道安全漏洞是否是固定的。
我可以用我的LFS系统做什么?
一本书的LFS系统是相当简单的,但它的目的是提供一个强大的基础,你可以添加你想要的任何软件包。查看BLFS项目了解常用软件包的选择。


IP属地:湖北来自Android客户端1楼2018-02-27 00:06回复
    What is Beyond Linux From Scratch?
    Beyond Linux From Scratch (BLFS) is a project that continues where the LFS book finishes. It assists users in developing their systems according to their needs by providing a broad range of instructions for installing and configuring various packages on top of a base LFS system.
    Why would I want a BLFS system?
    If you are wondering why you would want a BLFS system or don't know what LFS is, then you don't want to be here just yet — you should head over to theLFS Project Homepagewhere all will be explained.
    What can I do with my BLFS system?
    Nearly anything! An LFS system is primed to become a system that fits whatever need you have. BLFS is the book that takes you down your own custom path. You could build an office workstation, a multimedia desktop, a router, a server, or all of the above! And the best part is you only install what you need.


    IP属地:湖北来自Android客户端2楼2018-02-27 00:07
    回复
      超越Linux从零开始的是什么?
      Beyond Linux From Scratch
      (BLFS)是一个继续LFS书籍完成的项目。它通过提供广泛的指令来安装和配置基础LFS系统上的各种软件包,帮助用户根据自己的需求开发系统。
      为什么我需要一个BLFS系统?
      如果你想知道为什么你会想要一个BLFS系统或者不知道LFS是什么,那么你就不想到这里来 - 你应该前往LFS项目主页,在那里解释所有的内容。
      我可以用我的BLFS系统做什么?
      几乎任何东西!LFS系统已经成为适合您需求的系统。BLFS是一本能让你走下自己的定制路径的书。你可以建立一个办公室工作站,多媒体桌面,路由器,服务器或上述全部!最好的部分是你只安装你需要的东西。


      IP属地:湖北来自Android客户端3楼2018-02-27 00:09
      收起回复