Check out Prerequisites to see what are the hardware and software requirements for HgLab and then follow along the Installation Instructions.
See Upgrading Instructions.