📄 85.html
字号:
等待计算机重新启动.一大串[OK]过后,如果看到了"login:"(字符模式登<br>
录),或者登录的提示框(图形模式),基本上,你的系统已经安装成功了.<br>
<br>
在登录(login)的地方填写"root",回车(红旗3.0已经填好了).在口令处(<br>
passwd)填写纸条上的东西(纸条丢了?我倒).红旗初始口令为空,直接回车<br>
即可.如果在红旗3.x下初次以图形模式登录,会出现序列号提示框.<br>
<br>
一切正常的话,你应该能够看到"[root@localhost root]#<br>
"(字符模式)<br>
或者桌面(图形模式)了.<br>
<br>
在字符模式下,用"startx"来启动图形界面.如果启动不了,很可能是你的<br>
显卡没有设置好.在红旗和红帽子里有一个叫"setup"的配置程序,运行,选<br>
"Xconfigaration"那一项,配置你的显卡.如果还不能成功,估计就没戏了.<br>
________________________________________________________________<br>
________________________________________________________________<br>
<br>
看完没有?祝你安装成功(如果100%能成功,就不用"祝"了).<br>
________________________________________________________________<br>
________________________________________________________________<br>
<br>
下面是一些技巧.你装Window$时为什么没有只分一个区?Linux也可以有多<br>
个分区,也为了系统维护方便.常规上,一个稍为大一点的系统,"/usr"目录<br>
下专门挂一个分区(可在安装是设置,所有应该写入"/usr"的东西都写入这<br>
个分区),因为包括X-Window在内的绝大多数日常应用程序都在里面;用户<br>
多或者用户数据很重要的系统"/home"下挂一个分区;如果做Server并且存<br>
储了大量的队列日志记录,"/var"下也有一个分区.<br>
<br>
如果你的发行版实在太老,那个版本的lilo可能不支持超过8G的寻址,或者<br>
你的主板太老,不支持8.4G以上硬盘,请保证"/boot"目录在8G以前.有两种<br>
办法:<br>
1----"/"分区(300M~2G)在8G以前(比2方便);<br>
2----为"/boot"建立一个分区(<=100M,随便用分区工具在8G前开辟一点空<br>
间,就能见缝插针).<br>
系统启动后,Linux寻址将不受BIOS限制,而采用自身I/O控制.<br>
不过这种情况比较少见.现在的lilo(红旗从2.0开始)已经没有这个限制.<br>
<br>
我的分区如下:<br>
PCI-IDE<br>
|-hda<br>
|.|-hda1__主分区______2G____Fat16__挂装点/mnt/Win98____________C:<br>
|.|-hda2__扩展分区____38G<br>
|...|-hda5__逻辑分区__2G____ext2___挂装点/(红旗2.0,应急系统)<br>
|...|-hda6__逻辑分区__3??M__ext2___挂装点/(红旗3.0,日常使用)<br>
|...|-hda7__逻辑分区__13?M__Swap<br>
|...|-hda8__逻辑分区__2G____ext2___挂装点/usr(红旗3.0的)<br>
|...|-hda9__逻辑分区__5??M__ext2___挂装点/home(三个Linux共用)<br>
|...|-hda10_逻辑分区__2G____ext2___挂装点/(红帽子7.2,不会用)<br>
|...|-hda11_逻辑分区__2G____ext2___(预留给别的Linux)<br>
|...|-hda12_逻辑分区__5G____Fat32__挂装点/mnt/WinApp01_________D:<br>
|...|-hda13_逻辑分区__5G____Fat32__挂装点/mnt/WinApp02_________E:<br>
|...|-hda14_逻辑分区__5G____Fat32__挂装点/mnt/Data01___________F:<br>
|...|-hda15_逻辑分区__5G____Fat32__挂装点/mnt/Data02___________G:<br>
|...|-hda16_逻辑分区__5G____Fat32__挂装点/mnt/Backup___________H:<br>
|-hdc(CD-ROM)<br>
(里面的?=什么?哈哈,忘了)<br>
那些Fat分区千万不要在安装时挂上去,除非你不想要你的Win9x和资料了.<br>
<br>
你可以在安装完成后用命令"mount"挂装.<br>
________________________________________________________________<br>
<br>
现在来解释一下"挂装"的概念.<br>
<br>
挂装命令如此:<br>
mount /dev/[设备名] -t [文件系统格式] [挂点]<br>
卸载命令如此(任选一个):<br>
umount /dev/[设备名]<br>
umount /dev/[挂点]<br>
<br>
[设备名]<br>
各个分区在Linux下都被统一地看作"设备文件",存放在"/dev".不能直接<br>
访问,必须先"mount"上.<br>
<br>
[挂点]<br>
挂在哪个目录,那个目录就被称作挂点.一般情况下,尽量选用空目录充当<br>
挂点.挂好以后,你再次进入那个目录,你会发现里面不再空空如也.里面的<br>
内容就是新挂上的分区的内容.如果里面有目录,你还可以在下面挂装另外<br>
一个分区.比如,在用红旗2.0修复3.0的时候,我在2.0的根目录"/"下建立<br>
了"/sys2",把"/dev/hda6"挂在这里.然后我建立了"/sys2/usr"目录(hda6<br>
已经挂入,所以这个"usr"理所当然地在hda6),并把"/dev/hda8"挂在下面.<br>
<br>
理论上,任何目录都能当挂点.不过如果选非空目录,挂装后,原有的内容都<br>
会被屏蔽掉,直到你卸载这个分区.这样一般不会破坏你的系统,但是很可能<br>
造成麻烦.比如,你错误地把一个空分区挂到了"/usr/bin",那么"/usr/bin"<br>
暂时就变成了空城.如果系统或某个程序来调取东西,就会出错.<br>
<br>
[文件系统格式]<br>
世界上的文件系统种类众多.<br>
Fat8Fat12Fat16Fat32tfshpfsExtext2ext3XFSMinixiso9660<br>
......<br>
这里的"文件系统"主要指分区的格式<br>
Linux靠一个叫VFS(虚拟文件系统?)的组件抹平各种文件系统的差别.把它<br>
们模拟成linux格式.<br>
一般,Fat8Fat12Fat16Fat32在VFS里的格式就是vfat,标准CD光盘为<br>
iso9660,标准DVD为iso143??(谁知道,告诉我,我要买DVD-ROM了).<br>
<br>
[举例]<br>
我想挂上hda16,取文件备份:<br>
mount /dev/hda16 -t vfat /mnt/Backup<br>
我想把备份文件恢复到hda6:<br>
mount /dev/hda6 -t ext2 /sys2<br>
恢复系统的过程漫长而无聊,我向同学借来一张flash光盘,烤一些过来:<br>
mount /dev/hdc -t iso9660 /mnt/cdrom<br>
系统恢复完毕,我<br>
umount /dev/hda6<br>
umount /mnt/Backup<br>
<br>
很多时候" -t vfat"之类的格式声明可以省略,因为系统往往能自动识别.<br>
</FONT><br>
</TD>
</TR>
<TR>
<TD colSpan=2><FONT
class=middlefont></FONT><BR>
<FONT
class=normalfont>全文结束</FONT> </TD>
</TR>
<TR>
<TD background="images/dot.gif" tppabs="http://www.linuxhero.com/docs/images/dot.gif" colSpan=2
height=10></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></TD>
<TD vAlign=top width="20%"
background="images/line.gif" tppabs="http://www.linuxhero.com/docs/images/line.gif" rowSpan=2>
<DIV align=center>
<table class=tableoutline cellspacing=1 cellpadding=4
width="100%" align=center border=0>
<tr class=firstalt>
<td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colspan=2 height=21>
<font class=normalfont><b>所有分类</b></font></td>
</tr>
<tr class=secondalt> <td noWrap width=27%> <font class=normalfont>1:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type1.html" tppabs="http://www.linuxhero.com/docs/type1.html">非技术类</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>2:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type2.html" tppabs="http://www.linuxhero.com/docs/type2.html">基础知识</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>3:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type3.html" tppabs="http://www.linuxhero.com/docs/type3.html">指令大全</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>4:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type4.html" tppabs="http://www.linuxhero.com/docs/type4.html">shell</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>5:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type5.html" tppabs="http://www.linuxhero.com/docs/type5.html">安装启动</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>6:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type6.html" tppabs="http://www.linuxhero.com/docs/type6.html">xwindow</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>7:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type7.html" tppabs="http://www.linuxhero.com/docs/type7.html">kde</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>8:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type8.html" tppabs="http://www.linuxhero.com/docs/type8.html">gnome</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>9:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type9.html" tppabs="http://www.linuxhero.com/docs/type9.html">输入法类</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>10:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type10.html" tppabs="http://www.linuxhero.com/docs/type10.html">美化汉化</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>11:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type11.html" tppabs="http://www.linuxhero.com/docs/type11.html">网络配置</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>12:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type12.html" tppabs="http://www.linuxhero.com/docs/type12.html">存储备份</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>13:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type13.html" tppabs="http://www.linuxhero.com/docs/type13.html">杂项工具</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>14:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type14.html" tppabs="http://www.linuxhero.com/docs/type14.html">编程技术</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>15:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type15.html" tppabs="http://www.linuxhero.com/docs/type15.html">网络安全</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>16:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type16.html" tppabs="http://www.linuxhero.com/docs/type16.html">内核技术</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>17:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type17.html" tppabs="http://www.linuxhero.com/docs/type17.html">速度优化</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>18:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type18.html" tppabs="http://www.linuxhero.com/docs/type18.html">apache</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>19:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type19.html" tppabs="http://www.linuxhero.com/docs/type19.html">email</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>20:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type20.html" tppabs="http://www.linuxhero.com/docs/type20.html">ftp服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>21:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type21.html" tppabs="http://www.linuxhero.com/docs/type21.html">cvs服务</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>22:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type22.html" tppabs="http://www.linuxhero.com/docs/type22.html">代理服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>23:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type23.html" tppabs="http://www.linuxhero.com/docs/type23.html">samba</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>24:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type24.html" tppabs="http://www.linuxhero.com/docs/type24.html">域名服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>25:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type25.html" tppabs="http://www.linuxhero.com/docs/type25.html">网络过滤</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>26:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type26.html" tppabs="http://www.linuxhero.com/docs/type26.html">其他服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>27:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type27.html" tppabs="http://www.linuxhero.com/docs/type27.html">nfs</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>28:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type28.html" tppabs="http://www.linuxhero.com/docs/type28.html">oracle</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>29:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type29.html" tppabs="http://www.linuxhero.com/docs/type29.html">dhcp</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>30:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type30.html" tppabs="http://www.linuxhero.com/docs/type30.html">mysql</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>31:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type31.html" tppabs="http://www.linuxhero.com/docs/type31.html">php</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>32:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type32.html" tppabs="http://www.linuxhero.com/docs/type32.html">ldap</a></font></td> </tr> </table></td></tr> </table>
</DIV></TD></TR>
<TR vAlign=top>
<TD width="80%">
<DIV align=center><BR>
</DIV>
</TD></TR></TBODY></TABLE></TD></TR>
</TABLE></TD></TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=4 width="100%" bgColor=#eeeeee
border=0><TBODY>
<TR>
<TD width="50%">
<P><FONT class=middlefont>版权所有 © 2004 <A
href="mailto:bjchenxu@sina.com">linux知识宝库</A><BR>
违者必究. </FONT></P>
</TD>
<TD width="50%">
<DIV align=right><FONT class=middlefont>Powered by: <A
href="mailto:bjchenxu@sina.com">Linux知识宝库</A> Version 0.9.0 </FONT></DIV>
</TD></TR></TBODY></TABLE>
<CENTER></CENTER></TD></TR>
</TABLE></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -