Alle Neu

user:thomas Gists erstellt von Nutzer

title:mygist Gists mit Titel

filename:myfile.txt Gists mit Dateinamen

extension:yml Gists mit Dateiendung

language:go Gists in Sprache

topic:homelab gists with given topic

Anmelden


Alle Neu Anmelden

Alle Gists

Neueste erstellt
Älteste erstellt
Neueste bearbeitet
Älteste bearbeitet
javif89's Avatar

javif89 / New postgres DB and user

0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv 1740724148
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
Database
1 CREATE DATABASE nocodb;
2 create user nocodb with password '';
3 grant all privileges on schema public to nocodb
javif89's Avatar

javif89 / Install docker on ubuntu server

0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv 1740700953
Docker Ubuntu Homelab
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 \
Neuer Älter

Powered by Opengist ⋅ Load: 29ms⋅

Deutsch
Čeština Deutsch English Español Français Magyar Italiano Polski Português Русский Türkçe Українська 中文 繁體中文