Several ways you can accomplish it:
1. Download and install the startrails app from then play memories store
2. Get a cable release and just do a really long exposure
3. Do back to back to back...... 30 second exposures for as long as you need to to get the total exposure time(but make sure you have long exposure noise reduction turned off otherwise you'll have 30 second gaps in your trails.). then put them all as layers into Photoshop and select Lighten as the blending mode for all of the frames.
Plenty of tutorials online with a Google search
. Most of them relate to shooting star trails but it's exactly the same thing as light trails from a fixed position.