iana-etc.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-iana-etc" role="wrap">
  8. <?dbhtml filename="iana-etc.html"?>
  9. <sect1info condition="script">
  10. <productname>iana-etc</productname>
  11. <productnumber>&iana-etc-version;</productnumber>
  12. <address>&iana-etc-url;</address>
  13. </sect1info>
  14. <title>Iana-Etc-&iana-etc-version;</title>
  15. <indexterm zone="ch-system-iana-etc">
  16. <primary sortas="a-Iana-Etc">Iana-Etc</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>Iana-Etc 软件包包含网络服务和协议的数据。</para>
  21. <segmentedlist>
  22. <segtitle>&buildtime;</segtitle>
  23. <segtitle>&diskspace;</segtitle>
  24. <seglistitem>
  25. <seg>&iana-etc-ch6-sbu;</seg>
  26. <seg>&iana-etc-ch6-du;</seg>
  27. </seglistitem>
  28. </segmentedlist>
  29. </sect2>
  30. <sect2 role="installation">
  31. <title>安装 Iana-Etc</title>
  32. <para>以下命令将 IANA 提供的原始数据转化为供
  33. <filename>/etc/protocols</filename> 和
  34. <filename>/etc/services</filename> 使用的正确格式:</para>
  35. <screen><userinput remap="make">make</userinput></screen>
  36. <para>该软件包不包含测试套件。</para>
  37. <para>安装该软件包:</para>
  38. <screen><userinput remap="install">make install</userinput></screen>
  39. </sect2>
  40. <sect2 id="contents-iana-etc" role="content">
  41. <title>Iana-Etc 的内容</title>
  42. <segmentedlist>
  43. <segtitle>安装的文件</segtitle>
  44. <seglistitem>
  45. <seg>/etc/protocols 和 /etc/services</seg>
  46. </seglistitem>
  47. </segmentedlist>
  48. <variablelist>
  49. <bridgehead renderas="sect3">简要描述</bridgehead>
  50. <?dbfo list-presentation="list"?>
  51. <?dbhtml list-presentation="table"?>
  52. <varlistentry id="protocols">
  53. <term><filename>/etc/protocols</filename></term>
  54. <listitem>
  55. <para>描述 TCP/IP 子系统中可用的各种 DARPA Internet 协议</para>
  56. <indexterm zone="ch-system-iana-etc">
  57. <primary sortas="e-/etc/protocols">/etc/protocols</primary>
  58. </indexterm>
  59. </listitem>
  60. </varlistentry>
  61. <varlistentry id="services">
  62. <term><filename>/etc/services</filename></term>
  63. <listitem>
  64. <para>提供 Internet 服务的可读文本名称、底层的分配端口号以及
  65. 协议类型之间的对应关系</para>
  66. <indexterm zone="ch-system-iana-etc">
  67. <primary sortas="e-/etc/services">/etc/services</primary>
  68. </indexterm>
  69. </listitem>
  70. </varlistentry>
  71. </variablelist>
  72. </sect2>
  73. </sect1>