mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-06 09:07:30 +08:00
44 lines
1.3 KiB
XML
44 lines
1.3 KiB
XML
|
<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 >> /etc/syslog.conf << "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 &&
|
||
|
make CC="gcc $CFLAGS" &&
|
||
|
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 &&
|
||
|
make CC="gcc $CFLAGS" &&
|
||
|
make install</userinput></screen></para>
|
||
|
|
||
|
</sect2>
|
||
|
|