I have thought through this extensively.
I live in the Appalachian mountains and my family owns a mid-sized piece of land (87 acres) that includes a small orchard, a small farm (we have pigs, chickens, and a few cows), and fields for hay, sorghum, potatoes, corn, and a bean patch along with a small herb and kitchen garden. Since this takes up a good chunk of the mountain (it is a small one), I would reinforce the fencing for the majority of the fields to keep out Zs. For the humans, I was thinking an electric fence powered by either a small hydroelectric dam, wind turbines, and most certainly photovoltaic cells.
I'm going to invite others to live on the commune, as I like to call it, to provide good breeding stock. If others come along and I like them, they can join.
My family consists of many, many EMTs, so we have some medical care, and I'm in the early stages of midwifery training (so that's a plus!). My family has also lived off the land for generations, so we know what's up. We also have a lot of guns, but would probably use quieter, more sustainable weapons if it was only a few Zs.
Of course, there are other things to consider. But this is the basic gist of what I've decided.