apm配置