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

Debian: How to access VNC remote desktop in web browser

noVNC
1) Install vncserver

apt-get install vnc4server

2) Set password using vncpasswd
3) Launch vncserver

vncserver :1

3) Install Git

apt-get install git

4) Get noVNC

git clone git://github.com/kanaka/noVNC

5) Launch noVNC

cd noVNC
./utils/launch.sh --vnc <ipaddress>:<VNC port>

In my case

./utils/launch.sh --vnc 10.10.9.18:5901

6) At this point, you can open up a web browser, and navigate to the URL shown in the output of the last command (e.g., http://10.10.9.18:6080/vnc.html?host=10.10.9.18&port=6080).