javif89 / New postgres DB and user
0 j'aimes
0 forks
1 fichiers
Dernière activité
This can be used when you have an app that needs postgres and you want to quickly make a new db for it with a user
1 | CREATE DATABASE nocodb; |
2 | create user nocodb with password ''; |
3 | grant all privileges on schema public to nocodb |
javif89 / Install docker on ubuntu server
0 j'aimes
0 forks
1 fichiers
Dernière activité
1 | # Add Docker's official GPG key: |
2 | sudo apt-get update |
3 | sudo apt-get install ca-certificates curl -y |
4 | sudo install -y -m 0755 -d /etc/apt/keyrings |
5 | sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc |
6 | sudo chmod a+r /etc/apt/keyrings/docker.asc |
7 | |
8 | # Add the repository to Apt sources: |
9 | echo \ |
10 | "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ |
Plus récent
Plus ancien