Skip to content

Instantly share code, notes, and snippets.

@naskya
Last active March 22, 2023 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naskya/0c4d9cadbb8fa7f1eb1c62a55aa436d0 to your computer and use it in GitHub Desktop.
Save naskya/0c4d9cadbb8fa7f1eb1c62a55aa436d0 to your computer and use it in GitHub Desktop.
sudo apt install -y curl git build-essential
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt install -y nodejs
sudo corepack enable
sudo apt install -y postgresql-common
sudo sh /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -i -v 15;
sudo apt install -y curl ca-certificates gnupg2 lsb-release
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
sudo apt update
sudo apt install -y redis
# sudo -u postgres psql
# CREATE ROLE example-calckey-user LOGIN CREATEDB PASSWORD 'example-calckey-pass';
# CREATE DATABASE calckey OWNER example-calckey-user;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment