glfs/server/other/samba/samba-inst.xml
Billy O 'Connor 2bbb5bda16 Version increment and FHS ./configure opts.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@396 af4574ff-66df-0310-9fd7-8a98e5e911e0
2002-11-22 00:31:25 +00:00

28 lines
712 B
XML

<sect2>
<title>Installation of Samba</title>
<para>Install Samba by running the following commands:</para>
<note><para>
Samba is installed from the samba-&samba-version/source directory.
</para></note>
<para><screen><userinput>
mkdir -p /etc/samba/private &&
mkdir -p /var/cache/samba &&
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--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" >> /etc/services &amp;&amp;
echo "swat stream tcp nowait.400 root /usr/sbin/swat swat" >> \
/etc/inetd.conf
</userinput></screen></para>
</sect2>