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

📄 1.htm

📁 debian参考手册,pdf格式的版本。
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0066)http://qref.sourceforge.net/Debian/reference/ch-preface.zh-cn.html -->
<HTML><HEAD><TITLE>Debian 参考手册 - 序言</TITLE>
<META http-equiv=content-type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.3790.118" name=GENERATOR></HEAD>
<BODY><A name=ch-preface></A>
<HR>
[ <A 
href="http://qref.sourceforge.net/Debian/reference/reference.zh-cn.html">上一页</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/reference.zh-cn.html#contents">目录</A> 
] [ 1 ] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-system.zh-cn.html">2</A> ] 
[ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-install.zh-cn.html">3</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-tutorial.zh-cn.html">4</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-woody.zh-cn.html">5</A> ] 
[ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-package.zh-cn.html">6</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-kernel.zh-cn.html">7</A> ] 
[ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-tips.zh-cn.html">8</A> ] [ 
<A href="http://qref.sourceforge.net/Debian/reference/ch-tune.zh-cn.html">9</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-gateway.zh-cn.html">10</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-edit.zh-cn.html">11</A> ] 
[ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-vcs.zh-cn.html">12</A> ] [ 
<A 
href="http://qref.sourceforge.net/Debian/reference/ch-program.zh-cn.html">13</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-gnupg.zh-cn.html">14</A> ] 
[ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-support.zh-cn.html">15</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ap-appendix.zh-cn.html">A</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-system.zh-cn.html">下一页</A> 
] 
<HR>

<H1>Debian 参考手册 <BR>第 1 章 - 序言 </H1>
<HR>

<P>本书《<CODE><A href="http://qref.sourceforge.net/">Debian 
参考手册</A></CODE>》的目的是对整个 Debian 
系统作一个全面的介绍,提供一本<STRONG>“安装之后的”用户使用手册</STRONG>。本手册的读者应该愿意阅读 shell 
脚本(scripts)。我也假定读者在阅读之前已经具备了类 Unix 系统的基本操作技能。 
<P>我决定<STRONG>不</STRONG>在本书中解释所有的细节,因为你可以在 <STRONG>manual 
页</STRONG>,<STRONG>info 页</STRONG>,或 <STRONG>HOWTO 
文档</STRONG>中获得这些信息。我希望能给读者提供实用的信息,而非全面的解释。因此我会给在正文中出<STRONG>实际的命令序列</STRONG>,或是在 
<CODE><A 
href="http://qref.sourceforge.net/Debian/reference/examples/">examples/</A></CODE> 
给出<STRONG>脚本示例</STRONG>作为参考。在按照这些示例下达命令之前,你必须要先理解其内容的含义。实际的命令序列可能会依你的系统的具体情况而有细微的差别。 

<P>书中的很多信息实际上是对在<A 
href="http://qref.sourceforge.net/Debian/reference/ch-support.zh-cn.html#s-references">参考资料, 
第 15.1 节</A>中列出的众多权威参考文献的引用和提示。其部分原因是由于本书最初是作为一本“<STRONG>快速参考手册</STRONG>”来写的。 
<P><STRONG>保持文字简短紧凑</STRONG>(keep it short and simple, KISS)是我的指导思想。 
<P>如果你是在寻找紧急情况下系统维护方面的帮助,请直接阅读<A 
href="http://qref.sourceforge.net/Debian/reference/ch-package.zh-cn.html#s-survival">Debian生存工具, 
第 6.3 节</A>。 
<HR>
<A name=s-officialdoc></A>
<H2>1.1 官方文档</H2>
<P>本书的最新官方版本存于 Debian 包含在名为<CODE>debian-reference-zh-cn</CODE>的软件包中,你也可在<CODE><A 
href="http://www.debian.org/doc/manuals/debian-reference/">http://www.debian.org/doc/manuals/debian-reference/</A></CODE>上访问到它。 

<P>本文档最新开发版本位于<CODE><A 
href="http://qref.sourceforge.net/Debian/">http://qref.sourceforge.net/Debian/</A></CODE>。该文档项目位于<CODE><A 
href="http://qref.sourceforge.net/">http://qref.sourceforge.net/</A></CODE>,在那可以下载本文档的纯文本格式,HTML格式、PDF格式、SGML格式和PostScript格式。 

<HR>
<A name=s-convention></A>
<H2>1.2 文档约定</H2>
<P>文中许多信息通过简短的Bash shell命令给出,以下是其排版格式约定: Here are the conventions used: <PRE>     # command in root account  root用户命令
     $ command in user account  普通用户命令
     ... description of action  命令动作描述
</PRE>
<P>更多信息参见<A 
href="http://qref.sourceforge.net/Debian/reference/ch-program.zh-cn.html#s-bash">Bash 
– <STRONG>GNU</STRONG>标准交互式shell, 第 13.2.1 节</A>。 
<P>参考: 
<UL>
  <LI><CODE>bash(1)</CODE>表示<STRONG>Unix manual</STRONG>页面信息。 
  <LI><SAMP>info libc</SAMP>表示<STRONG>GNU TEXINFO</STRONG>页面信息。 
  <LI><EM>The C Programming Language</EM>表示<STRONG>参考书目</STRONG>。 
  <LI><CODE><A 
  href="http://www.debian.org/doc/manuals/debian-reference/">http://www.debian.org/doc/manuals/debian-reference/</A></CODE>表示<STRONG>URL</STRONG>。 

  <LI><CODE>/usr/share/doc/Debian/reference/</CODE>表示<STRONG>文件</STRONG>。 
</LI></UL>
<P>文中用到了下列缩写: 
<UL>
  <LI><STRONG>LDP</STRONG>: Linux Documentation Project (<CODE><A 
  href="http://www.tldp.org/">http://www.tldp.org/</A></CODE>) 
  <LI><STRONG>DDP</STRONG>: Debian Documentation Project (<CODE><A 
  href="http://www.debian.org/doc/">http://www.debian.org/doc/</A></CODE>) 
</LI></UL>
<P>文中只提供了LDP文档的URLs,这些文档还可以以软件包的形式获得,它们安装在<CODE>/usr/share/doc/HOWTO/</CODE>。参阅<A 
href="http://qref.sourceforge.net/Debian/reference/ch-support.zh-cn.html#s-references">参考资料, 
第 15.1 节</A>。 
<HR>
<A name=s-examples></A>
<H2>1.3 脚本样例</H2>
<P>脚本样例可以<CODE><A 
href="http://qref.sourceforge.net/Debian/reference/examples/">examples 
subdirectory</A></CODE>下找到;其中隐藏文件文件名前的“.”转化为下划线“_”,可选脚本样例给出了扩展名。 
<HR>
<A name=s-basic></A>
<H2>1.4 基本设置</H2>
<P>如果你的系统是最小安装,请执行下面的命令安装必需的软件包和关键文档。 <PRE>     # apt-get install info man-db doc-base dhelp apt apt-utils auto-apt \
                       dpkg less mc ssh nano-tiny elvis-tiny vim sash \
                       kernel-package \
                       manpages manpages-dev doc-debian doc-linux-text \
                       debian-policy developers-reference maint-guide \
                       apt-howto harden-doc install-doc \
                       libpam-doc glibc-doc samba-doc exim-doc cvsbook \
                       gnupg-doc
     # apt-get install debian-reference # for Sarge, do this too :)
</PRE>
<HR>
<A name=s1.5></A>
<H2>1.5 Debian发行版(distributions)基本概念</H2>
<P>Debian发行版有3种“风格”: 
<UL>
  <LI>stable:适用于架设产品化服务器,不适用于工作站用户(workstation 缩写WS)。参阅<A 
  href="http://qref.sourceforge.net/Debian/reference/ch-system.zh-cn.html#s-stable"><SAMP>stable</SAMP>发行版, 
  第 2.1.3 节</A>. </LI></UL>
<UL>
  <LI>testing:适用于工作站用户。参阅<A 
  href="http://qref.sourceforge.net/Debian/reference/ch-system.zh-cn.html#s-testing"><SAMP>testing</SAMP>发行版, 
  第 2.1.4 节</A>. </LI></UL>
<UL>
  <LI>unstable:千万别盲目使用。参阅<A 
  href="http://qref.sourceforge.net/Debian/reference/ch-system.zh-cn.html#s-unstable"><SAMP>unstable</SAMP>发行版, 
  第 2.1.5 节</A>. </LI></UL>
<P>有关Debian的版本更新情况请阅读最新的相关邮件列表<SAMP>debian-devel-announce@lists.debian.org</SAMP>。 

<P>在2002年3月时,这三个发行版对应为<SAMP>potato</SAMP>(产品化品质),<SAMP>woody</SAMP>(beta-test,非常稳定即将发布),和<SAMP>sid</SAMP>(alpha-test)。到2002年8月,也就是<SAMP>woody</SAMP>刚刚发布,三个发行版对应为<SAMP>woody</SAMP>(产品化品质),<SAMP>sarge</SAMP>(beta-test,有时运行不够稳定),和<SAMP>sid</SAMP>(总处于alpha-test)。如果<SAMP>unstable</SAMP>发行版中的软件包不再出现Release 
Critical(RC)错误,一周后将自动升级到<SAMP>testing</SAMP>发行版。 参阅<A 
href="http://qref.sourceforge.net/Debian/reference/ch-system.zh-cn.html#s-ftparchives">Debian文件, 
第 2.1 节</A>。 
<P>获得运行软件的最新版本的有两种方法。 
<UL>
  <LI><A 
  href="http://qref.sourceforge.net/Debian/reference/ch-woody.zh-cn.html">发行版升级, 
  第 5 章</A>(主要用于工作站) 
  <LI><A 
  href="http://qref.sourceforge.net/Debian/reference/ch-package.zh-cn.html#s-port">向<SAMP>stable</SAMP>系统引入软件包, 
  第 6.4.10 节</A>(主要用于服务器) </LI></UL>
<P>请注意,升级Debian到<SAMP>testing</SAMP>有一个负面影响,安全补丁更新将会非常缓慢。 
<P>请注意,如果使用混合型Debian,例如在<SAMP>stable</SAMP>中加入<SAMP>testing</SAMP>或是在<SAMP>stable</SAMP>中加入<SAMP>unstable</SAMP>,会一不留神从<SAMP>testing</SAMP>或<SAMP>unstable</SAMP>中下载许多关键包,这会引起不少麻烦。 

<P>运行<SAMP>testing</SAMP>或<SAMP>unstable</SAMP>版本的Debian意味着可能会遇到严重软件错误。包含一个稳定版Debian的多启动方案可有效控制风险,另一个技巧是使用<CODE>chroot</CODE>,详情参阅<A 
href="http://qref.sourceforge.net/Debian/reference/ch-tips.zh-cn.html#s-chroot"><CODE>chroot</CODE>, 
第 8.6.33 节</A>。后者可以实际在不同的终端同时运行不同版本的Debian。 
<P>在<A 
href="http://qref.sourceforge.net/Debian/reference/ch-system.zh-cn.html">Debian基础, 
第 2 
章</A>中我们将讲解有关Debian发行版的一些基本概念,之后,我将向你介绍一些基本信息以帮助你与最新软件快乐相处,并从<SAMP>testing</SAMP>和<SAMP>unstable</SAMP>发布版中获益。心急的读者可以直接翻到<A 
href="http://qref.sourceforge.net/Debian/reference/ch-package.zh-cn.html#s-survival">Debian生存工具, 
第 6.3 节</A>。祝你升级愉快! 
<HR>
[ <A 
href="http://qref.sourceforge.net/Debian/reference/reference.zh-cn.html">上一页</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/reference.zh-cn.html#contents">目录</A> 
] [ 1 ] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-system.zh-cn.html">2</A> ] 
[ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-install.zh-cn.html">3</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-tutorial.zh-cn.html">4</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-woody.zh-cn.html">5</A> ] 
[ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-package.zh-cn.html">6</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-kernel.zh-cn.html">7</A> ] 
[ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-tips.zh-cn.html">8</A> ] [ 
<A href="http://qref.sourceforge.net/Debian/reference/ch-tune.zh-cn.html">9</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-gateway.zh-cn.html">10</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-edit.zh-cn.html">11</A> ] 
[ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-vcs.zh-cn.html">12</A> ] [ 
<A 
href="http://qref.sourceforge.net/Debian/reference/ch-program.zh-cn.html">13</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-gnupg.zh-cn.html">14</A> ] 
[ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-support.zh-cn.html">15</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ap-appendix.zh-cn.html">A</A> 
] [ <A 
href="http://qref.sourceforge.net/Debian/reference/ch-system.zh-cn.html">下一页</A> 
] 
<HR>

<P>Debian 参考手册 
<ADDRESS>CVS, 星期三 四月 28 19:36:38 UTC 2004<BR><BR>Osamu Aoki <CODE><A 
href="mailto:osamu@debian.org">osamu@debian.org</A></CODE><BR>Translator: Hao 
"Lyoo" Liu <CODE><A 
href="mailto:iamlyoo@163.net">iamlyoo@163.net</A></CODE><BR><A 
href="http://qref.sourceforge.net/Debian/reference/ap-appendix.zh-cn.html#s-authors">作者, 
第 A.1 节</A><BR><BR></ADDRESS>
<HR>
</BODY></HTML>

⌨️ 快捷键说明

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