Deer won’t eat foul-tasting or -smelling plants and will leave your yard alone. So, try planting a few holly or lilac shrubs around the perimeter of your yard. Or, if you have a garden, fill it with potent herbs and flowers like yarrow, thyme, rosemary, and lavender. With enough of these deer-deterring plants in place, the animals should avoid every plant in your garden or yard.  Deer also don't like ornamental grasses, irises, foxgloves, or yucca. Strong-smelling plants, like sage, chives, lemon balm, and bee balm, are effective at deterring deer as well. Deer also avoid plants with thorns. Roses are an exception; although they have sharp thorns, deer still love to eat them. An electrical fence tends to work well and should be enough to keep deer away from your property. Set up the fence so it's at least 4–6 feet (1.2–1.8 m) high. Once a deer receives a shock from the fence, it’ll quickly give up the idea of entering your yard. If you notice that deer are hopping over the wire, install a second electric fence 3 feet (0.91 m) inside of the first. To save money, fence off sections of your yard that contain plants you care about, rather than fencing off the perimeter of your property. Although it’s unsightly, installing a high fence is one of the most reliable methods to keep deer out. Drive 8 ft (2.4 m) high posts into the ground around the area you’d like to protect, then use zip ties to fasten chicken wire or plastic mesh around the perimeter of the poles. Angle the fence out by about 45 degrees to prevent deer from attempting to leap over it. Deer can easily jump clear over anything lower than 4 ft (1.2 m) high, and a 6 ft (1.8 m) fence risks entangling the animal and injuring it.

===
Write a summary of the previous text in Chinese:
种一些多刺、味苦、气味刺鼻的灌木和杂草。 在院子周围装上带电围栏来阻止鹿的入侵。 如果不用带电围栏，那就安装一个超过2米高的护栏。