Home > Uncategorized > nxlog centos 5

nxlog centos 5

August 2nd, 2017 Leave a comment Go to comments

How to install nxlog on centos 5

I tried creating the RPM file although it didnt work I was able to install it
this way

pre-reqs:
yum install pcre-devel.x86_64 expat-devel.x86_64 libtool.x86_64 libcap-devel.x86_64 libdbi-devel.x86_64 pcre-devel.x86_64
yum install gcc
wget http://search.cpan.org/CPAN/authors/id/D/DO/DOUGM/ExtUtils-Embed-1.14.tar.gz
tar -zxvf ExtUtils-Embed-1.14.tar.gz
perl Makefile
make
make install

nxlog
wget https://nxlog.co/system/files/products/files/348/nxlog-ce-2.8.1248.tar.gz
tar -zxvf nxlog-ce-2.8.1248.tar.gz
cd nxlog-ce-2.8.1248/packaging/redhat/
vi nxlog.spec
(REMOVE THE: perl-ExtUtils-Embed )

bash make_rpm.sh
cd /tmp/nxlog/nxlog-ce-2.8.1248/packaging/redhat/rpmbuild/BUILD/nxlog-ce-2.8.1248
make
make install

which nxlog
/usr/bin/nxlog -h
nxlog-ce-2.8.1248

Categories: Uncategorized Tags: ,
  1. No comments yet.

VAMOVE *

*