【ubantu22.10】安装部署timescaledbv2.13.0及postgresql v14.10

发布时间 2024-01-13 14:36:53作者: 疯子110

一、安装部署postgresql-timescaledb
apt install gnupg postgresql-common apt-transport-https lsb-release wget

二、运行postgresql存储库设置脚本
/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh

三、添加timescaledb第三方存储库

echo "deb https://packagecloud.io/timescale/timescaledb/ubuntu/ $(lsb_release -c -s) main" | sudo tee /etc/apt/sources.list.d/timescaledb.list

四、安装TimescaleDB GPG密钥
wget --quiet -O - https://packagecloud.io/timescale/timescaledb/gpgkey | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/timescaledb.gpg

五、更新您的本地存储库列表

sudo apt update

六、安装TimescaleDB

apt install timescaledb-2-postgresql-14

##备注:若要安装指定版本的timescaledb,可执行以下类似命令

apt-get install timescaledb-2-postgresql-12='2.6.0*'
————————————————
版权声明:本文为CSDN博主「闪闪亮晶晶小星星」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_50259390/article/details/135013116