iMac beeps 3 times repeatedly when trying to boot up from a Mac OS X install DVD

3 tones indicate a RAM failure, my recommendation is to remove all the RAM sticks and verify one by one; to identify which one is damaged.

If you need more information check this useful link: About Mac startup tones