mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 15:37:16 +08:00
7d2ba5678b
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@270 af4574ff-66df-0310-9fd7-8a98e5e911e0
32 lines
863 B
XML
32 lines
863 B
XML
<sect2>
|
|
<title>Installation of Samba</title>
|
|
|
|
<para>Install Samba by running the following commands:</para>
|
|
<note><para>
|
|
Samba is installed from the samba-&samba-version/source directory.
|
|
</para></note>
|
|
|
|
<para><screen><userinput>
|
|
mkdir /var/www &&
|
|
mkdir /var/www/swat &&
|
|
./configure \
|
|
--prefix=/usr \
|
|
--with-logfilebase=/var/log \
|
|
--libexecdir=/usr \
|
|
--sysconfdir=/etc/samba \
|
|
--with-privatedir=/etc/samba/private \
|
|
--with-lockdir=/var/lock \
|
|
--with-piddir=/var/run \
|
|
--with-swatdir=/var/www/swat \
|
|
--with-configdir=/etc/samba &&
|
|
make &&
|
|
make install &&
|
|
mkdir /etc/samba &&
|
|
mkdir /etc/samba/private &&
|
|
echo "swat 901/tcp" >> /etc/services &&
|
|
echo "swat stream tcp nowait.400 root /usr/sbin/swat swat" \
|
|
>> /etc/inetd.conf
|
|
</userinput></screen></para>
|
|
</sect2>
|
|
|