This shell script helps you to setup your new linux server with basic update and installation functions like yum and vim. Basicly what shell does;
- Updating Yum
- Installing Vim
- Reading SHH Key file in given location (upload must be needed)
- Disabling Root Password SSH login
- Sending mail - in given mail address- every time when user logged in
- Restarting SSH Service
- Installing Fail2Ban ( more info : http://www.fail2ban.org/)
- Setting Fail2Ban for first boot
- Creating a config file for Fail2Ban (Bantime for 1 day)
- Restarting Fail2Ban service
#Usage
Run shell script in command line and script lets you to go through step by step.