2004-05-12 22:00:45 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Installation command explanations</title>
|
|
|
|
|
2004-05-17 00:44:50 +08:00
|
|
|
<para><command>install -d /var/cache/samba</command>: This directory is
|
2004-05-12 22:00:45 +08:00
|
|
|
needed for proper operation of the <command>smbd</command> and
|
|
|
|
<command>nmbd</command> daemons.</para>
|
|
|
|
|
|
|
|
<para><parameter>--prefix=/usr</parameter>: Sets the prefix for almost
|
|
|
|
all the file paths to <filename class="directory">/usr</filename>.</para>
|
|
|
|
|
|
|
|
<para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration
|
|
|
|
file directory to avoid the default of <filename class="directory">/usr/etc</filename>.</para>
|
|
|
|
|
|
|
|
<para><parameter>--localstatedir=/var</parameter>: Sets the variable
|
|
|
|
data directory to avoid the default of <filename class="directory">/usr/var</filename>.</para>
|
|
|
|
|
|
|
|
<para><option>--with-fhs</option>: Assigns all other file paths in a manner
|
|
|
|
compliant with the Filesystem Hierarchy Standard
|
|
|
|
(<acronym>FHS</acronym>).</para>
|
|
|
|
|
|
|
|
<para><option>--with-smbmount</option>: Orders the creation of an extra
|
|
|
|
binary for use by the <command>mount</command> command so that mounting remote
|
2004-05-17 16:59:51 +08:00
|
|
|
<acronym>SMB</acronym> (Windows) shares becomes no more complex than mounting
|
2004-05-12 22:00:45 +08:00
|
|
|
remote <acronym>NFS</acronym> shares.</para>
|
|
|
|
|
2004-05-17 00:44:50 +08:00
|
|
|
<para><command>install -m755 nsswitch/libnss_win{s,bind}.so /lib</command>:
|
2004-05-12 22:00:45 +08:00
|
|
|
The nss libs are not installed by default. If you intend to use
|
|
|
|
winbindd for domain auth, and/or <acronym>WINS</acronym> name resolution,
|
2004-05-17 16:59:51 +08:00
|
|
|
you need these libraries.</para>
|
2004-05-12 22:00:45 +08:00
|
|
|
|
2004-05-17 00:44:50 +08:00
|
|
|
<para><command>ln -sf libnss_winbind.so /lib/libnss_winbind.so.2</command>
|
|
|
|
and <command>ln -sf libnss_wins.so /lib/libnss_wins.so.2</command>:
|
2004-05-12 22:00:45 +08:00
|
|
|
These symlinks are required by glibc to use the nss libs.</para>
|
|
|
|
|
2004-05-17 16:59:51 +08:00
|
|
|
<para><command>cp ../examples/smb.conf.default /etc/samba</command>:
|
|
|
|
This copies a default <filename>smb.conf </filename>into
|
|
|
|
<filename>/etc/samba</filename>. This sample configuration will not
|
|
|
|
work unless edited for your site, and renamed
|
|
|
|
<filename>smb.conf</filename>.</para>
|
|
|
|
|
2004-05-12 22:00:45 +08:00
|
|
|
</sect2>
|