mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-08 02:27:28 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1211 af4574ff-66df-0310-9fd7-8a98e5e911e0
28 lines
1.2 KiB
XML
28 lines
1.2 KiB
XML
<sect2>
|
|
<title>Installation of <application>Postfix</application></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>
|
|
|
|
<screen><userinput><command>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</command></userinput></screen>
|
|
|
|
<para>Install <application>postfix</application> by running the following commands:</para>
|
|
|
|
<screen><userinput><command>make &&
|
|
sh postfix-install daemon_directory=/usr/sbin \
|
|
manpage_directory=/usr/share/man \
|
|
sample_directory=/usr/share/doc/postfix \
|
|
-non-interactive</command></userinput></screen>
|
|
|
|
<para>The final installation step is to install the program's documentation with this command:</para>
|
|
|
|
<screen><userinput><command>cp -rf html/* /usr/share/doc/postfix</command></userinput></screen>
|
|
|
|
</sect2>
|