Techiio-author
Started by Vartika OberoiApr 16, 2022

Closed
How can I install syslog-ng on CentOS Stream 9?

7 VIEWES 1 LIKES 0 DISLIKES SHARE
1 LIKES 0 DISLIKES 7 VIEWES SHARE

I want to install syslog-ng on my CentOS Stream 9, can anyone please help me to installing this on my workspace:(

2 Replies

Techiio-commentatorAmit Trivedi replied a month ago2 likes0 dislikes

First you will be need CentOS Stream 9 installed on an x86_64 host

As EPEL is still practically empty, you do not have to enable that to install syslog-ng. Just enable my repo and install the packages you need. Sub-packages automatically install the base syslog-ng package. For example the following commands install syslog-ng together with its http() destination:

cd /etc/yum.repos.d/ 
wget https://copr.fedorainfracloud.org/coprs/czanik/syslog-ng-centos9-experiment/repo/centos-stream-9/czanik-syslog-ng-centos9-experiment-centos-stream-9.repo
dnf install syslog-ng-http

There is one little problem: log rotation. If you want proper log rotation, remove the rsyslog package which conflicts with the syslog-ng-logrotate package and then install the sub-package for log rotation:

dnf erase rsyslog
dnf install syslog-ng-logrotate

I think this will be help you:)

Techiio-commentatorVartika Oberoi replied a month ago0 likes0 dislikes

Hey thanks #Amit for your suggestion is it been now installed..

This thread is closed by Vartika Oberoi
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance