[d40e1a4] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 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 | <!ENTITY rpcbind-download-http "&sourceforge-repo;/rpcbind/rpcbind-&rpcbind-version;.tar.bz2">
|
---|
| 8 | <!ENTITY rpcbind-download-ftp " ">
|
---|
| 9 | <!ENTITY rpcbind-md5sum "1a77ddb1aaea8099ab19c351eeb26316">
|
---|
| 10 | <!ENTITY rpcbind-size "272 KB">
|
---|
| 11 | <!ENTITY rpcbind-buildsize "3.8 MB">
|
---|
| 12 | <!ENTITY rpcbind-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="rpcbind" xreflabel="rpcbind-&rpcbind-version;">
|
---|
| 16 | <?dbhtml filename="rpcbind.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>rpcbind-&rpcbind-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="rpcbind">
|
---|
| 26 | <primary sortas="a-rpcbind">rpcbind</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to rpcbind</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>rpcbind</application> program is a replacement for
|
---|
| 33 | <application>portmap</application>. It is required for import or export
|
---|
| 34 | of Network File System (NFS) shared directories. </para>
|
---|
| 35 |
|
---|
| 36 | &lfs70_checked;
|
---|
| 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&rpcbind-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&rpcbind-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &rpcbind-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &rpcbind-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &rpcbind-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &rpcbind-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">rpcbind Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 63 | <para role="required">
|
---|
| 64 | <xref linkend="libtirpc"/>
|
---|
| 65 | </para>
|
---|
| 66 |
|
---|
[9f35d02] | 67 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 68 | <para role="required">
|
---|
| 69 | <xref linkend="tcpwrappers"/>
|
---|
| 70 | </para>
|
---|
| 71 |
|
---|
[d40e1a4] | 72 | <para condition="html" role="usernotes">User Notes:
|
---|
| 73 | <ulink url="&blfs-wiki;/rpcbind"/></para>
|
---|
| 74 |
|
---|
| 75 | </sect2>
|
---|
| 76 |
|
---|
| 77 | <sect2 role="installation">
|
---|
| 78 | <title>Installation of rpcbind</title>
|
---|
| 79 |
|
---|
[ed6a289c] | 80 | <para>In order to get <application>rpcbind</application> to work
|
---|
| 81 | properly, first fix <filename>/etc/services</filename>. As the
|
---|
| 82 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 83 |
|
---|
[9f35d02] | 84 | <screen><userinput>sed -i 's/^sunrpc/rpcbind/' /etc/services</userinput></screen>
|
---|
[ed6a289c] | 85 |
|
---|
[d40e1a4] | 86 | <para>Install <application>rpcbind</application> by running the following
|
---|
| 87 | commands:</para>
|
---|
| 88 |
|
---|
| 89 | <screen><userinput>./configure --prefix=/usr --bindir=/sbin &&
|
---|
| 90 | make</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | <para>This package does not come with a test suite.</para>
|
---|
| 93 |
|
---|
| 94 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 95 |
|
---|
| 96 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="configuration">
|
---|
| 101 | <title>Configuring rpcbind</title>
|
---|
| 102 |
|
---|
| 103 | <sect3 id="rpcbind-init">
|
---|
| 104 | <title>Boot Script</title>
|
---|
| 105 |
|
---|
| 106 | <para>Install the <filename>/etc/rc.d/init.d/rpcbind</filename> init script
|
---|
| 107 | included in the <xref linkend="bootscripts"/> package.</para>
|
---|
| 108 |
|
---|
| 109 | <indexterm zone="rpcbind rpcbind-init">
|
---|
| 110 | <primary sortas="f-portmap">portmap</primary>
|
---|
| 111 | </indexterm>
|
---|
| 112 |
|
---|
| 113 | <screen role="root"><userinput>make install-rpcbind</userinput></screen>
|
---|
| 114 |
|
---|
| 115 |
|
---|
[9f35d02] | 116 | <note><para>If you build <application>rpcbind</application> with
|
---|
| 117 | <xref linkend="tcpwrappers"/>, be sure to allow it in
|
---|
| 118 | <filename>/etc/hosts.allow</filename>. For example:</para>
|
---|
| 119 |
|
---|
| 120 | <screen><userinput>rpcbind: 127.0.0.1</userinput></screen></note>
|
---|
| 121 |
|
---|
[d40e1a4] | 122 | </sect3>
|
---|
| 123 |
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="content">
|
---|
| 127 | <title>Contents</title>
|
---|
| 128 |
|
---|
| 129 | <segmentedlist>
|
---|
| 130 | <segtitle>Installed Program</segtitle>
|
---|
| 131 | <segtitle>Installed Libraries</segtitle>
|
---|
| 132 | <segtitle>Installed Directories</segtitle>
|
---|
| 133 |
|
---|
| 134 | <seglistitem>
|
---|
| 135 | <seg>rpcbind and rpcinfo</seg>
|
---|
| 136 | <seg>None</seg>
|
---|
| 137 | <seg>None</seg>
|
---|
| 138 | </seglistitem>
|
---|
| 139 | </segmentedlist>
|
---|
| 140 |
|
---|
| 141 | <variablelist>
|
---|
| 142 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 143 | <?dbfo list-presentation="list"?>
|
---|
| 144 | <?dbhtml list-presentation="table"?>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="rpcbind-prog">
|
---|
| 147 | <term><command>rpcbind</command></term>
|
---|
| 148 | <listitem>
|
---|
| 149 | <para>is a server that converts RPC program numbers into universal
|
---|
| 150 | addresses. It must be running on the host to be able to make RPC
|
---|
| 151 | calls on a server on that machine. </para>
|
---|
| 152 | <indexterm zone="rpcbind rpcbind-prog">
|
---|
| 153 | <primary sortas="b-rpcbind">rpcbind</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="rpcinfo">
|
---|
| 159 | <term><command>rpcinfo</command></term>
|
---|
| 160 | <listitem>
|
---|
| 161 | <para>makes an RPC call to an RPC server and reports data according
|
---|
| 162 | to the requested options. </para>
|
---|
| 163 | <indexterm zone="rpcbind rpcinfo">
|
---|
| 164 | <primary sortas="b-rpcinfo">rpcinfo</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | </variablelist>
|
---|
| 170 |
|
---|
| 171 | </sect2>
|
---|
| 172 |
|
---|
| 173 | </sect1>
|
---|