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

📄 504.html

📁 著名的linux英雄站点的文档打包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
o /dev/hdc7 (3th logical) <br>
<br>
预计开放的服务: <br>
虽然是老旧的配备,不过相对于我服务的机器数:五部个人计算机,也相当足够了!呵呵!那么我需要的服务有哪些呢? <br>
· NAT : 用来分享频宽; <br>
· Mail : 用来收发信件; <br>
· WWW : 用来给大家架设个人网页; <br>
· Proxy : 用来提供五部区域计算机内的用途,并加以分流; <br>
· DHCP : 主要在提供内部计算机不需要安装一些有的没的! <br>
· FTP : 最好是不要安装的啦! <br>
<br>
我的网络: <br>
我的网络主要是以 拨接制 ADSL 为主,那么如何规划呢? <br>
· 在 linux 系统中,预计以 rp-pppoe 这个软件来拨接 ADSL 并且予以分享; <br>
· 我的内部网络之 网段 为 192.168.1.0/255.255.255.0 这一个,没有再切割的子网络; <br>
选择的套件: <br>
我选择的安装套件为 Red Hat 7.2 版,他的特征为: <br>
· 这一版的预设核心为 2.4.7-10 ! <br>
· 预设的防火墙机制为 Kernel 2.4.x 的 iptables ; <br>
· 预计使用 LILO 作为 Boot Loader 喔! <br>
· 另外,由于在设定其它的服务之前,想要先以较新的 Kernel ( 核心 ) 来编译过,因此需要先下载核心! <br>
大致上就是这样啰!<br>
<br>
硬盘规划 <br>
自订安装『Custom』: <br>
初次接触 linux :只要切割『 / 』及『 Swap 』即可! <br>
好了,通常初次安装 linux 系统的朋友们,我们都会建议他直接以一个最大的扇区『 / 』来安装,这样有个好处,就是不怕分割错误造成无法安装的困境!例如 /usr/ 是 Linux 安装程序中摆放的目录,万一你分割了一块扇区给 /usr ,但是却给的不够大,那么就伤脑筋了!因为会造成无法将资料完全写入的问题,就有可能会无法安装啦!因此上,如果你是初次安装的话,那么可以仅分割成两个扇区『 / 与 Swap 』即可!<br>
建议分割的方法:预留一个备份的扇区! <br>
就如同前面几个心得分享文章中提到的,由于 linux 预设的目录是固定的,所以: <br>
· 通常我们会将 /var 及 /home 这两个目录稍微加大一些,如果硬盘够大的话,加个几 GB 也不为过! <br>
· 另外, /usr 至少给他 3~5 GB 吧,如果硬盘真的大的话! <br>
· 而 / 也可以给个几 GB 的空间。 <br>
· 最后,由于我们的 linux 可能是在『试用』阶段,所以很有可能会重复的一再安装,因此上,我都会预留一个扇区来备份我的核心啦与实验过程中觉得不错的 s cripts (就有点像 DOS 的批次檔),当然,我的 /home 底下的咚咚也可以有备份的地方,而安装套件的源文件也可以摆在这里!有个最大的好处是,当我的 Linux 重新安装的时候,我的一些套件马上就可以直接在硬盘当中找到!呵呵!重新安装比较便利啦! <br>
<br>
选择 Server 的硬盘切割方式: <br>
对于首次接触 linux 的朋友们,通常不建议使用 Red Hat 预设的 Server 安装方式,因为会让你无法得知 Linux 在搞什么鬼,而且也不见得可以符合你的需求!不过,这里仍然说一下选择 Server 的时候,他是如何切割硬盘的呢? <br>
注意:选择 Server 的时候,请『确定』您的硬盘资料是不要的!因为 linux 会自动的把你的硬盘里面旧有的资料全部杀掉!此外,硬盘至少需要 2 GB 以上才可以选择这一个模式! <br>
· 64 MB 的 Swap ; <br>
· 256 MB 的 / ; <br>
· 256 MB 的 /var ; <br>
· 其它的空间平分给 /usr 与 /home ! <br>
知道了吗?由于 Server 会有上面的限制,所以通常我都不太喜欢让 linux 自己切啦!选择 Custom 比较好说!<br>
硬盘的代号意义? <br>
在 Windows 或者是 DOS 年代,硬盘以 FAT 表来切分时,他们的代表扇区为 C: D: E: ...但是在 linux 中则不然喔!一个『目录』可以代表一个『装置』!基本上,每一个硬盘在安插的 IDE 接口中,都有不同的代号: <br>
<br>
硬盘安插的 IDE 接口 linux 上面的磁盘名称<br>
第一个 IDE 的 Master 上之硬盘 hda<br>
第一个 IDE 的 Slave 硬盘 hdb<br>
第二个 IDE 的 Master 硬盘 hdc<br>
第二个 IDE 的 Slave 硬盘 hdd<br>
另外,需要特别留意的是,每一个硬盘(例如 hda )最多可以有 4 个 primary 扇区!分别是 hda1, hda2, hda3, hda4!而如果是逻辑扇区的话,那么就需要由 hda5 开始增加啰!<br>
<br>
多重操作系统的安装流程 <br>
· 硬盘重新规划的多重开机系统: <br>
如果你想要在你的 linux 机器上同时安装 Windows ?可行吗?当然可行啰!况且目前很多的朋友手边只有一部计算机,但是又想要同时学习一下 Linux ,呵呵!那么安装多重操作系统实在是必须要的!好了!那要如何安装呢?以我前一阵子帮一个朋友规划的 Win98, Win2000, Linux 为例,我先将硬盘以 spfdisk 切割成两个 FAT partition,分别是 2GB 与 3GB ,预计安装 Win98 与 Win2000 (分别是 C: 与 D: ),然后再以 CD 开机后,分割最后的磁盘成为 / 与 Swap 两个!好了!如何安装: <br>
  <br>
1. 先以 Spfdisk 分割硬盘:由于 Windows 的 Fdisk 实在太慢了,我蛮喜欢使用 spfdisk 这个全中文的磁盘分割接口的!简单又方便!将硬盘切割成 C: 2GB, D: 3GB即可! <br>
2. 先安装 Win98 :这个简单吧!用 98 开机片开机之后,直接安装,并且选择安装在 C 槽即可! <br>
3. 再安装 Win2000:进入 Win98 之后,将 Win2000 的光盘片放进光驱中,屏幕会自动的跑出一个窗口,问你要不要升级,选择『是』,然后会进行一些小动作!在安装程序问到『升级安装或全新安装』的时候,请千万选择『全新安装』这个项目,并且不要升级硬盘扇区!然后在出现一个『问你安装目录所在』的问题时,进入选项里面,选择『要我自己挑选硬盘分割区』那个项目!然后接下来一直按下『确定』或『是』即可!之后,计算机会重新开机,开机完成之后会进入 Win2000 的安装画面,然后在出现『安装扇区』的时候,请选择 D 槽,并且选择『不要更改扇区档案系统』即可!接下来就会完成一些程序啦! <br>
4. 最后才安装 Red Hat 7.2:是的,最后才安装 linux !安装的过程底下会说明喔! <br>
5. 以 Lilo 设定多重开机:是的,我还是比较习惯使用 Lilo 来作为多重开机的设定啦! <br>
  <br>
好了!这样你就可以具有多重开机的主机系统啰!很高兴吧!呵呵!先别高兴的太早!很多的朋友安装 Windows XP 及 Windows ME 版本与 linux 共存,不过个人没有试过 XP 与 ME ,所以无法提供任何的解答!这点请千万注意了!在我的经验中,使用 98 与 2000 来与 Linux 共存是没有问题的(在我的旧机器与新的双 CPU 主机当中都试过! OK !)<br>
· 在既存的 Windows 系统中加装 linux 系统: <br>
另外再提供一个之前也曾经安装过的一个经验!恩!你可能会觉得奇怪,这个方法跟上一个方法有什么不同!?呵呵呵呵!最大的不同在于:<br>
o 我既存的 Windows 系统中的资料不想丢掉,并且我也没有新的硬盘来暂存我的系统或者是备份资料!假设原本我的 20 GB 硬盘中分割成 10GB, 10GB 两槽,但是我还想要安装 linux ,且是在『旧系统仍然可以存活』的情况下!那该如何是好?! <br>
这真的是很有趣的问题!早先在 Windows 系统中, 就犯了一个错!C 槽给的太大了!基本上,系统文件不需要太大啦!通常我都喜欢 C 槽只给大约 4 GB 左右的空间(甚至更小),这是因为 C 槽是很需要备份的!如果太大的话,备份很麻烦!所以系统重置就会很花时间(因为所有的东西都要重新安装!我哩咧....!)!因此,我都习惯将 C 槽只给一点点的空间,然后再安装完并设定完所有的系统之后,马上以 Ghost 来备份我的系统!而所有的备份数据文件都摆放在 D 槽!此外,我的 OutLook Express 的书信目录也都不是摆在 C 槽!呵呵所以我不会很害怕 C 槽挂掉,因为,直接以 Ghost 还原即可啰!系统还原还不需要 30 分钟呢!<br>
这里就发生一个问题啦,假如原本的系统是 10GB, 10GB 的两槽,不过全部的有用到的资料量只有 10GB 不到!也就是还有空间来安装 linux ,但是由于硬盘切割的不好,所以伤脑筋!此外,我的原系统希望留下来,而且也希望可以安装 Linux ,要怎办?!我曾经这样做过: <br>
· 由于 FAT 的扇区使用,其实只是在磁头区域(所谓的硬盘第零轨)规划而已,所以,我就将我的资料先以『磁盘重组』的方式将资料都归在一起; <br>
· 然后以 Spfdisk 将该硬盘的 FAT 表进行分割,注意喔!只是分割 FAT 表,并没有 format 喔!不过这里的技术性很高,需要特别注意!因为你是将 FAT 表重新划分,所以你的资料必须要在同一个扇区内!好了,我就将原本的 10GB 10GB 切割成 4GB、10GB与 6GB 三槽!而且在 spfdisk 的帮助之下,顺利的在没有任何资料遗失的状况下,将我的硬盘由原先的两槽分割成三槽啰!那么一来,我就可以在我原本的 D 槽里面安装 linux 啦!方法有点像底下的图标: <br>
<br>
很神奇吧!资料还是在原来的地方,不过扇区的定位点改变了,还多出一个扇区!不过,这里要提醒大家,虽然曾经以这个方法成功而且完全没有惊险的将硬盘资料在不毁损的情况下,顺利的将硬盘切割完毕!但是那是小弟已经了解到 FAT 与扇区的相关性(其实 FAT 只是在『规范』你的硬盘读取头读取的『头』跟『尾』而已,并不是真的将硬盘『切割』啰!),而且我也有『壮士断腕』的觉悟!呵呵!因此不是很建议您这样做!尤其是当你的资料还很重要的时候!切记切记!
</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>版权所有 &copy; 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 + -