TimescaleDB安装部署

安装cmake

解压压缩包

tar xvf cmake-3.28.1-linux-x86_64.tar

将cmake 添加到profile中

vi ~/.bash_profile

export PATH=/home/postgres/app/cmake-3.28.1-linux-x86_64/bin:$PATH

保存,执行

source ~/.bash_profile

安装TimescaleDB

下载timescaledb安装包并解压

编译

./bootstrap

cd ./build & make

make install


​​​​配置postgresql.conf

在数据库启动时自动加载timescale lib库

vi postgresql.conf

shared_preload_libraries = 'timescaledb'

启动

pg_ctl -D /home/postgres/data/9700 restart

创建插件

create extension timescaledb ;

问题清单

rebuild PostgreSQL using --with-openssl

-- Looking for USE_OPENSSL - not found

CMake Error at CMakeLists.txt:564 (message):

PostgreSQL was built without OpenSSL support, which TimescaleDB needs for

full compatibility. Please rebuild PostgreSQL using --with-openssl or if

you want to continue without OpenSSL, re-run bootstrap with

-DUSE_OPENSSL=0

相关推荐

  1. TimescaleDB-1 安装

    2023-12-31 19:28:04       52 阅读
  2. TimescaleDB分布式集群搭建

    2023-12-31 19:28:04       32 阅读
  3. Hive 安装部署

    2023-12-31 19:28:04       33 阅读

最近更新

  1. TCP协议是安全的吗?

    2023-12-31 19:28:04       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2023-12-31 19:28:04       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2023-12-31 19:28:04       19 阅读
  4. 通过文章id递归查询所有评论(xml)

    2023-12-31 19:28:04       20 阅读

热门阅读

  1. llvm后端之指令选择源码分析

    2023-12-31 19:28:04       42 阅读
  2. element ui级连选择,lazyLoad选择地区

    2023-12-31 19:28:04       41 阅读
  3. MongoDB聚合:$replaceRoot

    2023-12-31 19:28:04       37 阅读
  4. EasyExcel简单合并单元格数据工具类

    2023-12-31 19:28:04       49 阅读
  5. couldn‘t find “libmmkv.so“ android8.1.0 Nexus 5X

    2023-12-31 19:28:04       52 阅读
  6. GTK 使用 glade 4 正确书写的方法

    2023-12-31 19:28:04       39 阅读
  7. Element Plus 的 el-table 组件合并不规律的行

    2023-12-31 19:28:04       38 阅读
  8. Arm CCA机密计算扩展

    2023-12-31 19:28:04       47 阅读
  9. 网络安全试题——附答案

    2023-12-31 19:28:04       34 阅读
  10. leetcode - 1531. String Compression II

    2023-12-31 19:28:04       30 阅读