doc017.htm
来自「Reh Hat user manual. really goooood」· HTM 代码 · 共 1,123 行 · 第 1/4 页
HTM
1,123 行
<p><p><a name="f8"></a><center><img src="img005.gif"></center><p><center>Figure 8:Installing via NFS</center><p><p><h3><a name="s2.4.6">2.4.6 Upgrading or Installing</a></h3><title>Upgrading or Installing</title><p>After you choose an installation method (and, if you're installing viaNFS or SMB volume, after you configure networking information), theinstallation program prompts you to either <em>install</em> or<em>upgrade</em> (see Figure <a href="doc017.html#f9">9</a>).<p><h4><a name="s2.4.6.1">2.4.6.1 Installing</a></h4><title>Installing</title><p>You usually install Red Hat Linux on a clean disk partition or set ofpartitions, or over another installation of Linux. Installing Red Hat Linuxover another installation of Linux (including Red Hat Linux) does not preserveany of the prior installation.<p>If you wish to perform a full install, choose <b>Install</b>.<p><h4><a name="s2.4.6.2">2.4.6.2 Upgrading</a></h4><title>Upgrading</title><p>The installation process for Red Hat Linux 4.2 includes the ability toupgrade from prior versions of Red Hat Linux (2.0, 2.1, 3.0.3, and 4.0) whichare based on RPM technology. Upgrading your system installs themodular 2.0.<em>x</em> kernel as well as updated versions of the packageswhich are installed on your machine. The upgrade process preservesexisting configuration files using a <tt>.rpmsave</tt> extenstion (e.g.,<tt>sendmail.cf.rpmsave</tt>) and leaves a log telling what actions ittook in <tt>/tmp/upgradelog</tt>. As software evolves, configuration fileformats can change, so you should carefully compare your originalconfiguration files to the new files before integrating your changes. <p>If you wish to upgrade your Red Hat Linux/Intel system, choose<b>Upgrade</b>. <p><b>Please Note:</b> Some upgraded packages may ``depend'' on other packageswhich may not be installed on your system. The upgrade procedure takescare of these <em>dependencies</em>, but it may need to install additionalpackages in order to satisfy them.<p><p><a name="f9"></a><center><img src="img006.gif"></center><p><center>Figure 9:Upgrading or Installing</center><p><p><h3><a name="s2.4.7">2.4.7 SCSI Support</a></h3><title>SCSI Support</title><a name="i50"><p>After you choose whether to perform an upgrade or a full install, theinstallation program asks you whether you have any SCSI adapters. Ifyou choose <b>Yes</b>, the following dialog presents a list of SCSIdrivers. Choose the driver that most closely resembles your SCSIadapter. The installation program then gives you an opportunity tospecify options for the SCSI driver you selected; most SCSI driversdetect your hardware automatically, however.<p><h3><a name="s2.4.8">2.4.8 If You Are Installing via FTP or SMB</a></h3><title>If You Are Installing via FTP or SMB</title><a name="i51"><p>If you are not installing Red Hat Linux via FTP or via an SMB volume, you mayskip to Section <a href="doc017.html#s2.4.9">2.4.9</a> below.<p><h4><a name="s2.4.8.1">2.4.8.1 Choosing a Network Driver</a></h4><title>Choosing a Network Driver</title><p>If you are installing via FTP or via an SMB volume, you must have a supported network cardinstalled in your computer. The installation program prompts you tochoose the driver that supports your network card and to specify anyoptions necessary for the driver to locate and recognize the card. Mostof the time, the driver can locate the card automatically by<em>probing</em>; however, it is possible that probing your hardwaremight cause your machine to hang. If this happens, reboot the machine,start the installation again, and specify additional driver optionswhen you get to this step (see Appendix <a href="doc076.html#sA">A</a>).<p><h4><a name="s2.4.8.2">2.4.8.2 Configuring TCP/IP Networking</a></h4><title>Configuring TCP/IP Networking</title><p>After the installation program has found your network card, it presentsseveral dialogs for configuring TCP/IP networking. This information isonly used during the installation process; you will be able toconfigure permanent networking information later. This feature allows greater flexibility if you want to install from anetwork other than the one where the machine will ``live''. Figure<a href="doc017.html#f5">5</a> contains example networking information. <p>The first dialog asks you for IP and other network addresses (seeFigure <a href="doc017.html#f6">6</a>). Enter the <b>IP address</b> you areusing during installation and press <tt>[Enter]</tt>. The installationprogram attempts to guess your <b>Netmask</b> based on your IPaddress; you may change the netmask if it is incorrect. Press<tt>[Enter]</tt>. The installation program guesses the <b>Defaultgateway</b> and <b>Primary nameserver</b> addresses from your IP addressand netmask; you may change them if they are incorrect. Choose<b>OK</b> to continue.<p>The second dialog prompts you for a domain name, a hostname, and othernetworking information (see Figure <a href="doc017.html#f7">7</a>). Enter the<b>Domain name</b> for your system and press <tt>[Enter]</tt>; theinstallation program carries the domain name down to the <b>Hostname</b> field. Enter the hostname you are using in front of the domainname to form a fully qualified domain name (FQDN). If your network hasmore than one nameserver, you may enter IP addresses for additionalnameservers in the <b>Secondary nameserver</b> and <b>Tertiarynameserver</b> fields. Choose <b>OK</b> to continue.<p><h4><a name="s2.4.8.3">2.4.8.3 FTP Server Information</a></h4><title>FTP Server Information</title><p>If you're installing via FTP, the next dialog requests informationabout the FTP server (see Figure <a href="doc017.html#f10">10</a>). Enter thename or IP address of the FTP site you are installing from, and thename of the directory there which contains the <tt>RedHat</tt> directoryfor your architecture. For example, if the FTP site contains thedirectory <tt>/pub/mirrors/redhat/i386/RedHat</tt>, enter<tt>/pub/mirrors/redhat/i386</tt>. If you are not using anonymous FTP, orif you need to use a proxy FTP server (if you're behind a firewall, forexample), another dialog requests the FTP account or proxy information.<p><p><a name="f10"></a><center><img src="img007.gif"></center><p><center>Figure 10:Installing via FTP</center><p><p><h4><a name="s2.4.8.4">2.4.8.4 SMB Server Information</a></h4><title>SMB Server Information</title><p>If you're installing via SMB volume, the next dialog requestsinformation about the SMB server (see Figure <a href="doc017.html#f11">11</a>).Enter the name or IP address of your SMB server, the name of the sharedvolume which contains the Red Hat Linux CD, and the account name and passwordfor the volume.<p><p><a name="f11"></a><center><img src="img008.gif"></center><p><center>Figure 11:Installing via SMB volume</center><p><p><h3><a name="s2.4.9">2.4.9 Creating Partitions for Red Hat Linux</a></h3><title>Creating Partitions for Red Hat Linux</title><p>After choosing whether to use SCSI support (and, if you're installingvia FTP, after you configure networking information), the installationprogram presents a list of the hard disks it can find on your systemand prompts you to set aside at least one disk partition for Red Hat Linux. Ifyou need to create one or more partitions, select the disk you wish topartition and press <tt>[Enter]</tt>; the installation program starts theLinux <tt>fdisk</tt> utility. Please see Section <a href="doc015.html#s2.2.3">2.2.3</a>for recommendations about partitions for Red Hat Linux.<p><h4><a name="s2.4.9.1">2.4.9.1 Using <tt>fdisk</tt></a></h4><title>Using <tt>fdisk</tt></title><p><tt>fdisk</tt> includes online help which is terse but useful. Here are afew tips:<p><ul><p><li>To list the current partition table, use the <tt>p</tt> command. To add anew partition, use <tt>n</tt>.<p><li>Linux <tt>fdisk</tt> creates partitions of type <tt>Linux native</tt> bydefault. When you create a swap partition, don't forget to change it totype <tt>Linux swap</tt> using the <tt>t</tt> command.<p><li>Linux allows up to four (4) partitions on one disk. If you wish tocreate more than that, one of the four may be an <em>extended</em>partition, which in turn contains one or more <em>logical</em>partitions. Since it acts as a container, the extended partition mustspan all of the space that the logical partitions will take up.<p><li>It's a good idea to write down which partitions (e.g., <tt>/dev/hda2</tt>)are meant for which filesystems (e.g., <tt>/usr</tt>) as you create eachone.<p><li><b>Please Note:</b> None of the changes you make take effect until you save themand exit <tt>fdisk</tt> using the <tt>w</tt> command. You may quit <tt>fdisk</tt>at any time without saving changes using the <tt>q</tt> command.<p></ul><p><h4><a name="s2.4.9.2">2.4.9.2 Numbering Partitions</a></h4><title>Numbering Partitions</title><p>Linux refers to disk partitions using a combination of letters andnumbers which may be confusing to inexperienced users. Here is asummary:<p><dl><p><dt><b>The letters</b><dd> denote the device the partition is on, e.g.,<tt>/dev/hda</tt> (the first IDE hard disk) or <tt>/dev/sdb</tt> (the secondSCSI disk).<p><dt><b>The number</b><dd> denotes the partition. The first four (primary orextended) partitions are numbered <tt>1</tt> through <tt>4</tt>. Logicalpartitions start at <tt>5</tt>. E.g., <tt>/dev/hda3</tt> is the thirdprimary or extended partition on the first IDE hard disk;<tt>/dev/sdb6</tt> is the second logical partition on the second SCSI harddisk.<p></dl><p><h4><a name="s2.4.9.3">2.4.9.3 Changing the Partition Table</a></h4><title>Changing the Partition Table</title><p>When you are finished partitioning your disks, press <b>Done</b>; youmay see a message indicating that the installation program needs toreboot. This is a normal occurrence after changing a disk's partitiondata; it usually happens if you created, changed, or deleted anyextended partitions. After you press <b>OK</b>, your machine willreboot. Follow the same installation steps you did up until<b>Partitioning Disks</b>; then simply choose <b>Done</b>.<p><h3><a name="s2.4.10">2.4.10 Initializing Swap Space</a></h3><title>Initializing Swap Space</title><p>After creating partitions for Red Hat Linux, the installation program looksfor swap partitions. If it finds any, it asks whether you want toinitialize them. Select the partition(s) you wish to initialize asswap space using <tt>[Space]</tt>; if you wish to check the partitions forbad blocks, make sure the <b>Check for bad blocks during format</b>box is checked. Choose <b>OK</b>.<p>If the installation program can't find your swap partition, make sureyou have set the partition type to <tt>Linux swap</tt>; see Section<a href="doc017.html#s2.4.9">2.4.9</a> above.<p><h3><a name="s2.4.11">2.4.11 Filesystem Configuration</a></h3><title>Filesystem Configuration</title><p>Since Red Hat Linux may be distributed across several disk partitions, youneed to choose which disk partitions go with which <em>filesystem</em>.<p><h4><a name="s2.4.11.1">2.4.11.1 Selecting the Root Partition</a></h4><title>Selecting the Root Partition</title><p>If you are performing a full install, the installation program presentsa list of the Linux partitions it can find and prompts you to choose a<em>root partition</em>. The root partition (or <em>rootfilesystem</em>) is the one which holds everything necessary to boot yourRed Hat Linux system; it is mounted on <tt>/</tt> (the <em>root directory</em>)when your system boots. Select the root partition you wish to use andpress <tt>[Enter]</tt>.<p>If you are performing an upgrade, the installation program tries tofind your root partition automatically; if it finds one, it goes on tothe next step.<p><h4><a name="s2.4.11.2">2.4.11.2 Other Partitions</a></h4><title>Other Partitions</title><p>The next dialog presents a list of most of the disk partitions on yoursystem (including MS-DOS and other partitions Linux can read), givingyou the opportunity to assign other partitions to different parts ofthe filesystem. The partitions you assign will be automatically
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?