From dfe4861318ad7489bffe7caef25d4901909872d9 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 9 Aug 2005 12:02:00 +0000 Subject: final touches of 0.9.6 --- doc/install.html | 32 +++++++++++++++++++++++++------- doc/status.html | 6 +++--- 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/doc/install.html b/doc/install.html index 4b0e5a21..506f01a5 100644 --- a/doc/install.html +++ b/doc/install.html @@ -20,7 +20,9 @@ line). Thus, this guide focusses on installing from the source, which thankfully is quite easy.

Step 1 - Download Software

For obvious reasons, you need to download rsyslog. Load the most recent build -from http://www.rsyslog.com/downloads.

+from http://www.rsyslog.com/downloads. +Extract the software with "tar xzf -nameOfDownloadSet-". This will create a new +subdirectory rsyslog-version in the current working directory. CD into that.

Depending on your system configuration, you also need to install some build tools, most importantly make, the gcc compiler and the MySQL development system (if you intend to use MySQL). On many systems, these things should already be @@ -28,7 +30,20 @@ present. If you don't know exactly, simply skip this step for now and see if nice error messages pop up during the compile process. If they do, you can still install the missing build environment tools. So this is nothing that you need to look at very carefully.

-

Step 2 - Check Makefile

+

Step 2 - Change into correct Subdirectory

+

Rsyslog contains subdirectories for all platforms it has been compiled on so +far. If your platform is missing, that does not mean it won't run - it simply +means either nobody tried before or did not let us know. Please note that there +is a generic subdirectory "linux", which should cover allmost all linux variants. +If you run Linux but your distro has no specific directory, use the linux +directory instead. For example, at the time of this writing there wasn't even a +redhat directory, because it would have been no different from the linux +directory. So the absence of a distro-specific directory does not (necessarily) +mean rsyslog has never been compiled on that distro.

+

CD into the distribution-specific directory that best matches your +platform. All further steps assume that you are inside this directory and +NOT the rsyslog home directory.

+

Step 3 - Check Makefile

The Makefile that comes with rsyslog contains all common options, instead of support for MySQL. By default, it is compiled without it, because most folks do not need it. If you need MySQL, you need to activate it. It's straightforward:

@@ -51,22 +66,22 @@ not need it. If you need MySQL, you need to activate it. It's straightforward:Important: If you modify the Makefile more than once, be sure to call "make clean" before going further.

Now you are ready for the next step, the compilation.

-

Step 3 - Compile

+

Step 4 - Compile

That is easy. Just type "make" and let the compiler work. On any recent system, that should be a very quick task, on many systems just a matter of a vew seconds. If an error message comes up, most probably a part of your build environment is not installed. Check with step 1 in those cases.

-

Step 4 - Install

+

Step 5 - Install

Again, that is quite easy. All it takes is a "make install". That will copy the rsyslogd and the man pages to the relavant directories.

-

Step 5 - Configure rsyslogd

+

Step 6 - Configure rsyslogd

In this step, you tell rsyslogd what to do with received messages. If you are upgrading from stock syslogd, /etc/syslog.conf is probably a good starting point. Rsyslogd understands stock syslogd syntax, so you can simply copy over /etc/syslog.conf to /etc/rsyslog.conf. Then, edit rsyslog.conf for any enhancements you would like to see. For example, you can add database writing as outlined in the paper "Writing syslog Data to MySQL".

-

Step 6 - Disable stock syslogd

+

Step 7 - Disable stock syslogd

In almost all cases, there already is stock syslogd installed. Because both it and rsyslogd listen to the same sockets, they can NOT be run concurrently. So you need to disable the stock syslogd. To do this, you typically must change @@ -77,7 +92,7 @@ runlevel 2 - in parctice, you need to do this for all run levels you will ever use (which probably means all). Under /etc/rc2.d there is a S10sysklogd script (actually a symlink). Change the name to _S10sysklogd (this keeps the symlink in place, but will prevent further execution - effectively disabling it).

-

Step 7 - Enable rsyslogd Autostart

+

Step 8 - Enable rsyslogd Autostart

This step is very close to step 3. Now, we want to enable rsyslogd to start automatically. The rsyslog package contains a (currently small) number of startup scripts. They are inside the distro-specific directory (e.g. debian). If @@ -119,6 +134,9 @@ comments or bug sighting reports are very welcome. Please

  • 2005-08-08 * Rainer Gerhards * Initial version created
  • +
  • 2005-08-09 * + Rainer Gerhards + * updated to include distro-specific directories, which are now mandatory
  • Copyright

    Copyright (c) 2005 diff --git a/doc/status.html b/doc/status.html index f1217fc3..1caf09d0 100644 --- a/doc/status.html +++ b/doc/status.html @@ -4,10 +4,10 @@

    rsyslog status page

    -

    This page reflects the status as of 2005-08-02.

    +

    This page reflects the status as of 2005-08-09.

    Current Release

    -

    0.9.5 - change log - -download

    +

    0.9.6 - change log - +download

    Platforms