I'm not sure what you mean exactly by "constantly expanding his pawns on alternating ranks"
Two things to know though.
Every pawn move, even good ones, permanently weaken the squares they leave behind. If your opponent advances his pawns too far like this, it will leave behind a lot of territory and after a file is opened by exchanging pawns your infiltration will really hurt him.
The 2nd thing is, if pawns are set up like this
Then the dark squares are very weak. Now cut this position in half and look at the white and black side separately. What white has done is not as bad as black. White is still able to have the base of his pawn chain (the weak point) on his 2nd rank which is close to home and usually easily defended. White can still move some pawns to dark squares to help himself out.
In black's case not only has he left a lot of territory behind (weakened squares) but his dark squares are like swiss cheese. in a real game white would not mirror this, but would facilitate some pawn trades and black would be weaker due to his loose pawns and weakened squares.
So there's no special killer set of moves. It's still chess... pay attention to the threats your opponent's last move did and all that. And as you open lines and begin to attack, you'll just automatically have a better position.
As any side, if my opponent sets up a closed pawn structure constantly expanding his pawns alternating on ranks 4 3 4 3 4 3 or 7 6 7 6 7 6, what should I do with my pawns, minor pieces and major pieces... If I try to expand on my own pawns trying to hurt his position I would end up opening the king side which is usually the most often castling side. I'm very clueless on what to do and even if my opponent is opening up his king I can't seem to exploit it due to his pawns in the closed position. Thanks in advance.