summaryrefslogtreecommitdiffstats
path: root/debian/openslp-dfsg/openslp-dfsg-1.2.1/doc/html/UsersGuide/Installation.html
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openslp-dfsg/openslp-dfsg-1.2.1/doc/html/UsersGuide/Installation.html')
-rw-r--r--debian/openslp-dfsg/openslp-dfsg-1.2.1/doc/html/UsersGuide/Installation.html213
1 files changed, 213 insertions, 0 deletions
diff --git a/debian/openslp-dfsg/openslp-dfsg-1.2.1/doc/html/UsersGuide/Installation.html b/debian/openslp-dfsg/openslp-dfsg-1.2.1/doc/html/UsersGuide/Installation.html
new file mode 100644
index 00000000..2a6b4bf4
--- /dev/null
+++ b/debian/openslp-dfsg/openslp-dfsg-1.2.1/doc/html/UsersGuide/Installation.html
@@ -0,0 +1,213 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="GENERATOR" content="Mozilla/4.77C-CCK-MCD Caldera Systems OpenLinux [en] (X11; U; Linux 2.4.2 i686) [Netscape]">
+ <title>OpenSLP Users Guide - Installing OpenSLP on Linux</title>
+</head>
+<body text="#000000" bgcolor="#FFFFFF" link="#0000EE" vlink="#551A8B" alink="#FF0000">
+
+<h2>
+Installing OpenSLP on Linux</h2>
+
+<hr WIDTH="100%">
+<h3>
+Installation</h3>
+Installing the latest distribution of OpenSLP is easy.&nbsp; Pay attention
+to the following steps and you should not have any problems.
+<br>&nbsp;
+<ul>
+<li>
+RPM Installation</li>
+
+<ul>
+<li>
+Download the latest RPM file from <a href="http://www.openslp.org">www.openslp.org</a>.
+Select the appropriate distribution.</li>
+
+<li>
+Become root (root is usually the only user that can install packages).</li>
+
+<li>
+Install the package. This is typically done with:</li>
+
+<ul><tt>rpm -Uvh openslp-x.x.x.rpm</tt></ul>
+
+<li>
+Make any configuration changes to the <tt>/etc/slp.conf</tt> file that
+you think you need. (see <a href="SlpConf.html">Configuration</a> for details)</li>
+
+<li>
+Set up static registrations in the <tt>/etc/slp.reg</tt> file if you need
+them. (see <a href="SlpReg.html">Static Registrations</a> for details)</li>
+
+<li>
+Start the OpenSLP daemon.</li>
+
+<ul><tt>/usr/sbin/slpd</tt></ul>
+</ul>
+
+<li>
+Tarball Installation</li>
+
+<ul>
+<li>
+Download the latest tarball(.tar.gz) file from <a href="http://www.openslp.org">www.openslp.org</a></li>
+
+<li>
+Unzip and untar the file into an appropriate directory.</li>
+
+<ul><tt>tar -zxf openslp-x.x.x.tar.gz</tt></ul>
+
+<li>
+Become root (root is usually the only user that can install daemons and
+libraries).</li>
+
+<ul>su root</ul>
+
+<li>
+Enter the extracted openslp directory build and install the OpenSLP binaries:</li>
+
+<ul><tt>./configure</tt></ul>
+
+<ul><tt>make</tt></ul>
+
+<ul><tt>make install</tt></ul>
+
+<li>
+Make any configuration changes to the <tt>/etc/slp.conf</tt> file that
+you think you need. (see <a href="SlpConf.html">Configuration</a> for details).</li>
+
+<li>
+Set up static registrations in the <tt>/etc/slp.reg</tt> file if you need
+them. (see <a href="SlpReg.html">Static Registrations</a> for details).</li>
+
+<li>
+Start the OpenSLP daemon.</li>
+
+<ul><tt>/usr/sbin/slpd</tt></ul>
+</ul>
+
+<li>
+Make slpd start on boot:</li>
+
+<ul>You may want to make a few changes to your Linux initialization scripts
+so that slpd will start when your machine is booted.&nbsp; Since it is
+not always necessary to have slpd running, <b>you should probably read
+about when (and why) the OpenSLP daemon has to run in the <a href="index.html">Advanced
+Topics</a> section before deciding to changing your init scripts</b>.</ul>
+
+<li>
+Remove the distribution directory from your system.</li>
+
+<ul>Unless you will be doing OpenSLP development work, you will probably
+want to remove the distribution directory from your system after OpenSLP
+is installed.&nbsp; The distribution directory is the one that was created
+by the tar -zxf openslp-x.x.x.tar.gz command.&nbsp; During installation,
+all of the important files were copied out of this directory to the appropriate
+places on you machines file system so it can be deleted with out breaking
+your installation of OpenSLP.</ul>
+
+<li>
+Add multicast or broadcast routes if necessary.</li>
+
+<ul>Some operating systems (like Linux) require a route to be set so that
+the host knows which interface should be used to send multicast and general
+broadcast traffic.&nbsp; Most of the time, the default route will be sufficient.
+<p><tt># route -n</tt>
+<br><tt>Kernel IP routing table</tt>
+<br><tt>Destination&nbsp;&nbsp;&nbsp;&nbsp; Gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+Genmask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flags Metric Ref&nbsp;&nbsp;&nbsp;
+Use Iface</tt>
+<br><tt>192.168.100.2&nbsp;&nbsp; 0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0</tt>
+<br><tt>127.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+255.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp;
+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+0 lo</tt>
+<br><tt>0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 216.250.131.254
+0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UG&nbsp;&nbsp;&nbsp;
+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+0 eth</tt>0
+<p>With the routing table above all multicast and general broadcast will
+be sent on eth0&nbsp; (the 0.0.0.0 route is the default route.)
+<p>If you do not have a default route or you have a multi-homed host, you
+will have specify which interface should be used.&nbsp;&nbsp; The following
+is an example of a routing table from a multihomed host:
+<p><tt># route -n</tt>
+<br><tt>Kernel IP routing table</tt>
+<br><tt>Destination&nbsp;&nbsp;&nbsp;&nbsp; Gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+Genmask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flags Metric Ref&nbsp;&nbsp;&nbsp;
+Use Iface</tt>
+<br><tt>192.168.131.0&nbsp;&nbsp; 0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth1</tt>
+<br><tt>216.250.131.0&nbsp;&nbsp; 0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0</tt>
+<br><tt>127.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+255.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp;
+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+0 lo</tt>
+<br><tt>0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 216.250.131.254
+0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UG&nbsp;&nbsp;&nbsp;
+1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+0 eth0</tt>
+<p>Notice the default route?&nbsp; This means that multicast traffic will
+be sent to eth0.&nbsp;&nbsp; If I don't want multicast traffic to be sent
+to eth0 I will need to add a special route.
+<p><tt># route add -net 224.0.0.0 netmask 240.0.0.0 dev eth1</tt>
+<br><tt># route -n</tt>
+<br><tt>Kernel IP routing table</tt>
+<br><tt>Destination&nbsp;&nbsp;&nbsp;&nbsp; Gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+Genmask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flags Metric Ref&nbsp;&nbsp;&nbsp;
+Use Iface</tt>
+<br><tt>192.168.131.0&nbsp;&nbsp; 0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth1</tt>
+<br><tt>216.250.131.0&nbsp;&nbsp; 0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0</tt>
+<br><tt>127.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+255.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp;
+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+0 lo</tt>
+<br><tt>224.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+240.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp;
+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+0 eth1</tt>
+<br><tt>0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 216.250.131.254
+0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UG&nbsp;&nbsp;&nbsp;
+1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+0 eth0</tt>
+<p>Now multicast will be sent on eth1 not eth0.
+<p>To my knowledge, there is no way to send&nbsp; multicast traffic both
+eth1 and eth0 (at least with Linux) without specialized routing software.&nbsp;&nbsp;&nbsp;
+Some multihomed machines have NICs that are attached to the same network.&nbsp;
+In this case, there is usually no need to send multicast on both NICs.&nbsp;&nbsp;
+If you need specialized routing software take a look at <i>mrouted</i>.
+<br>&nbsp;</ul>
+
+<li>
+Testing to see if your installation of OpenSLP works.</li>
+
+<ul>The OpenSLP distribution contains a handy command line tool that allows
+you to perform most SLP functions from the command line.&nbsp; The tool
+is called <tt>slptool</tt> and is built and installed by the OpenSLP make
+files.&nbsp; Look for SLP tool in /usr/bin, /usr/local/bin, or &lt;openslp_source_dir>/slptool/.&nbsp;&nbsp;
+After you have started slpd, you should be able to issue a query for SLP
+service agents using the following command line.
+<p><tt>$ slptool findsrvs service:service-agent</tt>
+<p>The results of this command should be a list of the hosts that are running
+slpd.&nbsp; This indicates that OpenSLP is successfully installed and working.&nbsp;
+If you do not get any output, then OpenSLP is not installed correctly or
+is not working.&nbsp;&nbsp; If this happens, please double check that you
+followed build and installation instructions, and read the
+<a href="http://www.openslp.org/doc/html/faq.html">FAQ</a>.&nbsp;
+If this does not help, post to the <a href="mailto:openslp-users.lists.sourceforge.net">openslp-users</a>
+mailing list with as much detail as you can provide.</ul>
+</ul>
+
+</body>
+</html>