Use the smallest screws or nails you can get away with.
How to get hook nails into roof.
Fasten the purlin with 16d common nails into each vertical rafter.
On uneven ground place squares of plywood under one foot to level the ladder base and then secure it with wire or rope tied to stakes.
This video is about all surface roofing construction.
2 cut about 2 feet off the end of a two by four using a circular saw.
By pre drilling a hole in the wall you will prevent the screw from cracking the wall as it goes in.
Lay the first purlin at the ridge of the roof down to the chalk line beginning at either corner.
Start at the bottom side of the gable and overlap the sections of drip edge a few inches as you work your way up the roof see figure a.
Fasten the top of the ladder with rope or wire tied to a secure anchoring point such as a 20d nail driven into a rafter.
Use a tin snips to cut the drip edge to size.
Snap a chalk line horizontally across the roof two feet down from the top.
Insert two equally spaced nails into the rafter.
Drive one 3 inch nail into.
Nail a ledger board usually a 2 by 6 or 2 by 8 inch to the old roof temporarily.
The rafters are generally spaced every 16 inches on center.
Remove siding from the house where the new roof will attach to expose rafters or other framing of the old roof.
Remove the shingle cap.
The ladder should be long enough to extend 3 feet but not more than 5 feet above the roof s edge.
Use a utility knife with a hook blade to cut the shingles back 3 inches or as recommended by the vent manufacturer from the ridge.
Long enough to hold the item in place but hopefully not so long that they will damage anything behind the wall.
That will keep it from sliding sideways as you step onto the roof.