Install syslog-ng to replace rsyslog in CentOS

The EPEL project (Extra Packages for Enterprise Linux) provides Red Hat Enterprise Linux and derivatives with additional high quality packages. Syslog-ng was available for EPEL5 for a long time and is now also added to EPEL6, which provides packages for RHEL6. CentOS is gaining a strong presence in web serving, as almost one third of web servers are now running on this OS:http://blogs.computerworld.com/16596/the_most_popular_web_server_linux_is CentOS 6 should be released any day now. Scientific Linux ( http://www.scientificlinux.org/ ) is developed at CERN and used world wide by the research and higher education community. Version 6 of SL is already available.

EPEL6 has syslog-ng version 3.1, which is not the latest, but has support for most of the patterndb ( http://www.balabit.com/network-security/syslog-ng/opensource-logging-system/features/pattern_db ) features, except for correlation. It also lacks built-in secure transport (SSL) and database (libdbi) support.

Installing syslog-ng from EPEL is easy (thanks to JPO for the instructions and the package):

  • add the EPEL repository using information atHTTP://FEDORAPROJECT.ORG/WIKI/EPEL
  • yum install --enablerepo=epel syslog-ng
  • chkconfig rsyslog off; chkconfig syslog-ng on
  • service rsyslog stop; service syslog-ng start

Done. You now can see that there is no heavy rsyslog process in your CentOS server any more 🙂

Similar Posts

  • OwnCloud with NginX and PostgreSQL

    This quick tutorial will help you run the OwnCloud with NginX and PostgreSQL on Ubuntu 14.04. Add the necessary repo to /etc/apt/sources.list: [bash]# nginx stable deb http://nginx.org/packages/ubuntu/ trusty nginx deb-src http://nginx.org/packages/ubuntu/ trusty nginx # nginx mainline deb http://nginx.org/packages/mainline/ubuntu/ trusty nginx deb-src http://nginx.org/packages/mainline/ubuntu/ trusty nginx[/bash] Update system: [bash]apt-get update apt-get dist-upgrade[/bash] Install nginx: [bash]apt-get install nginx[/bash] Install dependencies for…

  • |

    Install new CentOS server with VirtualMin Nginx And PHP (PHP-FPM)

    Virtualmin is a powerful and flexible web hosting control panel for Linux and UNIX systems based on the well-known Open Source web-based systems management GUI, Webmin. Popular web server associating with PHP-based application is Apache, but Nginx is also a good replacement for high-traffic websites. This article discusses about how to install a new server with VirtualMin…

  • Backup Proxmox with NFS

    Well, there are plenties of online tutorials about proxmox and backup itself, however, there is really difficult to find a working one with NFS installation, configuration and make it work with Proxmox. So I decide to add a short tutorial on how to backup proxmox with nfs. Install NFS on remote storage server In this case,…

  • Install Apache Solr on CentOS 6

    Solr is the popular, blazing fast open source enterprise search platform from the Apache LuceneTM project. Its major features include powerful full-text search, hit highlighting, faceted search, near real-time indexing, dynamic clustering, database integration, rich document (e.g., Word, PDF) handling, and geospatial search. Solr is highly reliable, scalable and fault tolerant, providing distributed indexing, replication…

  • GitLab docker on Ubuntu

    Today I decided to move my self-hosted gitlab instance to Docker so that I will not need to reinstall and configure lots of things when migrating from one host to another host. So I blog this entry to note steps to install gitlab docker on Ubuntu. Install Docker CE (or Docker Compose if you want)…

  • |

    Setting up Nginx, HHVM, and Percona for Laravel

    HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the development flexibility that PHP provides. This tutorial guides how to set up Nginx, HHVM, and Percona for Laravel Projects on Ubuntu. First, we need to update system and install essentials (and remove…

Leave a Reply

Your email address will not be published. Required fields are marked *