Skip to main content

Recently Updated Pages

Setup postgresql

Fubomatic

CREATE DATABASE myprojectdb;CREATE USER myprojectuser WITH PASSWORD 'strongpassword';ALTER ROLE m...

Updated 2 months ago by v3d

Upgrade python packages using pip

Fubomatic

0) install jq 1) backup current versions 2) Update  pip list --outdated --format=json | jq -...

Updated 2 months ago by v3d

Compress dir full of PDFs

PDFs

for i in *.pdf; do gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -...

Updated 2 months ago by v3d

Setup bridge

servLAB Proxmox

/etc/network/interfaces auto lo iface lo inet loopback iface lo inet6 loopback auto $PHYS...

Updated 3 months ago by v3d

Creating an account

servLAB Oracle

https://signup.oraclecloud.com/ use a private Chrome or Edge tab (signup is messy, Firefox is ...

Updated 3 months ago by v3d

Wipe data from SSD/HDD

fixlab

Step 1: Identify the Drive TypeRun:lsblk -d -o name,rotaROTA 1 → HDD (spinning disk)ROTA 0 → SSD-...

Updated 4 months ago by v3d

Enable dropbear on boot to decrypt full disk encryption

servLAB General tips

install dropbear-initramfs put public rsa key in /etc/dropbear/initramfs/authorized_keys, prep...

Updated 4 months ago by v3d

Software

XR

Blender A free and open-source 3D computer graphics software tool set. Blender constantly change...

Updated 4 months ago by v3d

Generate keys and disable password login

servLAB General tips

On client  ssh-keygen -t rsa -b 4096 -f ~/.ssh/share_key

Updated 5 months ago by v3d

Tailscale

servLAB Docker

docker-compose.yml services:   tailscale-$SOMETHING:     image: tailscale/tailscale:latest   ...

Updated 5 months ago by v3d

Mounting a directory over the newtork as a chrooted user

servLAB General tips

Create a new system user that will be restricted to SSHFS mounting. sudo adduser sshfsuser --she...

Updated 5 months ago by v3d

macvlan

servLAB Docker

Create a macvlan network set to the adequate adapter (in our case br0) docker network create -d ...

Updated 6 months ago by v3d

Host network setup

servLAB Docker

To use the host with anything other then docker (like libvrtd, vmware or similar) the networks ne...

Updated 6 months ago by v3d

Setting up public IP

servLAB Oracle

Setting up public IP after provisioning the instance select the created instance on the bott...

Updated 6 months ago by v3d

Provisioning an instance

servLAB Oracle

Like every browser control panel in the world this one is awful so good luck!Find and select "ins...

Updated 6 months ago by v3d

CloneZilla

servLAB

- Restore partition table (sda-pt.sf is in backup dir) sudo sfdisk /dev/sda < sda-pt.sf

Updated 6 months ago by v3d

Add to Proxmox after installation

servLAB Proxmox

add repos https://pve.proxmox.com/wiki/Package_Repositories add ubuntu server iso under local ...

Updated 6 months ago by v3d

transcoding

scripting

#copy all audio into h264 mp4 video with static image (useful for playing back audio with video p...

Updated 10 months ago by v3d

Change paths

Fubomatic

from django.db.models import F, Valuefrom django.db.models.functions import Replacefrom your_app....

Updated 10 months ago by v3d

WireGuard and lsyncd to sync a directory.

Fubomatic

install wireguard apt install wireguard / pacman install wireguard-toolsgenerate keypairswg genk...

Updated 11 months ago by v3d