A 30km long distance distributed optical fiber Raman temperature sensor (DOFRTS) system has been made, it use new measuring temperature principle of optical fiber amplified anti-Stokes Raman spontaneous scattering. In the system, 1550nm erbium-doped optical fiber laser, a highness speed data acquisition card and signal processing technique are used. By using these technique, the problem of weak signal detection is resolved and signal to noise ratio is increased. All components of system are put into an intellectualized constant temperature box and work in constant temperature condition. Stability and environment adaptability are improved. By appraisal, performance of the system is listed as follows: length of single mode fiber: 31km, temperature rang:0-100°C (can be expanded), temperature measuring uncertainty:±2°C, temperature resolution:0.1°C, measurement time:432s, spatial resolution :3m.