You cannot install a standard PC DVD-ROM drive in a PlayStation 2.
The PS2 uses a proprietary DVD-ROM drive with unique dimensions, connections, and firmware. A standard drive is physically and electrically incompatible, and the PS2's OS and game discs are designed exclusively for the original drive.
You must use the original drive or a replacement specifically designed for the PS2, available from electronics retailers or online.