⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 0028-0030.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 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="0025-0027.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch03/0031-0034.html">Next</A>

</CENTER></P>



<A NAME="PAGENUM-28"><P>Page 28</P></A>





<TABLE BGCOLOR=#FFFF99><TR><TD>JUST A MINUTE</TD></TR><TR><TD>

<BLOCKQUOTE>

Other printers can be added, edited, or deleted after the install by using the

X Window tool, printtool.

</BLOCKQUOTE>

</TD></TR></TABLE>





<H4><A NAME="ch02_ 26">

Entering Your Initial Password

</A></H4>



<P>The next screen, shown in Figure 2.13, asks you to type a root password for your

computer. This password is used to log in the administrative account as root. Your first login is

as root so that you can set up other accounts and finalize setting up any other system

items before bringing the machine into &quot;production.&quot;

</P>



<P>In choosing a root password (or any password for that matter), you should choose one

that is at least 6 characters, not a word found in a dictionary, a set of numbers, or some

item that is easily guessable about you (your birthday date). Passwords that are considered

to be good are a mix of numerals and case, and usually are acronyms of sentences or

combined words. Examples of good passwords (at least until this is published) would be

Fraz93Re, SH22puk, Iam99bal. Passwords are case-sensitive and commonly have a limit of only

8 characters (so Fraz93Rent and Fraz93Rex would both be considered the same password.)

</P>



<P>Come up with a password for your machine, write it down on a separate piece of

paper,and then enter it in the dialog areas. For security reasons, what you type does not

show up on the screen. Because of this you need to enter the password twice to confirm that

you are typing it the same way. When you have entered it twice, select Ok and press Enter.

If the two passwords match each other, you will go onto the next screen. If they don't,

you will need to re-enter them.

</P>



<P>Remember, the root user has complete access and control over the system, having

the</P>





<P>Figure 2.14.<BR>

Selecting where you<BR>

want to install the<BR>

bootloader.Most<BR>

people should select<BR>

the default Master Boot<BR>

Record option.</P>

<P><a href="javascript:displayWindow('images/ch02fg14.jpg', 123, 61)"><img src="images/tn_ch02fg14.jpg"></a><BR>

</P>







<P>ability to look into or change any file on the system, which is why this password should

be kept secure.

</P>



<H3><A NAME="ch02_ 27">

Selecting Boot Options

</A></H3>



<P>You have reached the final stretch of the installation. This is the part where you decide

how you will boot Linux after the installation.

</P>





<A NAME="PAGENUM-29"><P>Page 29</P></A>







<P>The screen you are presented with, shown in Figure 2.14, gives you the choice of

installing LILO (the bootloader) to two different parts of the system.

</P>



<UL>

<LI>          Master Boot Record. This replaces the master boot record of the system, causing

a LILO prompt to come up each time you boot the machine. Useful in most cases.

<LI>          First sector of the boot partition. This option can be used if you have another boot

loader on your system (OS/2, NT, Partition Magic, or System Commander are

some examples). These boot loaders are already in the Master Boot Record of

the primary drive and you don't want to replace them. With LILO installed to

the root partition, you can then configure the other boot system to start that OS.

</UL>



<P>You also can choose to skip the installation of LILO to the hard drive. This is usually

done when you want to use the LOADLIN program or if you installed Linux to an IDE

system on the boot floppy. Choose the method you want and either select Ok or Skip.

</P>



<P>If you selected either the First Sector of the root partition or the Master Boot Record,

you are shown a screen asking for any boot options you need to pass to the machine or if

you need to use the linear addressing mode to write to the system. For most systems, you

don't have to choose anything going with the default.

</P>



<P>Once LILO has been written to the boot record, you see a screen notifying you that

the install is done, to remove the floppy disk from the drive, and to press Enter. If you do

not get this screen, check the ALT-F3 and ALT-F4 screens to see if an error occurred

during the LILO installation. In that case, you may need to skip the LILO installation and

then use the alternative methods of booting.

</P>



<H4><A NAME="ch02_ 28">

Booting the System

</A></H4>



<P>Once LILO or LOADLIN have been installed, you can boot the Linux operating

system. If LILO was chosen, you see what is called the LILO prompt:

</P>





<!-- CODE SNIP //-->

<PRE>

LILO:

</PRE>

<!-- END CODE SNIP //-->



<P>If you don't do anything at this point, the system automatically boots into Linux after a

short timeout. If you have set up your system to boot to other operating systems, you can hit

the Tab key to see what choices are available, and then just type in your option and press Enter.

</P>



<!-- CODE SNIP //-->

<PRE>

linux dos

LILO:

</PRE>

<!-- END CODE SNIP //-->



<P>After a few seconds, you see a set of text as the kernel boots up for the first time. After

a short while, you should see the following prompt:

</P>

<!-- CODE SNIP //-->

<PRE>

Red Hat Linux release 5.0 (Hurricane)

Kernel 2.0.32 on an i586



login:

</PRE>

<!-- END CODE SNIP //-->



<P>You are now ready to login into the Red Hat Linux system. To do so, type

root and you are prompted for a Password. Type the password you typed during the install, and

you should get a # prompt indicating you have successfully logged in.

</P>

<A NAME="PAGENUM-30"><P>Page 30</P></A>







<P><CENTER>

<a href="0025-0027.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch03/0031-0034.html">Next</A>

</CENTER></P>











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

<!-- begin footer information -->









</body></html>

⌨️ 快捷键说明

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