Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.07 KB

File metadata and controls

52 lines (32 loc) · 1.07 KB

ArchLinux packages are built by the community.

  1. Install the latest $PG and $TIMESCALE_DB packages

    sudo pacman -Syu timescaledb timescaledb-tune postgresql-libs
  2. Initalize your $PG instance

    sudo -u postgres initdb --locale=en_US.UTF-8 --encoding=UTF8 -D /var/lib/postgres/data --data-checksums
  3. Tune your $PG instance for TimescaleDB

    sudo timescaledb-tune

    This script is included with the timescaledb-tools package when you install TimescaleDB. For more information, see configuration.

  4. Enable and start $PG

    sudo systemctl enable postgresql.service
    sudo systemctl start postgresql.service
  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.