You can check out a DIY our own member Amanda has done.
Rear Shock replacement
Front Shock Replacement
This should be similar to the process on the e46. You would probably need to find a Spring Compressor, you can usually get one from an autoparts store as long as you leave a deposit.