079-082.html

来自「linux-unix130.linux.and.unix.ebooks130 l」· HTML 代码 · 共 91 行

HTML
91
字号
<HTML>

<HEAD>

<TITLE>Linux Configuration and Installation:Installing Linux</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=1558285660//-->

<!--TITLE=Linux Configuration and Installation//-->

<!--AUTHOR=Patrick Volkerding//-->

<!--AUTHOR=Kevin Reichard//-->

<!--AUTHOR=Eric Foster//-->

<!--PUBLISHER=IDG Books Worldwide, Inc.//-->

<!--IMPRINT=M & T Books//-->

<!--CHAPTER=2//-->

<!--PAGES=079-082//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="076-079.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="082-086.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<P>We&#146;re not going to list every piece of software that can be installed; you can make most of these decisions on your own. However, there are some things to note as the disk sets are installed:

</P>

<DL>

<DD><B>&#149;</B>&nbsp;&nbsp;Linux will install a kernel best suited for your PC configuration; most of the precompiled kernels should meet the needs of most users. However, during the installation process, you&#146;ll be asked about installing various kernels that are not applicable to your PC configuration. In fact, one of the first disk sets includes support for a Linux kernel lacking SCSI support. Because the <B>setup</B> program doesn&#146;t know anything about your hardware, it will ask if you want to install this kernel. In most cases, you&#146;ll want to install the kernel from your bootdisk&#151;<B>setup</B> gives you this option once all the packages are installed.

<DD><B>&#149;</B>&nbsp;&nbsp;During the installation process you&#146;ll be asked whether you want to install a package called <B>gpm</B>, which manages the mouse for Linux running in character mode. This package can cause conflicts with the X Window System and its mouse control, so if you planning on using X, you shouldn&#146;t install this software. (However, if you don&#146;t plan on using X, you should install <B>gpm</B>, because it allows you to better use the Midnight Commander, a useful text-based disk utility.)

<DD><B>&#149;</B>&nbsp;&nbsp;There are many text editors available in the Linux disk sets, including <B>emacs</B> and <B>vi</B> clones called <B>elvis</B> and <B>vim</B>. These should meet your needs; if you&#146;re tight on space, you can avoid the other text editors, such as <B>jove</B> and <B>joe</B>. (Not that we&#146;re saying anything bad about <B>jove</B> or <B>joe</B>, mind you.)

<DD><B>&#149;</B>&nbsp;&nbsp;You&#146;ll be asked about alternate shells, including <B>zsh</B>, <B>ash</B>, and <B>tcsh</B>. The default Linux shell is <B>bash</B> (Bourne Again shell), and most users&#151;especially beginners&#151;will find that it works well. However, you may find that one of the alternate shells better fits your needs or works more like a shell you&#146;ve used in the past. Because the shells don&#146;t take up much disk space, go ahead and install them all.

<DD><B>&#149;</B>&nbsp;&nbsp;If you install the GNU C compiler, you also need to install <B>binutils</B>, <B>libc</B>, and the <B>linuxinc</B> package (this contains the include file from the Linux kernel source). Some of these packages are tagged <I>mandatory</I> by the Linux <B>setup</B> program; the warning applies if you use your own tagfiles.)

<DD><B>&#149;</B>&nbsp;&nbsp;The version of <B>emacs</B> that&#146;s initially installed from the CD-ROM was compiled with the assumption that it would be running under the X Window System. If you don&#146;t plan on using X, be sure to install the <B>emac_nox</B> package, which doesn&#146;t contain the X Window support and can be run in character mode. It&#146;s also smaller and will save some disk space.

<DD><B>&#149;</B>&nbsp;&nbsp;If you install the <B>x</B> series of disk sets, you&#146;ll be asked about the chipset used in your graphics card, as there are some X Window servers tailored to specific chipsets. If you&#146;re not sure which chipset you have, don&#146;t respond to any specific chipsets and install the SuperVGA or VGA X server; you can always change this when you install XFree86 (as described in Chapter 3).

<DD><B>&#149;</B>&nbsp;&nbsp;Some of the older applications require some older libraries to run, and at some point you&#146;ll be asked about including those libraries. You should install them.

<DD><B>&#149;</B>&nbsp;&nbsp;Generally speaking, you should install as many fonts as possible.

</DL>

<P><FONT SIZE="+1"><B>Being a Good Linux Citizen</B></FONT></P>

<P>As you install the disk sets, you&#146;ll occasionally see a message pointing out that Linux is installing unregistered software. This means that the UNIX freeware is being included as a service, and it&#146;s up to you to pay a registration fee. (The best example of this is <B>xv</B>, an outstanding graphics program from John Bradley.) As a good Linux citizen, you&#146;ll want to check through the online-manual pages or <B>README</B> documents associated with these programs and register the software.</P>

<P><FONT SIZE="+1"><B>Dealing with Errors</B></FONT></P>

<P>Although it is a very infrequent occurrence, you may experience an error message or two when installing Linux from the disk sets. One of the errors may be <I>Device Full</I>, which means that you&#146;ve filled your hard drive. Slackware, however, will continue to attempt to install software, even if the disk is full.</P>

<P>To end the installation program, either hit the <B>Esc</B> key a few times or type <B>Ctrl-C</B>.</P>

<H4 ALIGN="LEFT"><A NAME="Heading17"></A><FONT COLOR="#000077">Configuring the Installed Software</FONT></H4>

<P>There are two main tasks involved after the Linux disk sets are installed: configuring XFree86 and setting up boot options.

</P>

<P><FONT SIZE="+1"><B>Installing a Kernel</B></FONT></P>

<P>The first Linux configuration task is to install a Linux kernel on your hard drive. It&#146;s possible that you&#146;ve already installed a kernel from the <I>A</I> series (there are two kernels on the <I>A</I> series, an IDE and a SCSI generic kernel), but in most cases it is preferable to replace this kernel with the one you&#146;ve used to install. That way, there won&#146;t be any surprises when you reboot; you&#146;ve installed a kernel that you know works on your machine.</P>

<P>To do this, select the <B>bootdisk</B> option on the Kernel Installation menu. You&#146;ll be asked to reinsert your installation bootdisk, and the kernel will be copied from it onto your hard drive. Other options on this menu include installing a kernel from a DOS floppy or from the Slackware CD-ROM drive. If you know exactly which kernel you need, you can try one of these options. You should be aware that installing the wrong kernel here can leave Linux unbootable, requiring you to use your bootdisk or <B>Loadlin</B> to start the system.</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>NOTE:&nbsp;&nbsp;</B>When you install a kernel from this menu, all it does is put the kernel file onto your root Linux partition as <B>/vmlinuz</B>. Until you make a system bootdisk from it or install LILO, your system is not ready to boot. So, you&#146;ll want to make a system bootdisk from the next menu.<HR></FONT>

</BLOCKQUOTE>

<P><FONT SIZE="+1"><B>Creating a Boot Floppy</B></FONT></P>

<P>Linux will boot from either a floppy drive or a hard drive. However, it&#146;s recommended that you set up the means to boot either way; that way, if you have hardware problems, you can always boot the system from a floppy drive. Hence, the request from the <B>setup</B> program to create a boot floppy. This floppy can be used to boot Linux at any point. This will be handy should you experience some hard disk problems or screw up your hard disk so severely that the system won&#146;t load.</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>NOTE:&nbsp;&nbsp;</B>If you don&#146;t create a boot floppy at this time, you can always do so later. The topic is covered in some depth in Chapter 6.<HR></FONT>

</BLOCKQUOTE>

<P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="076-079.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="082-086.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>





</td>
</tr>
</table>

<!-- begin footer information -->





</body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?