#!/bin/bash clear echo "" echo "" echo "# This script will configure your Centos 7 server and install the DropCatch SSH Shell Version" echo "# Put this script in your //root folder" echo "# Rename to stack-shell.sh (if its different)" echo "# Make it executable with chmod +x stack-web.sh" echo "# Run it with ./stack-shell.sh" echo "# For manual installation the repository is https://transcom.net/dac/" echo "" echo "" read -r -p "Are you sure? [y/N] " response if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]] then echo "" echo "" echo "hold on............" else exit 0 fi echo "" echo "" cd //root yum -y update yum -y install epel-release yum-utils yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm yum-config-manager --enable remi-php73 yum -y install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysqlnd yum -y install unzip zip wget nano nmap wget https://transcom.net/dac/ssh-9.10.2-FULL.zip unzip -o ssh-9.10.2-FULL.zip cd //etc echo 'net.ipv6.conf.all.disable_ipv6 = 1' >> sysctl.conf echo 'net.ipv6.conf.default.disable_ipv6 = 1' >> sysctl.conf sysctl -p cd //root crontab -l; (echo "0 5 * * * find /root/*.log -mtime +5 -exec rm -f {} \;") | crontab - echo "" clear echo "" echo "" echo " ------------Centos 7 Server Configuration and SSH Installation Complete------------" echo "" echo "You will now need to :" echo "" echo "• Enter the server IP into your Nominet EPP account (wait an hour minimum before active)" echo "• Use the supplied utility accountid.php for the registration account to use" echo "• Edit the config.ini file with your EPP details and other information as shown" echo "• Enter your key in the config.ini file (nano config.ini) " echo "• Enter your Account ID in the config.ini file" echo "" echo "**SDS VERSION**" echo "• run.php - 1 socket dropcatch for premium domains Non Blocking mode" echo "• start.php - Startup menu showing all options" echo "• To run type **php runnb.php** on the command line and follow the instructions" echo "" echo "**SUITE VERSION**" echo "• robin.php Bulk dropcatch from a list without limitations" echo "• start.php Startup menu showing all options" echo "" echo "• Domain.list - flat file of your domains to catch. Please remove the last domain cr / lf" echo "• Registration.list - When caught its removed from the domains.list and placed here. Do not change the name of this file" echo "• Notcaught.list - When not caught, its removed from domains.list and placed here. Do not change the name of this file" echo "" echo " To run a script type eg. php .php on the command line and follow the instructions" echo " To edit the domain.list file type nano domain.list , right click to paste anything copied" echo "" echo ""