Linux

Highlighted

Posts

PiHole Setup

docker compose

version: "3"

# More info at https://github.com/pi-hole/docker-pi-hole/ and …

RDP to another computer

Derived from here

sudo apt update
sudo apt install -y xrdp
sudo systemctl enable --now xrdp
sudo ufw …

Rsync Quickref

quick recipes

Local

rsync -haviP --inplace --delete-before --no-compress /storage/nas/photos …

Setting up OptiTrack

Install

sudo apt install -y ros-melodic-mocap-optitrack …

Setup Samba from Bash

Make your folder

mkdir ~/happy
chmod 0700 ~/happy

Set up samba

sudo apt install -y samba
sudo nano …

Shell Script Examples

How to find the directory of the script

Start Virtualbox as a Service in Linux

sudo apt reinstall virtualbox-dkms virtualbox-ext-pack virtualbox-qt virtualbox
sudo nano …

Start VirtualBox VM as a Service

Steps

Ensure you are a member of vboxusers group

sudo usermod -a -G vboxusers $USER

Create a script …