mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 18:02:12 +08:00
3428fc3486
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1308 af4574ff-66df-0310-9fd7-8a98e5e911e0
32 lines
934 B
XML
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 &&
|
|
mkdir -p /etc/samba/private &&
|
|
mkdir -p /var/cache/samba &&
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--with-piddir=/var/run \
|
|
--with-fhs \
|
|
--with-smbmount &&
|
|
make &&
|
|
make install &&
|
|
<!-- mv /usr/bin/smbmount /usr/bin/mount.smbfs && -->
|
|
rm -rf /usr/private &&
|
|
echo "swat 901/tcp" >> /etc/services &&
|
|
echo "swat stream tcp nowait.400 root /usr/sbin/swat swat" >> \
|
|
/etc/inetd.conf</command></userinput></screen>
|
|
</sect2>
|
|
|