|
@@ -23,7 +23,7 @@
|
|
|
<sect2 role="package">
|
|
|
<title/>
|
|
|
|
|
|
- <para>The Inetutils package contains programs for basic networking.</para>
|
|
|
+ <para>Inetutils 软件包包含基本网络程序。</para>
|
|
|
|
|
|
<segmentedlist>
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
@@ -38,7 +38,7 @@
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
- <title>安装Inetutils</title>
|
|
|
+ <title>安装 Inetutils</title>
|
|
|
|
|
|
<para>准备安装 Inetutils:</para>
|
|
|
|
|
@@ -53,45 +53,48 @@
|
|
|
--disable-servers</userinput></screen>
|
|
|
|
|
|
<variablelist>
|
|
|
- <title>The meaning of the configure options:</title>
|
|
|
+ <title>配置选项的含义:</title>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term><parameter>--disable-logger</parameter></term>
|
|
|
<listitem>
|
|
|
- <para>This option prevents Inetutils from installing the
|
|
|
- <command>logger</command> program, which is used by scripts to
|
|
|
- pass messages to the System Log Daemon. Do not install it because
|
|
|
- Util-linux installs a more recent version.</para>
|
|
|
+ <para>该选项防止 Inetutils 安装 <command>logger</command> 程序,
|
|
|
+ 它被脚本文件用于向系统日志守护程序传递消息。这里不安装它,
|
|
|
+ 因为 Util-linux 会安装更新的版本。</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term><parameter>--disable-whois</parameter></term>
|
|
|
<listitem>
|
|
|
- <para>This option disables the building of the Inetutils
|
|
|
- <command>whois</command> client, which is out of date. Instructions for
|
|
|
- a better <command>whois</command> client are in the BLFS book.</para>
|
|
|
+ <para>该选项防止构建过时的 <command>whois</command> 客户端,
|
|
|
+ BLFS 手册中有一个更好的 <command>whois</command> 客户端。
|
|
|
+ </para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term><parameter>--disable-r*</parameter></term>
|
|
|
<listitem>
|
|
|
- <para>These parameters disable building obsolete programs that should not
|
|
|
- be used due to security issues. The functions provided by these
|
|
|
- programs can be provided by the <application>openssh</application>
|
|
|
- package in the BLFS book.</para>
|
|
|
+ <para>这些参数禁用过时的程序,由于安全问题,它们不应该被继续使用。
|
|
|
+ 它们提供的功能可以由 BLFS 手册中的 openssh 软件包代替。</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term><parameter>--disable-servers</parameter></term>
|
|
|
<listitem>
|
|
|
- <para>This disables the installation of the various network servers
|
|
|
+ <!--para>This disables the installation of the various network servers
|
|
|
included as part of the Inetutils package. These servers are deemed not
|
|
|
appropriate in a basic LFS system. Some are insecure by nature and are
|
|
|
only considered safe on trusted networks. Note that
|
|
|
- better replacements are available for many of these servers.</para>
|
|
|
+ better replacements are available for many of these servers.</para-->
|
|
|
+ <para>该选项禁用 Inetutils 软件包包含的若干网络服务程序,
|
|
|
+ 它们在基本的 LFS 系统中注定是不合适的。
|
|
|
+ 其中一些服务程序从本质上就不安全,
|
|
|
+ 只有在可信的网络环境中才能被认为是安全的。
|
|
|
+ 要注意的是,对于其中许多服务程序,都能找到更好的替代品。
|
|
|
+ </para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
@@ -105,16 +108,15 @@
|
|
|
|
|
|
<screen><userinput remap="test">make check</userinput></screen>
|
|
|
|
|
|
- <note><para>One test, libls.sh, may fail in the initial chroot
|
|
|
- environment but will pass if the test is rerun after the LFS system
|
|
|
- is complete.</para></note>
|
|
|
+ <note><para>其中一个测试 libls.sh 在初始的 chroot 环境中可能失败,
|
|
|
+ 但在 LFS 系统构建完成后再重新运行时即可通过。</para></note>
|
|
|
|
|
|
<para>安装该软件包:</para>
|
|
|
|
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
|
|
|
|
|
- <para>Move some programs so they are available if <filename
|
|
|
- class='directory'>/usr</filename> is not accessible:</para>
|
|
|
+ <para>移动一些程序,这样在 <filename class='directory'>/usr</filename>
|
|
|
+ 文件系统不可用时也能使用它们:</para>
|
|
|
|
|
|
<screen><userinput remap="install">mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin
|
|
|
mv -v /usr/bin/ifconfig /sbin</userinput></screen>
|
|
@@ -129,7 +131,7 @@ mv -v /usr/bin/ifconfig /sbin</userinput></screen>
|
|
|
|
|
|
<seglistitem>
|
|
|
<seg>dnsdomainname, ftp, ifconfig, hostname, ping, ping6,
|
|
|
- talk, telnet, tftp, and traceroute</seg>
|
|
|
+ talk, telnet, tftp, 以及 traceroute</seg>
|
|
|
</seglistitem>
|
|
|
</segmentedlist>
|
|
|
|
|
@@ -141,7 +143,7 @@ mv -v /usr/bin/ifconfig /sbin</userinput></screen>
|
|
|
<varlistentry id="dnsdomainname">
|
|
|
<term><command>dnsdomainname</command></term>
|
|
|
<listitem>
|
|
|
- <para>Show the system's DNS domain name</para>
|
|
|
+ <para>显示系统的 DNS 域名</para>
|
|
|
<indexterm zone="ch-system-inetutils dnsdomainname">
|
|
|
<primary sortas="b-dnsdomainname">dnsdomainname</primary>
|
|
|
</indexterm>
|
|
@@ -151,7 +153,7 @@ mv -v /usr/bin/ifconfig /sbin</userinput></screen>
|
|
|
<varlistentry id="ftp">
|
|
|
<term><command>ftp</command></term>
|
|
|
<listitem>
|
|
|
- <para>Is the file transfer protocol program</para>
|
|
|
+ <para>文件传输程序</para>
|
|
|
<indexterm zone="ch-system-inetutils ftp">
|
|
|
<primary sortas="b-ftp">ftp</primary>
|
|
|
</indexterm>
|
|
@@ -161,7 +163,7 @@ mv -v /usr/bin/ifconfig /sbin</userinput></screen>
|
|
|
<varlistentry id="hostname">
|
|
|
<term><command>hostname</command></term>
|
|
|
<listitem>
|
|
|
- <para>Reports or sets the name of the host</para>
|
|
|
+ <para>报告或设定主机名称</para>
|
|
|
<indexterm zone="ch-system-inetutils hostname">
|
|
|
<primary sortas="b-hostname">hostname</primary>
|
|
|
</indexterm>
|
|
@@ -171,7 +173,7 @@ mv -v /usr/bin/ifconfig /sbin</userinput></screen>
|
|
|
<varlistentry id="ifconfig">
|
|
|
<term><command>ifconfig</command></term>
|
|
|
<listitem>
|
|
|
- <para>Manages network interfaces</para>
|
|
|
+ <para>管理网络接口</para>
|
|
|
<indexterm zone="ch-system-inetutils ifconfig">
|
|
|
<primary sortas="b-ifconfig">ifconfig</primary>
|
|
|
</indexterm>
|
|
@@ -181,8 +183,7 @@ mv -v /usr/bin/ifconfig /sbin</userinput></screen>
|
|
|
<varlistentry id="ping">
|
|
|
<term><command>ping</command></term>
|
|
|
<listitem>
|
|
|
- <para>Sends echo-request packets and reports how long the replies
|
|
|
- take</para>
|
|
|
+ <para>发送回显请求数据包并报告响应用时</para>
|
|
|
<indexterm zone="ch-system-inetutils ping">
|
|
|
<primary sortas="b-ping">ping</primary>
|
|
|
</indexterm>
|
|
@@ -192,7 +193,7 @@ mv -v /usr/bin/ifconfig /sbin</userinput></screen>
|
|
|
<varlistentry id="ping6">
|
|
|
<term><command>ping6</command></term>
|
|
|
<listitem>
|
|
|
- <para>A version of <command>ping</command> for IPv6 networks</para>
|
|
|
+ <para>用于 IPv6 网络的 <command>ping</command> 版本</para>
|
|
|
<indexterm zone="ch-system-inetutils ping6">
|
|
|
<primary sortas="b-ping6">ping6</primary>
|
|
|
</indexterm>
|
|
@@ -202,7 +203,7 @@ mv -v /usr/bin/ifconfig /sbin</userinput></screen>
|
|
|
<varlistentry id="talk">
|
|
|
<term><command>talk</command></term>
|
|
|
<listitem>
|
|
|
- <para>Is used to chat with another user</para>
|
|
|
+ <para>用于和其他用户聊天</para>
|
|
|
<indexterm zone="ch-system-inetutils talk">
|
|
|
<primary sortas="b-talk">talk</primary>
|
|
|
</indexterm>
|
|
@@ -212,7 +213,7 @@ mv -v /usr/bin/ifconfig /sbin</userinput></screen>
|
|
|
<varlistentry id="telnet">
|
|
|
<term><command>telnet</command></term>
|
|
|
<listitem>
|
|
|
- <para>An interface to the TELNET protocol</para>
|
|
|
+ <para>TELNET 协议的接口</para>
|
|
|
<indexterm zone="ch-system-inetutils telnet">
|
|
|
<primary sortas="b-telnet">telnet</primary>
|
|
|
</indexterm>
|
|
@@ -222,7 +223,7 @@ mv -v /usr/bin/ifconfig /sbin</userinput></screen>
|
|
|
<varlistentry id="tftp">
|
|
|
<term><command>tftp</command></term>
|
|
|
<listitem>
|
|
|
- <para>A trivial file transfer program</para>
|
|
|
+ <para>简单文件传输程序</para>
|
|
|
<indexterm zone="ch-system-inetutils tftp">
|
|
|
<primary sortas="b-tftp">tftp</primary>
|
|
|
</indexterm>
|
|
@@ -232,9 +233,8 @@ mv -v /usr/bin/ifconfig /sbin</userinput></screen>
|
|
|
<varlistentry id="traceroute">
|
|
|
<term><command>traceroute</command></term>
|
|
|
<listitem>
|
|
|
- <para>Traces the route your packets take from the host you are
|
|
|
- working on to another host on a network, showing all the intermediate
|
|
|
- hops (gateways) along the way</para>
|
|
|
+ <para>追踪您的数据包从您工作的主机到网络上另一台主机的路径,
|
|
|
+ 显示中间通过的跳跃(网关)。</para>
|
|
|
<indexterm zone="ch-system-inetutils traceroute">
|
|
|
<primary sortas="b-traceroute">traceroute</primary>
|
|
|
</indexterm>
|