Please read doc/INSTALL for (database) installation information, and doc/UPGRADE for upgrade information.