ArchLinux packages are built by the community.
-
Install the latest $PG and $TIMESCALE_DB packages
sudo pacman -Syu timescaledb timescaledb-tune postgresql-libs
-
Initalize your $PG instance
sudo -u postgres initdb --locale=en_US.UTF-8 --encoding=UTF8 -D /var/lib/postgres/data --data-checksums
-
Tune your $PG instance for TimescaleDB
sudo timescaledb-tune
This script is included with the
timescaledb-toolspackage when you install TimescaleDB. For more information, see configuration. -
Enable and start $PG
sudo systemctl enable postgresql.service sudo systemctl start postgresql.service -
Log in to $PG as
postgressudo -u postgres psql
You are in the psql shell.
-
Set the password for
postgres\password postgresWhen you have set the password, type
\qto exit psql.