glfs/server/other/samba3/samba3-inst.xml

28 lines
928 B
XML
Raw Normal View History

<sect2>
<title>Installation of <application>Samba</application></title>
<para>Install <application>Samba</application> by running the following
commands:</para>
<screen><userinput><command>cd source &amp;&amp;
install -d /var/cache/samba &amp;&amp;
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-piddir=/var/run \
--with-fhs \
--with-smbmount &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
install -m755 nsswitch/libnss_win{s,bind}.so /lib &amp;&amp;
ln -sf libnss_winbind.so /lib/libnss_winbind.so.2 &amp;&amp;
ln -sf libnss_wins.so /lib/libnss_wins.so.2 &amp;&amp;
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>