fix install script, add apcu cache size template and fix deinstallation