To install syslog-ng on the FreeBSD operating systems, complete the following steps as root.
Procedure 4.3. Installing syslog-ng on FreeBSD systems
Use your username and password received together with your syslog-ng Premium Edition license to download the following binaries. Make sure to download the package specific for the processor architecture of the host.
The syslog-ng Premium Edition package
(syslog-ng-premium-edition_<version>)
from
The libdbi8 package from
http://www.balabit.com/downloads/files/syslog-ng/binaries/premium-edition/pool/l/libdbi8/
Unpack the downloaded syslog-ng package into the /
directory. Issue the following commands as root:
cd / tar xfz /<path_to_the_packages>/syslog-ng-pe_<version>_<arch>.tgz /opt tar xfz /<path_to_the_packages>/libdbi8_<version>_<arch>.tgz /opt/syslog-ng
Rename the /opt/syslog-ng/etc/syslog-ng.conf.example file
to syslog-ng.conf. Edit the configuration file as needed.
mv /opt/syslog-ng/etc/syslog-ng.conf.example /opt/syslog-ng/etc/syslog-ng.conf
Copy the /opt/syslog-ng/doc/syslog-ng.rc.d file into the
/etc/rc.d directory and set its properties to
755.
cp /opt/syslog-ng/doc/syslog-ng.rc.d /etc/rc.d chmod 755 /etc/rc.d/syslog-ng.rc.d
Stop syslogd. Issue the following command:
/etc/rc.d/syslogd stop
Edit the /etc/rc.conf file with a text editor (e.g., vi)
and add the following lines:
syslogd_enable="NO" syslogng_enable="YES"
Start syslog-ng.
/etc/rc.d/syslog-ng start
© 2007 BalaBit IT Security
Please send your comments or documentation bugs to: documentation@balabit.com