mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-11 05:44:38 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2231 af4574ff-66df-0310-9fd7-8a98e5e911e0
29 lines
982 B
XML
29 lines
982 B
XML
<sect2>
|
|
<title>Installation of <application>Samba</application></title>
|
|
|
|
<para>Install <application>Samba</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>patch -Np1 -i samba-3.0.4-maintainer.patch &&
|
|
cd source &&
|
|
install -d /var/cache/samba &&
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--with-piddir=/var/run \
|
|
--with-fhs \
|
|
--with-smbmount &&
|
|
make &&
|
|
make install &&
|
|
install -m755 nsswitch/libnss_win{s,bind}.so /lib &&
|
|
ln -sf libnss_winbind.so /lib/libnss_winbind.so.2 &&
|
|
ln -sf libnss_wins.so /lib/libnss_wins.so.2 &&
|
|
cp ../examples/smb.conf.default /etc/samba</command></userinput></screen>
|
|
|
|
<note><para>You may want to run <command>configure</command> with the
|
|
<parameter>--help</parameter> parameter. There may be other parameters
|
|
needed to take advantage of the optional dependencies.</para></note>
|
|
|
|
</sect2>
|