Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 02-06-2002, 10:48 PM   #1
Iceman Cometh
Registered: Feb 2002
Posts: 33

Rep: Reputation: 15
Question Building LFS for Server

Been looking at LFS for my own learning experience, although I'm not sure I'm *quite* ready to go with it yet. I just installed Slack, but a group of friends and I are about to embark on a website project. We've built a decent server PC, and we are dealing with limited bandwidth. I've heard RedHat is good as a server, but I'd rather have control over what exactly is running (pretty much just ssh, ftp, http) to save resources.

Anyway, I'm not sure I'm ready to do the whole LFS project hoopla, but LFS would certainly be best for webserving. Better security, more control, etc. Any ideas on difficulty? I'm admittedly still learning, but I do have way too much time to spend on it (for example, I watch an average of 6-7 hours of C-SPAN per day and enjoy it).
Old 02-07-2002, 04:04 AM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
IMHO LFS is not better or safer then any other distribution. Getting an optimal system is all about knowing exactly how your machine runs things and to configure it properly. The advantage with LFS is that you've built everything yourself so you know how the whole system runs which really helps if you want to lock it down tight or tweak it for performance.
Although you could do the same with installing a standard distribution it would probably take you a lot longer to figure out how everything works. And since you've got so much time, it wouldn't hurt to get down deep into how linux works. I'd definetly recommend the LFS it's a usefull time waster.
Old 02-27-2002, 11:25 PM   #3
Registered: Dec 2001
Distribution: LFS, RH, Slack
Posts: 104

Rep: Reputation: 15
If you really want to learn something, make a box that you don't need to work any time soon.. Keep your slack box so you've got a working linux box and then build the LFS as either a seperate box or a seperate partition without getting rid of LFS.
To install LFS, the directions are very easy and straight forward. The real learing experience is to keep a record of all those files it says you installed and learn about each one and what its function is. Read the man pages available online and learn just how those configuration files work. Also, sit down and get comfortable with shell scripts and how they work. First try to follow exactly how your boot scripts work to start up your machine. If you learn this, you might look at slackware's boot scripts and see how they are different. Once you get your machine up and running, learn how to configure and use lilo (the boot loader) and then learn about how to compile and install a kernel.
One of the beauties, imho, is that it is minimalistic. If the box is a server, don't bother with X windows. You should be able to configure and install and run everything from the console (text mode). After you are comfortable with how your LFS system works, you can play with setting up networking on it and all the server daemons you like. With your slack box up and running still, you should be able to take your time and learn how each works one at a time.
I admit, all this was a very steep learning curve for me, but now I'm very proficient in these things.
Also, I'd stay away from redhat.. It seems only admins that don't know much use rh. Some may like it, but it's got so much in it to keep it easy to use that it is a real bear and prone to complex problems. I hate RH, and am LFS all the way. Of course, RH could be excellent for a desktop.. I'm never going to try to install X on LFS.. I don't use it
Old 03-04-2002, 01:14 AM   #4
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
sounds good

I think LFS would be great for that, don't forget to install ipchains or iptables.

I would go with apache, openssh, and I guess I have no pref on the ftp server.

If you don't need X then don't bother with it, but I took the time to put it on my LFS.

Last edited by DavidPhillips; 03-04-2002 at 01:16 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Building 64bit LFS currir55 Linux From Scratch 1 11-15-2005 03:47 PM
Questions about building LFS kornerr Linux From Scratch 9 07-29-2005 08:06 AM
Building Binary LFS Tuvok Linux From Scratch 10 03-20-2005 07:09 PM
Building LFS on a Pocket PC Immolo Linux From Scratch 0 05-21-2004 04:51 AM
Building Screen-4.0.2 (and others...) on LFS cjcuk Linux From Scratch 5 12-17-2003 09:11 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:27 AM.

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