Setting Fail2ban to track attacks in IspConfig setup

karatekidWe have an ISPConfig setup for some of our web hosting, and I noticed a lot of brute force attempts in analyzing /var/log/apache/error.log.

[Sat Jul 11 09:55:03 2015] [error] [client XX.XX.XX.XX] script '/var/www/setup.php' not found or unable to stat
.....
[Sat Jul 11 09:55:03 2015] [error] [client XX.XX.XX.XX] script '/var/www/xmlrpc.php' not found or unable to stat
.....

To solve this brute force attempts we added the following rules in fail2ban. Continue reading

How to install Docmgr 2.13 in CentOs 7

DocMgr - Rev 2.13DocMgr is a document management system (DMS), written in PHP/Postgresql: I use it a lot, because it is really simple to use and easy to configure.

I’ll start from a fresh new installation CentOs 7 Minimall Install.

– Update Centos and other stuff to begin……

yum update
yum install nano

I prefer to disable SELinux because DocMGR it is not not comfortable with it.
In /etc/selinux/config change SELINUX=enforcing to SELINUX=disabled and reboot

Reboot the server

init 6

At the reboot check status.

sestatus

The response must be like that.

SELinux status: disabled

Continue reading