Anúncios

When migrating from 4.2 to Zentyal 5.0 or installing Zentyal 5.0 you’ll see that IDS/IPS module is not present.

If you need or like to use Zentyal’s IDS/IPS module, I’m sharing a deb package that I build. If you want to check the source code, here is my pull request: https://github.com/zentyal/zentyal/pull/1809

Installing Zentyal IDS/IPS module

First download the debian package:

curl https://www.saibatudomt.com.br/wp-content/uploads/2017/packages/zentyal-ips_5.0_all.deb -o zentyal-ips_5.0_all.deb

Now install the package:

sudo dpkg -i zentyal-ips_5.0_all.deb

It will probably have extra dependencies requiring additional software to be installed, you can just run sudo apt-get -f install to install those dependencies:

sudo apt install -f -y

If you get the error bellow:

Error loading class: EBox::IPS error: Can’t locate TryCatch/Lite.pm in @INC (you may need to install the TryCatch::Lite module) (@INC contains: /etc/perl /usr/local/lib/x86_64--gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/EBox/IPS.pm line 28.
BEGIN failed–compilation aborted at /usr/share/perl5/EBox/IPS.pm line 28.
Compilation failed in require at (eval 781) line 2.
BEGIN failed–compilation aborted at (eval 781) line 2.

You’ll need  TryCatch/Lite.pm file. Run this in Your terminal:

sudo curl https://www.saibatudomt.com.br/wp-content/uploads/2017/packages/Lite.pm --create-dirs -o /usr/share/perl5/TryCatch/Lite.pm

and this:

sudo chmod -R 755 /usr/share/perl5/TryCatch

You should be able to see and enable IDS/IPS module from the Zentyal web interface now.

To learn more, you can check: Building and maintaining a contrib Zentyal module

You can download the debian package to offline usage: Download zentyal-ips_5.0_all.deb

Caso tenha alguma dúvida ou sugestão, deixe um comentário no nosso https://www.facebook.com/saibatudomt


Ao reproduzir esse conteúdo cite o autor como Eduardo Gonçalves com o link para essa página. Obrigado.