Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

Iniciar sesión


Todos Nuevo Iniciar sesión

Todos los gists

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
javif89's Avatar

javif89 / New postgres DB and user

0 gustos
0 bifurcaciones
1 archivos
Última actividad 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 gustos
0 bifurcaciones
1 archivos
Última actividad 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 \
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 93ms⋅

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