全部 新建

user:thomas 由使用者建立的 Gists

title:mygist Gists 的標題

filename:myfile.txt Gists 的檔案名稱

extension:yml Gists 的副檔名

language:go Gists 的程式語言

topic:homelab gists with given topic

登錄


全部 新建 登錄

所有 Gists

倒序排序 創建
順序排序 創建
倒序排序 更新
順序排序 更新
javif89's Avatar

javif89 / New postgres DB and user

0 喜歡
0 分支
1 檔案
最後活躍 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 喜歡
0 分支
1 檔案
最後活躍 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 \
上一頁 下一頁

由 Opengist 提供支持 ⋅ Load: 29ms⋅

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