mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-05 07:57:23 +08:00
f45b195302
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3 af4574ff-66df-0310-9fd7-8a98e5e911e0
30 lines
1.4 KiB
XML
30 lines
1.4 KiB
XML
<sect2>
|
|
<title>Installation of postfix</title>
|
|
|
|
<para>Before you compile the program, you need to create users and groups that will be expected to be in place when the install script executes. Add the users and groups with the following commands:</para>
|
|
|
|
<para><screen><userinput>groupadd postfix &&
|
|
groupadd postdrop &&
|
|
groupadd -g 65534 nogroup &&
|
|
useradd -c postfix -d /dev/null -g postfix -s /bin/false postfix &&
|
|
useradd -c nobody -d /home -g nogroup -s /bin/bash -u 65534 nobody &&
|
|
chown postfix:postfix /var/mail</userinput></screen></para>
|
|
|
|
<para>Install postfix by running the following commands:</para>
|
|
|
|
<para><screen><userinput>make &&
|
|
make install</userinput></screen></para>
|
|
|
|
<para>The install script will enter an interactive stage with questions in the form of '*_directory:[default]input'. Defaults can be accepted in all but three cases. The following shows the three cases and the modified response.</para>
|
|
|
|
<para><screen><userinput>daemon_directory:[/usr/libexec/postfix]/usr/sbin
|
|
manpage_directory:[/usr/local/man]/usr/share/man
|
|
sample_directory:[/etc/postfix]/usr/share/doc/postfix</userinput></screen></para>
|
|
|
|
<para>The final installation step is to install the program's documentation with this command:</para>
|
|
|
|
<para><screen><userinput>cp -rf html/* /usr/share/doc/postfix</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|