mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +08:00
547df0bcb6
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1211 af4574ff-66df-0310-9fd7-8a98e5e911e0
23 lines
895 B
XML
23 lines
895 B
XML
<sect2>
|
|
<title>Installation of <application>Exim</application></title>
|
|
|
|
<para>Before building <application>Exim</application>, we need to
|
|
create the group and user exim which will run the exim daemon:</para>
|
|
|
|
<screen><userinput><command>groupadd exim &&
|
|
useradd -d /dev/null -g exim -s /bin/false exim</command></userinput></screen>
|
|
|
|
<para>Install <application>Exim</application> with the following commands:</para>
|
|
|
|
<screen><userinput><command>sed -e 's/^BIN_DIR.*$/BIN_DIRECTORY=\/usr\/sbin/' src/EDITME | \
|
|
sed -e 's/^CONF.*$/CONFIGURE_FILE=\/etc\/exim.conf/' | \
|
|
sed -e 's/^EXIM_USER.*$/EXIM_USER=exim/' | \
|
|
sed -e 's/^EXIM_MONITOR/#EXIM_MONITOR/' > Local/Makefile &&
|
|
make &&
|
|
make install &&
|
|
cp doc/exim.8 /usr/share/man/man8 &&
|
|
ln -s exim-4.24-1 /usr/sbin/exim &&
|
|
ln -s exim /usr/sbin/sendmail</command></userinput></screen>
|
|
|
|
</sect2>
|