Monday, April 28, 2014

Installing Bastille linux for hardening your OS on base AMI

Bastille linux (http://bastille-linux.sourceforge.net/) is a nice package that hardens your system through a set of questions and configuration scripts. It has dependency on "perl-Tk" package as well as "perl-Curses". You can install the dependencies through package manager if available, else you can use rpm tarball approach. For e.g., for RHEL 6.5, you can do the below:-


  1. $sudo rpm -Uvh http://pkgs.repoforge.org/perl-Tk/perl-Tk-804.028-2.el6.rf.x86_64.rpm
  2. $sudo rpm -Uvh http://pkgs.repoforge.org/perl-Curses/perl-Curses-1.28-1.el6.rf.x86_64.rpm
Once you have installed the above packages, you can install Bastille linux as below:-


  • $wget http://sourceforge.net/projects/bastille-linux/files/bastille-linux/3.0.9/Bastille-3.0.9.tar.bz2
  • $tar -xjvf Bastille.tar.bz2
  • $cd Bastille && ./Install.sh
To run Bastille linux in console mode, you can run "$bastille -c"

No comments:

Post a Comment