mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +08:00
ca2217b433
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@873 af4574ff-66df-0310-9fd7-8a98e5e911e0
28 lines
806 B
XML
28 lines
806 B
XML
<sect2>
|
|
<title>Installation of Samba</title>
|
|
|
|
<para>Install Samba by running the following commands:</para>
|
|
<note><para>
|
|
Samba is installed from the <filename
|
|
class="directory">samba-&samba-version;/source</filename> directory.
|
|
</para></note>
|
|
|
|
<para><screen><userinput>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</userinput></screen></para>
|
|
</sect2>
|
|
|