mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
f7f0d444d2
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@149 af4574ff-66df-0310-9fd7-8a98e5e911e0
24 lines
686 B
XML
24 lines
686 B
XML
<sect2>
|
|
<title>Installation of exim</title>
|
|
|
|
<para>Before building exim, we need to create a user and group for
|
|
exim with the following commands:</para>
|
|
<para><screen><userinput>
|
|
groupadd exim
|
|
useradd -g exim exim
|
|
</userinput></screen></para>
|
|
|
|
<para>Install exim with the following commands:</para>
|
|
|
|
<para><screen><userinput>
|
|
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 &&
|
|
ln -s /usr/sbin/exim /usr/sbin/sendmail
|
|
</userinput></screen></para>
|
|
</sect2>
|
|
|