Great pitching, solid defense and just enough offense.

That was the recipe for success Friday night for the Milwaukee Brewers, who returned from the all-star break in satisfying fashion by shutting out the Miami Marlins, 2-0, at Miller Park.

Starter Kyle Lohse pitched six strong innings and three relievers kept the shutout intact the rest of the way as the Brewers rode solo home runs from Juan Francisco and Carlos Gomez to a victory over the only team with a worse record in the National League entering the second half.

"I'm not worried about getting back to .500 or where we're going to end up — I want to play good baseball. We played good baseball tonight," said Brewers manager Ron Roenicke, whose team won despite being out-hit, 6-5.

"We pitched well, got a couple big hits and defensively I thought we did a nice job. Whether we get back to .500 or not, we've got to play really good baseball, no doubt about it. I think when we get everybody back healthy, we're capable of doing it."

The Brewers had runners on base every inning early against Jacob Turner, but had to settle for a 1-0 lead heading into the fifth after Francisco's shot that led off the bottom of the fourth.

In 34 games since being traded to the Brewers, Francisco has put together a respectable .265 average with seven homers and 16 RBI.

"With the power he's shown, with, I think, a little more discipline lately, that's he's going to get a big opportunity," Roenicke said. "We'll play him a lot there until he shows us he can't do that job."

Gomez left two on in both the first and third innings with two outs, leaving him 2 for his last 37 over 10 games sandwiched around the all-star break at that point.

Not unaccustomed to pitching with a slim lead, Lohse did his best to make that one run stand up by allowing just four base runners over the first five innings, with all of them reaching on singles.

The Marlins didn't get any of them past second, however, and Lohse got another run in the bottom of the fifth when Gomez snapped out of his funk by squeaking a homer just inside the foul pole down the left-field line on an 0-2 curveball to make it 2-0.

"He had a couple situations with people on base that we needed a hit from him," Roenicke said. "(The homer) is big. Anytime you have failure when you can pick your team up and then you come through later with a big hit, it definitely helps."

Lohse lasted one more inning, working around a runner on second with two outs by getting Marcell Ozuna to fly out to center.