Changed install sequence: keep apache commands together