本文最后更新于 952 天前,其中的信息可能已经有所发展或是发生改变。
官网下载
进入 Postgres官网 下载合适版本的 Timescale。
离线安装
- RPM安装,
rpm -ivh timescaledb_14-2.9.3-1.rhel7.x86_64.rpm - 修改Postgres配置文件
vi /var/lib/pgsql/14/data/postgresql.conf # shared_preload_libraries = 'timescaledb' - 重启Postgres,
systemctl restart postgresql-14 - 安装Timescale插件
su - postgres psql use test; create extension timescaledb;
