mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-14 07:59:19 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2141 af4574ff-66df-0310-9fd7-8a98e5e911e0
28 lines
842 B
XML
28 lines
842 B
XML
<sect2>
|
|
<title>Installation of <application>Samba</application></title>
|
|
|
|
<para>Install <application>Samba</application> by running the following
|
|
commands:</para>
|
|
|
|
|
|
<screen><userinput><command>cd source &&
|
|
mkdir -p /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</command></userinput></screen>
|
|
|
|
<para>Note: You may want to run configure with the
|
|
<parameter>--help</parameter> parameter. There may be other parameters
|
|
needed to take advantage of the optional dependencies.</para>
|
|
</sect2>
|
|
|