Do you need something to help you study for the RHCE
exam? Trouble-Maker is going to help you break stuff!
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum install perl-Archive-Tar perl-YAML
cd /tmp
wget http://sourceforge.net/projects/trouble-maker/files/trouble-maker/0.07/trouble-maker-0.07.tgz/download
cd /
tar -zxvf /tmp/trouble-maker-0.07.tgz
/usr/local/trouble-maker/bin/trouble-maker.pl --version=RHEL_5
Fedora_13 HowTo:yum install perl-Archive-Tar perl-YAML
cd /tmp
wget http://sourceforge.net/projects/trouble-maker/files/trouble-maker/0.07/trouble-maker-0.07.tgz/download
cd /
tar -zxvf /tmp/trouble-maker-0.07.tgz
/usr/local/trouble-maker/bin/trouble-maker.pl --version=Fedora_13
The default mode for trouble-maker is easy to use. Simply run
trouble-maker with the version flag. For example, on RedHat Enterprise
Linux 5, run
/usr/local/trouble-maker/bin/trouble-maker.pl --version=RHEL_5
This will randomly select a trouble from the
kitbag
and apply it to your system. The following versions exist:
Once the system has run, it will display a message on the console as if
the user were reporting the problem. At this point, you should reboot
your system and attempt to solve the problem. If you get stuck, the
/tmp/trouble-maker directory exists to help you out. The following
files are used:
After running trouble-maker and solving the problem, be sure to remove
/tmp/trouble-maker/ so that you may re-run trouble-maker later. This
prevents trouble-maker from accidentally overwriting key backup files
from an earlier problem. The burden is on the user to verify that a
problem is actually solved before re-running trouble-maker.
The --selection switch allows you to select troubles in different ways. If it is not specified, or specified as random, it will randomly select a trouble module. conversely, you may specify a file name as the argument. If the file name matches a file in /usr/local/trouble-maker/kitbag, it will load that module. If the file name matches that of a YAML configuration file, it will take those arguments as an ordered list of problems to apply. As each problem is applied, it will be marked as inactive. This behavior can be used in training scenarios.
The --backupdir switch can be used to change the location of the backup directory. If it is not specified, it defaults to /tmp/trouble-maker/backup.
The --rescuedir switch can be used to change the location of the rescue directory. If it is not specified, it defaults to /tmp/trouble-maker/rescue.
The --kitbag switch can be used to change the location of the kitbag. If it is not specified, it defaults to /usr/local/trouble-maker/kitbag.