http://scriptmantra.info/2008/06/yum...lation-script/

this simple and easy auto installer