aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/sysklogd.xml
blob: 9043544e871793bd4b1146c0d0b100ab510bb3d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<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>