#  mkdir /usr/local/24x7/ && cd /usr/local/24x7/

#  wget http://afdownload.24x7servermanagement.com:8080/af-v1.1/autoffmpeg.v1.1.tar.gz

#  tar -zxvf autoffmpeg.v1.1.tar.gz

#  cd autoffmpeg.v1.1

#  ./install.sh

This script is compatible and tested on CentOS 6.x, 7.x and Debian 8

You are done ..!!!