If you have Shimano components, they have installation and adjustment instructions for all their components on their website.

And Sheldon Brown's site, although much of it is dated. RIP.