Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.36 KB

File metadata and controls

51 lines (32 loc) · 1.36 KB
  1. Update your local repository list

    sudo apt update
  2. Install TimescaleDB

    sudo apt install timescaledb-2-postgresql-17 postgresql-client-17

    To install a specific $TIMESCALE_DB release, set the version. For example:

    sudo apt-get install timescaledb-2-postgresql-14='2.6.0*' timescaledb-2-loader-postgresql-14='2.6.0*'

    Older versions of $TIMESCALE_DB may not support all the OS versions listed on this page.

  3. Tune your $PG instance for TimescaleDB

    sudo timescaledb-tune

    By default, this script is included with the timescaledb-tools package when you install TimescaleDB. Use the prompts to tune your development or production environment. For more information on manual configuration, see Configuration. If you have an issue, run sudo apt install timescaledb-tools.

  4. Restart $PG

    sudo systemctl restart postgresql
  5. Log in to $PG as postgres

    sudo -u postgres psql

    You are in the psql shell.

  6. Set the password for postgres

    \password postgres

    When you have set the password, type \q to exit psql.