glfs/server/other/samba/samba-inst.xml
Tushar Teredesai 3428fc3486 Patch reorganization, Section VI
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1308 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-10-05 02:13:35 +00:00

32 lines
934 B
XML

<sect2>
<title>Installation of <application>Samba</application></title>
<para>Install <application>Samba</application> by running the following
commands:</para>
<!--
<note><para><application>Samba</application> is installed from the
<filename class="directory">samba-&samba-version;/source</filename> directory.
</para></note>
-->
<screen><userinput><command>cd source &amp;&amp;
mkdir -p /etc/samba/private &amp;&amp;
mkdir -p /var/cache/samba &amp;&amp;
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-piddir=/var/run \
--with-fhs \
--with-smbmount &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
<!-- mv /usr/bin/smbmount /usr/bin/mount.smbfs &amp;&amp; -->
rm -rf /usr/private &amp;&amp;
echo "swat 901/tcp" &gt;&gt; /etc/services &amp;&amp;
echo "swat stream tcp nowait.400 root /usr/sbin/swat swat" &gt;&gt; \
/etc/inetd.conf</command></userinput></screen>
</sect2>