glfs/general/sysutils/fcron/fcron-inst.xml

44 lines
1.3 KiB
XML
Raw Normal View History

<sect2>
<title>Installation of fcron</title>
<para>Fcron uses the cron facility of syslog to log all messages. Since LFS
does not set up this facility in /etc/syslog.conf, it needs to be done prior
to installing fcron. This command will append the necessary line to the
current <filename>/etc/syslog.conf</filename>.</para>
<para><screen><userinput>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"</userinput>
# Begin fcron addition to /etc/syslog.conf
cron.* -/var/log/cron.log
# End fcron addition
<userinput>EOF</userinput></screen></para>
<para>The configuration file has been modified, so reloading the sysklogd
daemon will activate the changes.</para>
<para><screen><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen></para>
<para>Install fcron by running the following commands:</para>
<para><screen><userinput>./configure &amp;&amp;
make CC="gcc $CFLAGS" &amp;&amp;
make install</userinput></screen></para>
</sect2>
<sect2>
<title>Install fcron without MTA </title>
<para>Fcron does not require a mail transfer agent (MTA) to run, but will
use one if it is installed to email you the results of the fcron script. If
you wish to install without a MTA, run the following commands:</para>
<para><screen><userinput>./configure --without-sendmail &amp;&amp;
make CC="gcc $CFLAGS" &amp;&amp;
make install</userinput></screen></para>
</sect2>