- Tripod. A tripod is a necessity. You will have exposure times around 2 sec, so you won't be able to hold your camera still for hat long.
- Cable Release. While not absolutely essential, it is preferable to have a remote way of tripping the shutter. The motion of pressing the shutter can move the camera slightly. If you don't have one, that's okay. Just be careful to gently trip the shutter.
- Manual Mode. I'd recommend shooting in manual mode. Set your camera's ISO to 100 (or 200 if that's lowest on your camera) and your aperture somewhere between f/8 and f/16. Proper exposure will depend on lots of factors, so make sure to take a few pictures and check your preview/histogram to make adjustments.
- Shutter Speed. You can set your shutter speed one of two ways. You can try setting it to 2 sec. and then adjust if that's too long or two short. Or, if you have a cable release and a camera that supports the feature, you can try setting your shutter speed to "bulb" (B). Press and hold the shutter on the shutter release at the beginning of the blast you want to focus and let go at the end. Count how long your shutter is open--don't go too long our you'll over expose the fireworks.
- Compose Wider. Since you don't know know what fireworks are going to do ahead of time, it's best to compose using a somewhat wider angle, and then crop in your computer, especially if you want to catch the whole "explosion" in the frame.
- Take Lots of Pictures. Since fireworks are somewhat unpredictable, and some are brighter than others, shoot many pictures and delete the ones that didn't turn out.