How to turn off all power to the electric panel?
You need to call your utility company and have them come and disconnect the meter. 

To re-install it, they will likely require the new panel has passed inspection, so be sure to check and coordinate that as well.