Most people think dogs just need a little exercise, which is correct, because a dog with too much pent up energy will go crazy.
The important thing to know is that there are two types of exercise a dog needs to avoid becoming crazy.
Your dog needs physical AND mental exercise.
A combination of the two is what will help your dog live in the house with you.
Running your dog, playing tug games and fetch will physically tire your dog out.
Obedience, stuffed Kong toys, tricks, Busy Buddy balls, Buster Cubes, puzzle games, etc. will mentally tire your dog out.