📄 00000062.htm
字号:
Below the dialog box where you chose "Everything", there will be another box <BR>with the phrase "Choose individual packages."
<BR>Select it.
<BR>
<BR>You will then be taken to another dialog box listing the categories of all <BR>the software that will be installed on the system. Scroll
<BR>down to Documentation.
<BR>
<BR>For some reason RedHat wants to install the How-To's and things in every <BR>format known to man, and in every language spoken
<BR>by man.
<BR>
<BR>Choose the text format and html format of the documents. The one exception to <BR>this is if for whatever reason, you would find it
<BR>useful to have these documents in another language, in which case you should <BR>select the appropriate language desired as well.
<BR>When you are finished, select done. This will save you a significant amount <BR>of disk space.
<BR>
<BR>Common to both of the distributions, the following tasks are ones you need to <BR>perform regardless of which distribution you use:
<BR>
<BR>1. Creating boot and rescue disks.
<BR>
<BR>Slackware:
<BR>
<BR>Toward the end of the installation process, you will be asked to configure <BR>your new Linux system. I strongly recommend making
<BR>both a lilo bootdisk, and a default, or vmlinuz bootdisk for your new <BR>machine, and choosing NO to the install LILO option.
<BR>
<BR>RedHat:
<BR>
<BR>Toward the end of the installation, you will be asked if you want to make a <BR>boot disk. Answer yes. Make several.
<BR>
<BR>If prompted to configure either X windows, or your networking, answer no. If <BR>you are forced to do either of these things for X,
<BR>accept the defaults. For networking, if asked for a network address, use <BR>127.0.0.1, or choose the "loopback" option if available.
<BR>We will be configuring these things in the next installment.
<BR>
<BR>2. Logging in as root for the first time and creating a user account for <BR>yourself.
<BR>
<BR>While there are times when it will be useful to be logged into your system as <BR>root, most of the time, you will want to be logged in to
<BR>your own account on the machine.
<BR>
<BR>There are many reasons for this, not the least of which is that when logged <BR>in as yourself, just about the worst thing you can do is
<BR>screw up your own account.
<BR>
<BR>However, when logged in as root, most of the safeguards built into the system <BR>go away. You can do anything, even things you
<BR>should not do. Like hose the entire filesystem. This is both the strength, <BR>and the weakness of the superuser account.
<BR>
<BR>Treat it like a loaded gun. Don't pull it out unless you mean to use it. If <BR>you mean to use it make sure you have a clear target and
<BR>put it right back in the holster as soon as you're done.
<BR>
<BR>Now that I hope I've properly scared you, here's what you need to do:
<BR>
<BR>Login as root. Then create a user account for yourself:
<BR>
<BR>
<BR>adduser rjenkins
<BR>
<BR>You will be asked a series of questions. You can safely press enter to accept <BR>the defaults for these things.
<BR>
<BR>3. Selecting and entering your root and personal user account passwords.
<BR>
<BR>Now you need to password protect the root account and your user account. <BR>Logged in as root, use the passwd command to do this
<BR>for both the root or superuser account, and your personal account.
<BR>
<BR>
<BR>passwd root
<BR>
<BR>And then your user account:
<BR>
<BR>
<BR>passwd rjenkins
<BR>
<BR>A short comment on password selection and security. Good password discipline <BR>is very important, whether you are connected to a
<BR>network or not. Briefly, here are a few guidelines:
<BR>
<BR>Choose something you can easily remember, say kibble.
<BR>
<BR>Now, add a punctuation mark and a number to it, say ?kibble4.
<BR>
<BR>Finally, for best security, a neat trick is to take the word you can remember <BR>easily, in this case kibble, and for each letter in the
<BR>word, move up one row on the keyboard, and over either to the left or the <BR>right.
<BR>
<BR>So for ?kibble4 if we move up and to the left, we get: ?u8ggi34.
<BR>
<BR>If we go up and to the right we get: ?o9hhp44.
<BR>
<BR>This is easy to remember, and will defeat all but the most sophisticated <BR>password cracking programs.
<BR>
<BR>
<BR>
<BR>Navigating the Linux system, and obtaining help and information from the <BR>documentation.
<BR>
<BR>The first thing you will want to do is learn how to navigate your system. You <BR>will find a wealth of documentation in the /usr/doc
<BR>directory. In particular, look at the /usr/doc/how-to directory, and check <BR>out the installation and user's guide.
<BR>
<BR>If you purchased your CD bundled with a book, make use of it. There should be <BR>enough information there, or in the doc directory
<BR>to get you started.
<BR>
<BR>While the editors and document tools available will vary from distribution to <BR>distribution, every distribution should have vi available.
<BR>You will probably either learn to love or hate it. There does not seem to be <BR>any middle ground, but I suggest you at least learn to
<BR>use it, since it will allow you to plunk down at any Unix machine and use it. <BR>
<BR>
<BR>Much abbreviated, here's a short list of relevant commands:
<BR>
<BR>To open a file:
<BR>vi filename
<BR>
<BR>To insert text in a file:
<BR>Press the i key to enter insert mode, then enter your text.
<BR>
<BR>To write your changes to a file:
<BR>Press the escape <Esc> key, then :w <:enter>
<BR>
<BR>To close a file:
<BR>Press the escape <Esc> key, then :q <enter>
<BR>
<BR>An even better option is to use the Midnight Commander, if it is available on <BR>your system. Simply enter mc.
<BR>
<BR>It looks and acts a lot like the N*rton Commander, and makes an easy <BR>transition for anyone who has used that program, or is
<BR>familiar with the DOSSHELL.
<BR>
<BR>Well, that's about it for now, Congratulations! See, that wasn't so hard now <BR>was it? In the next installment, we'll configure the X
<BR>windowing system and your networking setup.
<BR>
<BR>
<BR>
<BR>Resources
<BR>
<BR>Software Manufacturers:
<BR>RedHat Linux: <A HREF="http://www.redhat.com/">http://www.redhat.com/</A>
<BR>Slackware: <A HREF="http://www.cdrom.com/">http://www.cdrom.com/</A>
<BR>
<BR>Third Party Distributors:
<BR><A HREF="http://www.cheapbytes.com">http://www.cheapbytes.com</A>
<BR><A HREF="http://www.linuxmall.com">http://www.linuxmall.com</A>
<BR><A HREF="http://www.infomagic.com/">http://www.infomagic.com/</A>
<BR><A HREF="http://www.cdrom.com">http://www.cdrom.com</A>
<BR>
<BR>Local User Groups:
<BR>Most areas have several local computer-oriented publications available. Have <BR>a look for a local user group in your area. There are
<BR>also list of user groups by area at <A HREF="http://www.ssc.com/glue/groups/">http://www.ssc.com/glue/groups/</A> <BR>-- <BR> 白马带著她一步步的回到中原。白马已经老了,只能慢慢的走, <BR>但终是能回到中原的。江南有杨柳、桃花,有燕子、金鱼…… <BR>汉人中有的是英俊勇武的少年,倜傥潇洒的少年……但这个美 <BR>丽的姑娘就像古高昌国人那样固执: <BR> <BR> 「那都是很好很好的,可是我偏不喜欢。」 <BR> <BR>※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.99.18.67] <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -