Read about any variation of 5x5 (strong lifts, bill starr, etcetera) and 5/3/1 by Jim Wendler. Choose one of those, doesn't matter which one. Start training in accordance to how they are written.
Eat 3-4 meals every day consisting of whole foods-- in which their contents will be meat, vegetables and fruit, and a carb source such as rice, oatmeal, quinoa, potatoes. Eat as much in whole food form as possible. Majority of people aren't getting fat on meat, vegetables and rice... it is all of the other bullshit in their diet.
Try to get 8 hours of quality rest every night and drink plenty of water ever day.
Good books to read are Starting Strength by Mark Rippetoe and 5/3/1 by Jim Wendler. Invest in these books and they will serve you well.
Believe it or not, this will get you to your goals and way beyond. Best of luck.