CD-ROM drive installation is a fairly straightforward process.
Your first step is to make sure that all the jumpers are set correctly.

The
back of a CD-ROM drive has three sets of jumpers. The MA jumper
that designates the drive as the Master, The SL jumper designating
the drive as a Slave unit, and CS mode where the computer decides
whether the CD-ROM will be the Master or the Slave based on its
position on the cable. If at all possible, the Hard Drive should
be the Master connected to the Primary IDE controller on your
motherboard, and the CD-ROM drive should be the Master connected
to the Secondary IDE controller. If you need to connect the CD-ROM
to the same IDE controller as the Hard Drive, designate the Hard
Drive as the Master and the CD-ROM drive as the slave.
Once you have your Jumpers set you are ready to install the CD-ROM
drive into the computer case. To do this first remove the two
side panels of your computer case as well as the front face plate
of the bay you will be installing your CD-ROM drive into.
Carefully slide the CD-ROM drive into the drive bay making sure
that the disc tray is facing the front of your computer. Mount
the CD-ROM drive to the cage with small screws going from the
slot in the cage into the specially designed holes on the sides
of your CD-ROM drive.
Connect one end of the Ribbon Cable to your CD-ROM Drive and the
other end to the IDE Controller slot on your Motherboard. If the
Hard Drive and The CD-ROM drive are going to be connected to the
same IDE slot, connect one of the center connectors to the CD-ROM
drive and the end terminal reserve for the hard drive.
Next
use the audio cable to connect the CD-ROM drive to your sound
card. This will allow you to play audio CD's through your computer.
Plug
in a Power supply connector and the CD-ROM drive is fully installed.