2026年8月5日星期三

Install Timescale and Postgresql for Ubuntu 26.04

 1. sudo apt update


2. sudo apt install -y postgresql-18 postgresql-client-18 postgresql-18-timescaledb


3. sudo nano /etc/postgresql/18/main/postgresql.conf

add a new line: 

shared_preload_libraries = 'timescaledb'


4. restart postgresql: sudo systemctl restart postgresql

沒有留言: