Installation usually consists of about
four things: installing drivers, configuring the filesystem,
configuring X Windows, and copying the programs.
Hardware
The commerical systems (RedHat, for
instance) will try to auto-detect hardware, but the more low-level
distributions are not so good about that. Just in case, it is a
good idea to write down the model numbers of your video card, ethernet
card, SCSI card (if you use SCSI), sound card, and any other card you
have. (Do this before installing because you usually have to open
up your computer to find the model number.)1 If
your hardware is not auto-detected and not listed in the installation
drivers, do a web search for "model-name linux" and see if it is
supported. If it is, you may need to install the driver later.
Filesystems and partitioning
Next you need to create your
filesystems. All file systems live under /, the root directory,
but they can be on separate partitions. In fact, it is advisable
to have at least some of them on separate partitions (minimally your
programs and your home directory--that way if you need or want to
re-install Linux, you won't need to worry about losing your data).
/
|
Root directory. If you
only have one partition (not recommended), it must be "/".
|
/boot
|
A small (50 MB) partition for
storing kernels. This is mostly of historical interest and is not
necessary (unless you compile your own kernels). |
/var
|
Log files and package management
information goes here. If you have three or more partitions, make
one of them /var, because if /var is on the same partition as /, the
log files may fill up the / partition, and then lots of things
mysteriously stop working (many things depend on being able to create
temporary files in /tmp). |
| /usr |
"usr" stand for "User Shared
Resources", not "user". This is where all your programs go. |
/usr/local
|
This is canonically where
"local" programs go, that is, programs not in the distribution.
Today's distributions are so encompassing that this is not
usually much of an issue.
|
/opt
|
Same thing as /usr/local, only
seems to be more popular. A handy extra partition.
|
/home
|
This is where users' data (home
directories) goes. Highly recommended as a separate partition.
|
swap
|
This is a separate partition
unconnected to your filesystem and provides extra virtual memory in
case you run out. Highly recommended.
|
If you have a big drive and want to eke out as much speed as possible,
the middle of the drive is fastest to access (the drive head is more
likely to be in the center than the edges), so put whichever partition
contains the things you want to access quickly. (This would be a
good place for a swap partition).
Boot sector
If you are installing Linux as the only
operating system on this machine, you should install LILO or GRUB in
the boot sector (
/dev/hda).
If you are dual booting into some other operating system (like
Windows), do
not install onto
the boot sector or you will not be able to boot into Windows. If
your installation does not ask about this, be worried. Instead,
look at one of the
dual-booting
howto's.
Programs
Next you will need to select the
programs you want to install. Most installations will probably
have high-level categories (development, network, games); I
recommend selecting these. I have also listed a number of
programs that I have found useful.
mozilla
|
Web browser, email, and HTML
editor. Great. (If you don't like monolithic, Netscape-like
applications, firebird is the standalone web browser and thunderbird
the email client.
|
OpenOffice
|
Office suite. Like MS
Office, but free, and also generates PDFs.
|
gimp
|
GNU Image Manipuator.
Image editing. Not nearly as good a photoshop, but a whole
lot cheaper.
|
ImageMagick
|
A bunch of command-line image
utilities. `convert` is especially handy.
|
psutils
|
Utilities for manipulating
PostScript files. PostScript is the main format the Unix uses for
printing, so this is very handy.
|
cups
|
Printing software
|
samba
|
Windows file sharing
|
NFS
|
Unix file sharing
|
| sshd |
Remote access to your computer.
Very handy if you have multiple computers |
telnetd, ftpd
|
If you aren't worried about
security and are likely to need to remotely access your computer from a
Windows, install these, as Windows has telnet and ftp built-in, but not
ssh. (Although putty
is a good Windows ssh client)
|
wine
|
Allows Windows programs run.
Usually requires a bit of tweaking to work, but lovely when it
succeeds. Check the WINE application
database for information on running your particular application.
|
acroread, realplayer
|
Some distributions may include
these and it's handier than downloading them.
|
mplayer, xine
|
Movie players. mplayer
supports just about every format under the sun but does not have much
of a GUI, xine is much more user-friendly.
|
xmms
|
Music player, like WinAmp.
|
GNOME/KDE
|
Desktop environments (makes
things look friendly, like Windows). KDE is more slavish to
Windows, GNOME follows the Mac. Personally, I find GNOME more
elegant and the apps crash less frequently, but GNOME apps do tend to
be less well thought through in the user-interface department.
Install them both and figure out which one you prefer.
|
zip, bzip2
|
Zip will uncompress .zip files,
bzip2 uncompresses .bz2 files (it gets better compression than zip or
gzip).
|
If you are using Debian unstable, you will want to install only the
bare minimum using the CDs, then when the installation is finished,
reboot, switch to using the unstable version, then install.