📄 0103introduce.htm
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>
<html lang="zh-TW">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" >
<meta name="Author" content="VBird, 鸟哥" >
<meta name="Description" content="伺服器篇的序!" >
<title>鸟哥的 Linux 私房菜 -- 伺服器篇--作者序</title>
<style type="text/css">
body {
background-color: #D3D3D3;
color: #000000;
background-attachment:fixed ;
}
body,th,td,input,select,textarea,select,checkbox {
font-family: '新细明体', 'Times New Roman', serif;
font-size: 11pt ;
}
a:link {text-decoration: none; color: blue}
a:visited {text-decoration: none; color: blue}
a:active {text-decoration: none; color: blue}
a:hover {text-decoration: underline; color: #ff0000}
table.head1 {width:100%; background-color: #FFCCCC;
border-style:groove;border-width:5px;border-color: #FFCCCC; margin:0;
padding: 5px 5px}
td.head1 {font: 10pt "新细明体", serif; color: #000099; }
td.info1 {font: 11pt "新细明体", serif; color: #000066; text-align:center; width:14%}
td.info2 {font: 11pt "新细明体", serif; color: #000066; text-align:center; width:12%}
*.info21 {font: 11pt "新细明体", serif; color: #000066; }
*.info22 {font: 11pt "新细明体", serif; color: blue ; }
*.info23 {font: 11pt "新细明体", serif; color: green ; }
td.info3 {font: 11pt "新细明体", serif; color: #000066; text-align:justify}
*.text_head0 {font-size:18pt; font-family:'标楷体','Times New Roman','Times', serif; }
*.text_head_en {font-size:18pt; font-family:'Times New Roman','Times', serif; }
*.text_h1 {font: 15pt "新细明体", serif; color: #0000BB; font-weight: bold }
*.text_h2 {font: 13pt "新细明体", serif; color: #0000BB; font-weight: bold }
*.text_import1 {font: 11pt "新细明体", serif; color: #000088; font-weight: bold }
*.text_import2 {font: 11pt "新细明体", serif; color: #000088; font-weight: normal}
*.text_vbird {font: 11pt "新细明体", serif; color: #000088; font-weight: normal;
font-style: italic;}
*.text_history {font: 10pt "新细明体", serif; color: #000066; }
*.text_date {font: 10pt "新细明体", serif; color: #3333FF; }
*.block1 {padding: 10px 20px 10px 25px; text-align:left }
*.block2 {padding: 10px 0px 10px 25px; text-align:left }
table.term2 {width: 350px; background-color: #000000;
border-style:groove;border-width:3px;border-color: #FFCCCC; margin:10px 0px;}
table.term {width: 580px; background-color: #000000;
border-style:groove;border-width:3px;border-color: #FFCCCC; margin:10px 0px;}
td.term {font: 10pt "细明体", Fixedsys, serif; color: #FFFFFF; }
*.term_hd {font: 10pt "细明体", Fixedsys, serif; color: #BBBBBB; }
*.term_note {font: 10pt "细明体", Fixedsys, serif; color: #777777; font-weight: normal }
*.term_note_b {font: 10pt "细明体", Fixedsys, serif; color: #FF77FF; font-weight: bolder }
*.term_command {font: 10pt "细明体", Fixedsys, serif; color: yellow ; font-weight: bolder }
*.term_write {font: 10pt "细明体", Fixedsys, serif; color: yellow ; font-weight: normal }
*.term_say {font: 10pt "细明体", Fixedsys, serif; color: #FF6666; font-weight: normal }
</style>
<script language="JaveScript" type="text/javascript" src="/include/java.js"></script>
</head>
<body style="margin:0; padding:0">
<center>
<!-- 这里是关于页首按钮处的按钮程式 -->
<div style="text-align:center">
<span style="font-weight:bolder; color:#3333FF"><span class="text_head0">鸟哥的<span class="text_head_en">
Linux </span>私房菜</span></span><br />
<span style="color:#000080">为取得较佳浏览结果,请爱用 <a href="http://moztw.org" target="_blank">firefox</a>
浏览本网页</span><br />
<a href="http://linux.vbird.org/" target="_blank"
onmouseover="document.head_icon1.src='../images/icon_VBird_on.jpg'"
onfocus="document.head_icon1.src='../images/icon_VBird_on.jpg'"
onmouseout="document.head_icon1.src='../images/icon_VBird_off.jpg'">
<img alt="前往鸟哥的 Linux 私房菜馆首页" title="前往鸟哥的 Linux 私房菜馆首页" name="head_icon1"
src="../images/icon_VBird_off.jpg" border="0" /></a>
<a target="_blank" href="http://linux.vbird.org/linux_basic"
onmouseover="document.head_icon2.src='../images/icon_basic_on.jpg'"
onfocus="document.head_icon2.src='../images/icon_basic_on.jpg'"
onmouseout="document.head_icon2.src='../images/icon_basic_off.jpg'">
<img src="../images/icon_basic_off.jpg" border="0"
alt="前往 Linux 基础文件,新手请从头学起"
title="前往 Linux 基础文件,新手请从头学起" name="head_icon2" /></a>
<a target="_blank" href="http://linux.vbird.org/linux_server"
onmouseover="document.head_icon3.src='../images/icon_server_on.jpg'"
onfocus="document.head_icon3.src='../images/icon_server_on.jpg'"
onmouseout="document.head_icon3.src='../images/icon_server_off.jpg'">
<img src="../images/icon_server_off.jpg" border="0"
alt="前往 Linux 架站文件,网路基础那章节请务必参考!"
title="前往 Linux 架站文件,网路基础那章节请务必参考!" name="head_icon3" /></a>
<a target="_blank" href="http://linux.vbird.org/linux_security"
onmouseover="document.head_icon4.src='../images/icon_security_on.jpg'"
onfocus="document.head_icon4.src='../images/icon_security_on.jpg'"
onmouseout="document.head_icon4.src='../images/icon_security_off.jpg'">
<img src="../images/icon_security_off.jpg" border="0"
alt="前往『网路安全』相关文件网页" title="前往『网路安全』相关文件网页" name="head_icon4" /></a>
<a href="http://phorum.vbird.org" target="_blank"
onmouseover="document.head_icon5.src='../images/icon_forum_on.jpg'"
onfocus="document.head_icon5.src='../images/icon_forum_on.jpg'"
onmouseout="document.head_icon5.src='../images/icon_forum_off.jpg'">
<img src="../images/icon_forum_off.jpg" border="0"
alt="前往 Linux 新手讨论区,发问前务必查阅发文规则"
title="前往 Linux 新手讨论区,发问前务必查阅发文规则" name="head_icon5" /></a>
<a target="_blank" href="http://linux.vbird.org/adsl"
onmouseover="document.head_icon6.src='../images/icon_adsl_on.jpg'"
onfocus="document.head_icon6.src='../images/icon_adsl_on.jpg'"
onmouseout="document.head_icon6.src='../images/icon_adsl_off.jpg'">
<img src="../images/icon_adsl_off.jpg" border="0"
alt="前往『ADSL连线分享』相关文件网页" title="前往『ADSL连线分享』相关文件网页" name="head_icon6" /></a>
<a href="http://www.study-area.org" target="_blank"
onmouseover="document.head_icon7.src='../images/icon_study-area.jpg'"
onfocus="document.head_icon7.src='../images/icon_study-area.jpg'"
onmouseout="document.head_icon7.src='../images/icon_study-area.jpg'">
<img src="../images/icon_study-area.jpg" border="0"
alt="前往 Study Area 网站" title="前往 Study Area 网站" name="head_icon7" /></a>
<br />
</div>
<table summary="本文内容的排版" style="width:750px;
background-image:url('../images/VBirdLinux.jpg');
background-attachment:fixed;" border="0" cellspacing="0" cellpadding="0">
<tr><td style="width:16px; height:16px; background-image:url('../images/border-top-left.jpg');
font-size:6px"> </td>
<td style="width:718px; height:16px; font-size:6px;
background-image:url('../images/border-top-center.jpg')"> </td>
<td style="width:16px; height:16px; background-image:url('../images/border-top-right.jpg');
font-size:6px"> </td></tr>
<tr><td style="width:16px; font-size:6px;
background-image:url('../images/border-middle-left.jpg')"> </td>
<td width="718">
<!-- 本文的档头部分 -->
<div style="text-align:center">
<a href="0103introduce.php">
<span class="text_head0">作者再版序</span></a><br />
</div>
<div style="text-align:left">
<a href="0103introduce.php?thisscreen=800x600"><!--切换解析度为 800x600--></a>
</div>
<div style="text-align:right">
<span class="text_history">最近更新日期∶2007/03/01</span>
</div>
<!-- 本文的正式部分 -->
<hr><img src="images/penguin-m.gif" alt="大标题的图示" height="34" width="25" align="middle" /><span class="text_h1">初版序∶</span><br>
<div class=block1 style="text-align:justify">
笔者在 2002 年底写完了『<a href="../linux_basic/">鸟哥的 Linux 私房菜 -- 基础学习篇</a>』以来,
接到很多朋友们的鼓励,很感谢大家的支持呐!另外也有很多的来信要鸟哥将接下来的伺服器架设篇赶紧给他写一写,
其实鸟哥也觉得应该早点将架站篇的内容也给他完成的,这样才能够连贯的起来啊!不过,
架站篇比起基础篇来说,说实在的,要复杂的很多!怎么说呢?如果说
『<span class=text_import2>架站篇</span>』就单纯的讲架站流程,呵呵!
那么随便几个钟头就可以将好几个不同的伺服器的架设方法写完了,因为这些架设的方法都有资料可以参考,而且,
Linux 本身就有极为丰富的说明文件了!所以说,如果架站篇只是写架设的流程,鸟哥实在觉得不够过瘾~<br><br>
而且,网站的架设其实由网站成立之初的规划开始,到实际硬碟的分割
( partition ),软体的选择与安装,架设完成之后的后续监测与维护,还有那个挺重要的备份工作等等,
其实是需要『<span class=text_import2>一贯作业程序</span>』的,什么是
『<span class=text_import2>一贯</span>』作业程序呢?其实就是上面所有的工作都需要
『<span class=text_import2>全部一起搭配来思考</span>』的意思,您不能单纯的只想到某个比较重要的地方而已。<br><br>
举个例子来说好了,假如您想要架设一个给学生使用的档案伺服器
( File Server, 一般使用 SAMBA ),那么在架设之前,您想到,嘿嘿!学生数很多,所以我的硬碟要很大,也因此,您就在
Linux 上面安装了一款 120 GB 的硬碟,然后,很高兴的将硬碟分割为『<span class=text_import2>只有
/ + Swap </span>』这样的懒人分割法。等到实际上机运作之后,却发现有的学生占用了主机硬碟好几
GB 的空间,使得其他同学无法使用主机所提供的档案服务!等到发现这样的情况,要再加以使用
Quota 解决的时候,却发现当初硬碟规划的不好(因为只有 / 啊!),使得无法进行较佳的
quota 设定。还有,备份也成了一个大问题,因为没有多馀的额外空间来存放备份资料了~
这样可以了解一贯作业程序了吧?!是的!您必需要视自己的需要来规划主机,并且规划的时候,
就需要从头到尾的做一个整体的设计了呢!<br><br>
这些整体搭配的架设网站流程,其实都是网站架设者所需要进行的工作,不过,
目前大家常见的书籍在这方面谈的都不多,而大多纯粹的讲一些技巧性的架站手法,嗯!
这样的书籍也是有需要的啦!不过,鸟哥认为,如果可以谈的更深入一点,
将网站从架设之前所需要考虑的事情以及架设完成后的后续工作都一起谈进去的话,
那么对于网站维护者来说,应该会有一个比较容易入门的管理与维护方法的认识吧!
所以棉,这一本书的内容,除了基本的网站架设流程之外,
还会谈到许多的网路基础概念、网站的相关维护技巧以及鸟哥平时维护主机时所认为较佳的维护经验谈。
</div>
<hr><img src="images/penguin-m.gif" alt="大标题的图示" height="34" width="25" align="middle" /><span class="text_h1">再版序∶</span><br>
<div class=block1 style="text-align:justify">
笔者在去年 (2006/03) 修改完基础篇第二版后,很多朋友来信问到那么伺服器篇是否也需要修改呢?
本来鸟哥觉得这个伺服器篇并没有什么需要修改的地方,尤其第一版已经谈过很多基础协定的介绍,
虽然写的并不好,不过,应该符合大部分朋友们的需求了。然而伺服器篇第一版的内容由于基于较旧的 Red Hat 9
作业系统来撰写的,因此很多伺服器软体的设定鸟哥是以 Tarball 的方式来进行安装与设定,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -