📄 0022-0024.html
字号:
<HTML>
<HEAD>
<TITLE>Sams Teach Yourself Linux in 24 Hours:Installing Linux:EarthWeb Inc.-</TITLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!-- ISBN=0672311623 //-->
<!-- TITLE=Sams Teach Yourself Linux in 24 Hours//-->
<!-- AUTHOR=Bill Ball//-->
<!-- PUBLISHER=Macmillan Computer Publishing//-->
<!-- IMPRINT=Sams//-->
<!-- CHAPTER=02 //-->
<!-- PAGES=0011-0030 //-->
<!-- UNASSIGNED1 //-->
<!-- UNASSIGNED2 //-->
<P><CENTER>
<a href="0019-0021.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0025-0027.html">Next</A>
</CENTER></P>
<A NAME="PAGENUM-22"><P>Page 22</P></A>
<TABLE BGCOLOR=#FFFF99><TR><TD>JUS A MINUTE</TD></TR><TR><TD>
<BLOCKQUOTE>
If your attempt to create the partition fails for some reason, an error
window pops up, explaining what the error is. More than likely the error is that
Disk Druid could not allocate the disk space for the drive currently and
you will need to edit the partition to be smaller or make other alterations to accommodate
the partition.
</BLOCKQUOTE>
</TD></TR></TABLE>
<P>Once you're done selecting the new partitions for your drive, select Ok or F12
and confirm that you want to make the changes. The install goes to the next stage.
</P>
<H4><A NAME="ch02_ 15">
Activating Swap Space<BR>
</A></H4>
<P>Figure 2.8.<BR>
It's a good idea to<BR>
have Linux check for<BR>
bad blocks during<BR>
formatting.</P>
<P><a href="javascript:displayWindow('images/ch02fg08.jpg', 127, 98)"><img src="images/tn_ch02fg08.jpg"></a><BR>
</P>
<P>Once the partitions have been created, the install program searches for swap
partitions. If it doesn't find any it will warn you, and you can go back to the previous step of
partitioning the drives and set up a section to be swapped. If one or more swap spaces were
detected, a screen, shown in Figure 2.8, asks which partitions you wish to use for swap. Select
the check boxes of the partitions you want to use, and also select whether or not you want
to check for bad blocks when it does the swap formatting. Once you are ready to
continue, choose Ok.
</P>
<H4><A NAME="ch02_ 16">
Formatting Partitions
</A></H4>
<P>Once the swap space has been selected, the next screen brings up a dialog box of the
Linux Native partitions you need to format. You need to format any new partitions you
created in the install process, and you should reformat any old partitions from previous
Linux installs that do not contain data you want to keep.
</P>
<P>Toggle the checkbox for each partition you want to format, and toggle whether you
want to check for bad blocks during the format.
</P>
<H4><A NAME="ch02_ 17">
Selecting Which Components To Install
</A></H4>
<P>The next stage of the install is to select which packages you want on your Linux Box.
</P>
<A NAME="PAGENUM-23"><P>Page 23</P></A>
<P>
Figure 2.9.<BR>
This dialog box gives<BR>
you a list of packages<BR>
you can install.</P>
<P><a href="javascript:displayWindow('images/ch02fg09.jpg', 112, 98)"><img src="images/tn_ch02fg09.jpg"></a><BR>
</P>
<P>A screen, shown in Figure 2.9, asks which components you would like to install on
your machine. These components are sets of packages that work together or are similar
in nature. The X Window System is all of the packages that give most of the X
functionality (server, basic libraries, window manager, and some clients). Adding the X Games
package installs various amusements.
</P>
<P>If you want to install a minimal base 50 megabyte system, you need to unselect
everything that has been auto-selected.
</P>
<P>Figure 2.10.<BR>
Selecting individual<BR>
packages for installation.<BR>
Not recommended<BR>
for beginners.</P>
<P><a href="javascript:displayWindow('images/ch02fg10.jpg', 91, 84)"><img src="images/tn_ch02fg10.jpg"></a><BR>
</P>
<P>For the person wanting to fine-tune the items in the component listings, you can
select individual packages by toggling the so named switch. If chosen, another screen, shown
in Figure 2.10, enables you to pick and choose which sub-packages you want to install.
A scrolling menu of all the package groups available is displayed, and you can select or
deselect any package inside of a grouping. In selecting or deselecting individual packages, the
install program may ask you to either choose them again or will need to install other
packages. This is due to the fact that other packages may depend on the un-selected package
to properly work.
</P>
<P>Finally, in this mode, you also can get more information on what each package
contains or is supposed to do, by pressing the F1 key. To continue onto the next stage of the
install, tab over to the Ok button and the installation begins.
</P>
<H4><A NAME="ch02_ 18">
Format and Install
</A></H4>
<P>Once any dependency issues have been resolved, the installation program lets you
know that a complete listing of packages installed will be put in the
/tmp/install.log file. Press Enter to continue on to the next stage. This stage is where each of the partitions that you
chose previously to be formatted have new file systems placed upon them. Packages are
now installed. You can follow the progress in the Install Status window.
</P>
<A NAME="PAGENUM-24"><P>Page 24</P></A>
<H3><A NAME="ch02_ 19">
Finishing the Installation
</A></H3>
<P>This final section of the chapter covers the items needed to finish the install and get
your Linux system booted. You still need the pre-planning pad of paper.
</P>
<H4><A NAME="ch02_ 20">
Choosing a Mouse
</A></H4>
<P>The program probes your system for a mouse, and if it finds one, indicates the type
and port that the mouse is connected to. Depending on the mouse, you may be asked for
the number of buttons the mouse has, what protocol it uses, and if you need your
2-button mouse to emulate a 3-button model.
</P>
<TABLE BGCOLOR=#FFFF99><TR><TD>JUST MINUTE</TD></TR><TR><TD>
<BLOCKQUOTE>
After the install has occurred, if you need to change the values for the mouse, you can use the program /usr/sbin/mouseconfig.
</BLOCKQUOTE>
</TD></TR></TABLE>
<H4><A NAME="ch02_ 21">
Configuring X Window
</A></H4>
<P>The next window that comes up asks you about the X Window server that you want to
run. The configuration of X Window is detailed more in Hour 3, "Configuring the X
Window System." However, this section walks you through a quick rundown so you can finish
the initial installation.
</P>
<P>Scroll down the list of video cards listed and try to find the card that is in your
machine. One thing to note is that video cards, like cars, may have brand names very similar to
one another, but the items under the hood (chipset in the case of the card)
can be very different. If you can't find a card that matches what you have in your machine, choose the
Generic VGA compatible card that every video card should be able to emulate. Once a card has
been selected, the appropriate X server will be installed onto your machine.
</P>
<P>The next screen tries to determine the model of monitor you have. It is very important
that you select a monitor that matches your model exactly. If your model isn't listed, you
need to choose custom and fill in the values that were researched earlier for your monitor.
</P>
<P>
<CENTER>
<TABLE BGCOLOR="#FFFF99">
<TR><TD><B>
CAUTION
</B></TD></TR>
<TR><TD>
<BLOCKQUOTE>
Entering incorrect values for your monitor can cause damage to the monitor.
The author has smoked a monitor in the past by putting the wrong model's data
into the settings.
</BLOCKQUOTE></TD></TR>
</TABLE></CENTER>
</P>
<P><CENTER>
<a href="0019-0021.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0025-0027.html">Next</A>
</CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -