云数据库 RDS-远程模式部署:安装 PoWA-collector、PoWA-web

时间:2023-11-01 16:21:47

安装 PoWA-collector、PoWA-web

  1. 切换到RDS for PostgreSQL数据库安装用户下,本次演示使用的是postgres。

    su - postgres

  2. psycopg2 是 PoWA-collector、powa-web安装必不可少的依赖环境。

    pip install psycopg2

    pip install powa-collector

    pip install powa-web

安装完成后,查看路径树如下所示,表示PoWA-collector、PoWA-web均已安装完成。

/home/postgres/.local/bin├── powa-collector.py├── powa-web└── __pycache__
support.huaweicloud.com/bestpractice-rds/rds_pg_0029.html