Measure the distance the fence will run. Lay the end, in-line and corner posts at eight or 11 feet apart, depending on the pre-cut length of the rails. During the layout process, minimize the number of rail sections to be shortened by placing shortened ends on each end of the fencing run, or by changing the width of any in-line gates (if applicable).
Drive a stake at each end of the fence and tie a tight string to the stakes. This will provide a straight line along which to install the posts.
Dry-fit the fence pieces as they lay on the ground, ensuring your layout is correct. Dig the first post holes with the post hole digger, to 30- to 34-inches deep by 10- to 12-inches wide. Dig a six-foot post's hole to 30 inches; the seven-foot post's to 34 inches. Back fill the hole with six inches of gravel to provide proper drainage.
Install the end posts first, filling dirt in around the base, to fill the hole. Hang a post level from the top of the post to ensure the post is plumb. Compact the dirt around the post, with a tamper, once the post is plumb. Slip the rails into the first installed post, as well as the next post. Fill and compact the dirt around the second post, using the post level to ensure the post is plumb. Repeat this procedure on each subsequent section, ensuring each post is plumb and perfectly in line with the guide string.