[736ede9] | 1 | <sect2>
|
---|
| 2 | <title>Installation command explanations</title>
|
---|
| 3 |
|
---|
[8cfd1f9] | 4 | <para><command>install -d /var/cache/samba</command>: This directory is
|
---|
[736ede9] | 5 | needed for proper operation of the <command>smbd</command> and
|
---|
| 6 | <command>nmbd</command> daemons.</para>
|
---|
| 7 |
|
---|
| 8 | <para><parameter>--prefix=/usr</parameter>: Sets the prefix for almost
|
---|
| 9 | all the file paths to <filename class="directory">/usr</filename>.</para>
|
---|
| 10 |
|
---|
| 11 | <para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration
|
---|
| 12 | file directory to avoid the default of <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 13 |
|
---|
| 14 | <para><parameter>--localstatedir=/var</parameter>: Sets the variable
|
---|
| 15 | data directory to avoid the default of <filename class="directory">/usr/var</filename>.</para>
|
---|
| 16 |
|
---|
| 17 | <para><option>--with-fhs</option>: Assigns all other file paths in a manner
|
---|
| 18 | compliant with the Filesystem Hierarchy Standard
|
---|
| 19 | (<acronym>FHS</acronym>).</para>
|
---|
| 20 |
|
---|
| 21 | <para><option>--with-smbmount</option>: Orders the creation of an extra
|
---|
| 22 | binary for use by the <command>mount</command> command so that mounting remote
|
---|
[2ce613f] | 23 | <acronym>SMB</acronym> (Windows) shares becomes no more complex than mounting
|
---|
[736ede9] | 24 | remote <acronym>NFS</acronym> shares.</para>
|
---|
| 25 |
|
---|
[8cfd1f9] | 26 | <para><command>install -m755 nsswitch/libnss_win{s,bind}.so /lib</command>:
|
---|
[736ede9] | 27 | The nss libs are not installed by default. If you intend to use
|
---|
| 28 | winbindd for domain auth, and/or <acronym>WINS</acronym> name resolution,
|
---|
[2ce613f] | 29 | you need these libraries.</para>
|
---|
[736ede9] | 30 |
|
---|
[8cfd1f9] | 31 | <para><command>ln -sf libnss_winbind.so /lib/libnss_winbind.so.2</command>
|
---|
| 32 | and <command>ln -sf libnss_wins.so /lib/libnss_wins.so.2</command>:
|
---|
[736ede9] | 33 | These symlinks are required by glibc to use the nss libs.</para>
|
---|
| 34 |
|
---|
[2ce613f] | 35 | <para><command>cp ../examples/smb.conf.default /etc/samba</command>:
|
---|
| 36 | This copies a default <filename>smb.conf </filename>into
|
---|
| 37 | <filename>/etc/samba</filename>. This sample configuration will not
|
---|
| 38 | work unless edited for your site, and renamed
|
---|
| 39 | <filename>smb.conf</filename>.</para>
|
---|
| 40 |
|
---|
[736ede9] | 41 | </sect2>
|
---|