Ubuntu安装APM Server
1、下载 APM Server https://www.elastic.co/downloads/apm tar -xzvf apm-server-6.3.2-darwin-x86_64.tar.gz cd apm-server-6.3.2-darwin-x86_64/ 2、修改监听端口 默认9200 如果你是默认9200 则不用改 hosts: ["localhost:9201"] 2、导入 dashboards ./apm-server setup 3、修改配置 如果您使用的是X-Pack安全版Elastic Stack,则必须在apm-server.yml配置文件中指定凭据。如果没有则不用 output.elasticsearch: hosts: ["<es_url>"] username: <username> password: <password> 4、运行 启动 ./apm-server -e