Last active
March 22, 2023 22:03
-
-
Save naskya/0c4d9cadbb8fa7f1eb1c62a55aa436d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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