Archive

Archive for the ‘bash’ Category

monitor site IPS

February 23rd, 2017 No comments

I am sick and tired of my site going down, even know its once in a while it just bother me a lot.
So I spent 20m to write this script and block bad IPs even know I use modeavsive to block more then X concurrent connections from one IP my site keeps going down!

Read more…

Categories: bash, BashScripts Tags:

yum update security check script

January 12th, 2017 No comments

simple bash script to check for missing security

this is important to make sure your linux is updated
here is the script:

Read more…

Categories: bash, BashScripts, Linux, Security Tags: , , ,

centos 7 disable useless services

January 4th, 2017 No comments

This some of the tuning I do on a centos 7 install

REMOVE USLESS NETWORK INTERFACE
brctl delbr virbr0
systemctl get-default
systemctl set-default multi-user.target

Read more…

Reverse SSH Tunnel

November 14th, 2016 No comments

The idea is to have my IP autostart connect to my Cloud server,
this way I can remote control my Raspberry PI without having to configure DynDNS and firewall rules.
The only requsisite is that PI has internet and run a simple script on startup to estabilish the SSH tunnel

Read more…

check hp array disk

September 21st, 2016 No comments

check HP array disks modified script to fix Upgrade situations

Read more…

Categories: bash, HowTo, Linux Tags:

webinject auto create config

September 15th, 2016 No comments

Script to auto create webinject xml config files from a list of URL

./buildskel SKELFILE URLFILE FILEOUTPUT

Read more…

Categories: bash, HowTo, Linux Tags:

tomcat multiple instances script

May 20th, 2016 No comments

This scripts is easy to use and creates multiple tomcats on a single server.
I still find it amazing and sad that by default and by RedHat support, you can only
install a single Tomcat instance per server! This is crazy.
Imagine a 16 CPU 64GB server with a single instance.

Read more…

Categories: bash, BashScripts, HowTo, Tomcat Tags:

SSH Automatic Login

September 8th, 2011 No comments

SSH Automatic Login

Well I am tired of entering my password 100 times a day, are you too?
The solution I wrote this script using the powerful expect
download expect

Read more…