Installing and configuring BLAST in Linux

Whenever I'm setting up new virtual machines to work on them, it is usually a problem when I try to run blast and I have to point out where the database is located. This post shows how to set up a configuration file for blast so you don't have to type the full path to the database