Vegetable gardens take a lot of time and hard work to grow properly. Gardeners won't want their efforts destroyed by insects and animals during the growing season. There are different methods of protecting a vegetable garden. For insects, there are chemicals and other remedies available, but if you are having a problem with animals, a fence is your best bet.
Dig holes every 5 to 6 feet apart and two feet deep for the 4-by-4 posts. Do this along the edge of the garden, forming a square or rectangle. Make sure that there is a post hole in all four corners of the fence line, and that there are two posts 3 feet, 1 inch apart to create a place to hang the gate.
Place one end of the post in the hole. Pack a few inches of the dirt back in the hole, then add a few inches of crushed gravel. Repeat the layers until you reach the top of the hole. Use a broom handle to pack the material in the hole. Do this with each post.
Attach 1-by-4s horizontal to the ground between posts. Attach a board at ground level and 4 feet up from the ground to form a frame with the posts. This will be used, along with the posts, to hold the wire in place. Use 11/2 inch screws and a power drill to attach the 1-by-4s to the posts. Depending on the power strength of your drill, you might want to drill pilot holes first before attempting screw them in. Use a saw to shorten the boards if necessary.
Wrap the chicken wire around the fence. Staple the wire to the posts as you unroll it. Do not cover the two posts where the gate will be hung. Use wire snips to cut the end off when you reach a stopping point. If you want to keep out underground pests, dig a trench and set the wire lower in the ground. cover the trench back up after you have hung all the fence.
Attach the hinges to one side of the gate with a power screw driver. Hold the gate in place next to the post and have someone mark where the hinges need to be attached. Set the gate down and drill pilot holes in the post. Raise the gate back up and screw in the hinges with the power driver.
Attach the latch to the other side of the gate from the hinges. Screw a eye bolt into the post and screw the hook into the gate. Line them up so that the hook will be able to reach the center of the eye bolt, otherwise it won't be able to latch.