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

📄 inetutils.html

📁 CLFS(Cross-Compiled Linux From Scratch)的文档 Version CLFS-SVN-20060417
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">  <head>    <meta http-equiv="Content-Type" content=    "application/xhtml+xml; charset=iso-8859-1" />    <title>      10.25.&nbsp;Inetutils-1.4.2    </title>    <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" />    <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" />    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=    "text/css" media="print" />  </head>  <body id="lfs" class="CLFS-SVN-20060417-MIPS">    <div class="navheader">      <div class="headertitles">        <h4>          Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS        </h4>        <h3>          Chapter&nbsp;10.&nbsp;Installing Basic System Software        </h3>      </div>      <ul class="headerlinks">        <li class="prev">          <a accesskey="p" href="gettext.html" title=          "Gettext-0.14.5">Prev</a>          <p>            Gettext-0.14.5          </p>        </li>        <li class="next">          <a accesskey="n" href="procps.html" title="Procps-3.2.6">Next</a>          <p>            Procps-3.2.6          </p>        </li>        <li class="up">          <a accesskey="u" href="chapter.html" title=          "Chapter&nbsp;10.&nbsp;Installing Basic System Software">Up</a>.        </li>        <li class="home">          <a accesskey="h" href="../index.html" title=          "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS">          Home</a>        </li>      </ul>    </div>    <div class="wrap" lang="en" xml:lang="en">      <div class="titlepage">        <h1 class="sect1">          10.25. Inetutils-1.4.2        </h1>      </div>      <div class="package" lang="en" xml:lang="en">        <p>          The Inetutils package contains programs for basic networking.        </p>        <div class="segmentedlist">          <div class="seglistitem">            <div class="seg">              <strong><span class="segtitle">Installation depends              on:</span></strong> <span class="seg">Bash, Binutils,              Coreutils, Diffutils, GCC, Glibc, Grep, Make, Ncurses, Patch,              Sed, and Zlib</span>            </div>          </div>        </div>      </div>      <div class="installation" lang="en" xml:lang="en">        <div class="titlepage">          <h2 class="sect2">            10.25.1. Installation of Inetutils          </h2>        </div>        <p>          Not all programs that come with Inetutils will be installed.          However, the Inetutils build system will insist on installing all          the man pages anyway. The following patch will correct this          situation:        </p>        <pre class="userinput"><kbd class="command">patch -Np1 -i ../inetutils-1.4.2-no_server_man_pages-1.patch</kbd></pre>        <p>          This patch addresses build issues with GCC 4.1.0:        </p>        <pre class="userinput"><kbd class="command">patch -Np1 -i ../inetutils-1.4.2-gcc4_fixes-3.patch</kbd></pre>        <p>          Prepare Inetutils for compilation:        </p>        <pre class="userinput"><kbd class="command">./configure --prefix=/usr --libexecdir=/usr/sbin \    --sysconfdir=/etc --localstatedir=/var \    --disable-logger --disable-syslogd \    --disable-whois --disable-servers</kbd></pre>        <div class="variablelist">          <p class="title">            <b>The meaning of the configure options:</b>          </p>          <dl>            <dt>              <span class="term"><em class=              "parameter"><tt>--disable-logger</tt></em></span>            </dt>            <dd>              <p>                This option prevents Inetutils from installing the                <span><strong class="command">logger</strong></span> program,                which is used by scripts to pass messages to the System Log                Daemon. Do not install it because Util-linux installs a                better version later.              </p>            </dd>            <dt>              <span class="term"><em class=              "parameter"><tt>--disable-syslogd</tt></em></span>            </dt>            <dd>              <p>                This option prevents Inetutils from installing the System Log                Daemon, which is installed with the Sysklogd package.              </p>            </dd>            <dt>              <span class="term"><em class=              "parameter"><tt>--disable-whois</tt></em></span>            </dt>            <dd>              <p>                This option disables the building of the Inetutils                <span><strong class="command">whois</strong></span> client,                which is out of date. Instructions for a better                <span><strong class="command">whois</strong></span> client                are in the BLFS book.              </p>            </dd>            <dt>              <span class="term"><em class=              "parameter"><tt>--disable-servers</tt></em></span>            </dt>            <dd>              <p>                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. More information can be found at <a href=                "http://www.linuxfromscratch.org/blfs/view/svn/basicnet/inetutils.html">                <i>http://www.linuxfromscratch.org/blfs/view/svn/basicnet/inetutils.html</i></a>.                Note that better replacements are available for many of these                servers.              </p>            </dd>          </dl>        </div>        <p>          Compile the package:        </p>        <pre class="userinput"><kbd class="command">make</kbd></pre>        <p>          This package does not come with a test suite.        </p>        <p>          Install the package:        </p>        <pre class="userinput"><kbd class="command">make install</kbd></pre>        <p>          Move the <span><strong class="command">ping</strong></span> program          to its FHS-compliant place:        </p>        <pre class="userinput"><kbd class="command">mv -v /usr/bin/ping /bin</kbd></pre>      </div>      <div class="content" lang="en" xml:lang="en">        <div class="titlepage">          <a id="contents-inetutils" name="contents-inetutils"></a>          <h2 class="sect2">            10.25.2. Contents of Inetutils          </h2>        </div>        <div class="segmentedlist">          <div class="seglistitem">            <div class="seg">              <strong><span class="segtitle">Installed              programs:</span></strong> <span class="seg">ftp, ping, rcp,              rlogin, rsh, talk, telnet, and tftp</span>            </div>          </div>        </div>        <div class="variablelist">          <h3>            <a id="id3675140" name="id3675140"></a>Short Descriptions          </h3>          <table border="0">            <col align="left" valign="top" />            <tbody>              <tr>                <td>                  <a id="ftp" name="ftp"></a><span class=                  "term"><span><strong class=                  "command">ftp</strong></span></span>                </td>                <td>                  <p>                    Is the file transfer protocol program                  </p>                </td>              </tr>              <tr>                <td>                  <a id="ping" name="ping"></a><span class=                  "term"><span><strong class=                  "command">ping</strong></span></span>                </td>                <td>                  <p>                    Sends echo-request packets and reports how long the                    replies take                  </p>                </td>              </tr>              <tr>                <td>                  <a id="rcp" name="rcp"></a><span class=                  "term"><span><strong class=                  "command">rcp</strong></span></span>                </td>                <td>                  <p>                    Performs remote file copy                  </p>                </td>              </tr>              <tr>                <td>                  <a id="rlogin" name="rlogin"></a><span class=                  "term"><span><strong class=                  "command">rlogin</strong></span></span>                </td>                <td>                  <p>                    Performs remote login                  </p>                </td>              </tr>              <tr>                <td>                  <a id="rsh" name="rsh"></a><span class=                  "term"><span><strong class=                  "command">rsh</strong></span></span>                </td>                <td>                  <p>                    Runs a remote shell                  </p>                </td>              </tr>              <tr>                <td>                  <a id="talk" name="talk"></a><span class=                  "term"><span><strong class=                  "command">talk</strong></span></span>                </td>                <td>                  <p>                    Is used to chat with another user                  </p>                </td>              </tr>              <tr>                <td>                  <a id="telnet" name="telnet"></a><span class=                  "term"><span><strong class=                  "command">telnet</strong></span></span>                </td>                <td>                  <p>                    An interface to the TELNET protocol                  </p>                </td>              </tr>              <tr>                <td>                  <a id="tftp" name="tftp"></a><span class=                  "term"><span><strong class=                  "command">tftp</strong></span></span>                </td>                <td>                  <p>                    A trivial file transfer program                  </p>                </td>              </tr>            </tbody>          </table>        </div>      </div>    </div>    <div class="navfooter">      <ul>        <li class="prev">          <a accesskey="p" href="gettext.html" title=          "Gettext-0.14.5">Prev</a>          <p>            Gettext-0.14.5          </p>        </li>        <li class="next">          <a accesskey="n" href="procps.html" title="Procps-3.2.6">Next</a>          <p>            Procps-3.2.6          </p>        </li>        <li class="up">          <a accesskey="u" href="chapter.html" title=          "Chapter&nbsp;10.&nbsp;Installing Basic System Software">Up</a>.        </li>        <li class="home">          <a accesskey="h" href="../index.html" title=          "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS">          Home</a>.        </li>      </ul>    </div>  </body></html>

⌨️ 快捷键说明

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