lfs/chapter06/sysklogd.xml
2004-02-09 22:45:54 +00:00

57 lines
1.3 KiB
XML

<sect1 id="ch-system-sysklogd" xreflabel="Sysklogd">
<title>Installing Sysklogd-&sysklogd-version;</title>
<?dbhtml filename="sysklogd.html" dir="chapter06"?>
<para>The Sysklogd package contains programs for logging system messages, such
as those given by the kernel when unusual things happen.</para>
<screen>&buildtime; &sysklogd-time;
&diskspace; &sysklogd-compsize;</screen>
&aa-sysklogd-down;
&aa-sysklogd-dep;
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Sysklogd</title>
<para>Compile Sysklogd:</para>
<screen><userinput>make</userinput></screen>
<para>And install it:</para>
<screen><userinput>make install</userinput></screen>
</sect2>
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2><title>Configuring Sysklogd</title>
<para>Create a new <filename>/etc/syslog.conf</filename> file by running the
following:</para>
<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"</userinput>
# Begin /etc/syslog.conf
auth,authpriv.* -/var/log/auth.log
*.*;auth,authpriv.none -/var/log/sys.log
daemon.* -/var/log/daemon.log
kern.* -/var/log/kern.log
mail.* -/var/log/mail.log
user.* -/var/log/user.log
*.emerg *
# End /etc/syslog.conf
<userinput>EOF</userinput></screen>
</sect2>
&aa-sysklogd-shortdesc;
&aa-sysklogd-desc;
</sect1>