安装指南
本教程将指导你使用快速入门脚本在 Docker 中安装 API7 企业版。
安装将包括 API7 企业版组件: 数据面、控制面、控制台以及用于管理配置和监控的外部组件 PostgreSQL 和 Prometheus。
提示
本教程提供了一个包含 PostgreSQL 和 Prometheus 的容器化一体式解决方案,用于概念验证 (PoC) 测试。你无需提前准备好数据库与监控,从而简化了你的 PoC 流程。
对于生产环境部署,API7 企业版还支持 MySQL 和 OceanBase 来代替 PostgreSQL。请联系 API7 专家获取高可用性和可扩展性解决方案。
前提条件
- 安装 Docker 和 Docker Compose 。3.10.0-327 或更早版本不兼容,建议使用 3.10.0-927 或更高版本。
- 安装 cURL。
- 获取为期 30 天的免费试用许可证。
- 操作系统:Linux CentOS 7.2 或更早版本不兼容,建议使用 Linux CentOS 7.6 或更高版本。
安装 API7 企业版
curl -sL "https://run.api7.ai/api7/quickstart" | bash
你应该看到如下类似响应:
✔ Container api7-ee-postgresql
✔ Container api7-ee-prometheus
✔ Container api7-ee-api7-ee-dashboard
✔ Container api7-ee-api7-ee-dp-manager
✔ Container api7-ee-api7-ee-gateway
...
✔ API7-EE is ready!
API7-EE Listening: Dashboard(https://192.168.2.102:7443), Control Plane Address(http://192.168.2.102:7900, https://192.168.2.102:7943), Gateway(http://192.168.2.102:9080, https://192.168.2.102:9443)
API7-EE Listening: Dashboard(https://26.26.26.1:7443), Control Plane Address(http://26.26.26.1:7900, https://26.26.26.1:7943), Gateway(http://26.26.26.1:9080, https://26.26.26.1:9443)
If you want to access Dashboard with HTTP Endpoint(:7080), you can turn server.listen.disable to false in dashboard_conf/conf.yaml, then restart dashboard container