servLAB
Proxmox
Add to Proxmox after installation
add repos https://pve.proxmox.com/wiki/Package_Repositories add ubuntu server iso under local ...
Setup bridge
/etc/network/interfaces auto lo iface lo inet loopback iface lo inet6 loopback auto $PHYS...
Setup DHCP for guests on proxmox host
apt install dnsmasq/etc/dnsmasq.d/vmbr0.conf interface=vmbr0 dhcp-range=10.10.10.50,10.10.10.20...
Proxmox via tailscale only
/etc/default/pveproxy LISTEN_IP="$TailscaleIP"
Docker
Tailscale
docker-compose.yml services: tailscale-$SOMETHING: image: tailscale/tailscale:latest ...
Host network setup
To use the host with anything other then docker (like libvrtd, vmware or similar) the networks ne...
macvlan
Create a macvlan network set to the adequate adapter (in our case br0) docker network create -d ...
CloneZilla
- Restore partition table (sda-pt.sf is in backup dir) sudo sfdisk /dev/sda < sda-pt.sf
Oracle
Oracle free / pay as you go tier.
Creating an account
https://signup.oraclecloud.com/ use a private Chrome or Edge tab (signup is messy, Firefox is ...
Provisioning an instance
Like every browser control panel in the world this one is awful so good luck!Find and select "ins...
Setting up public IP
Setting up public IP after provisioning the instance select the created instance on the bott...
General tips
Mounting a directory over the newtork as a chrooted user
Create a new system user that will be restricted to SSHFS mounting. sudo adduser sshfsuser --she...
Generate keys and disable password login
On client ssh-keygen -t rsa -b 4096 -f ~/.ssh/share_key On server adduser $USER Copy key to ...
Enable dropbear on boot to decrypt full disk encryption
install dropbear-initramfs put public rsa key in /etc/dropbear/initramfs/authorized_keys, prep...
.htaccess for HTTP redirect to HTTPS
# .htaccess in your webrootRewriteEngine On # If not already HTTPS…RewriteCond %{HTTPS} !=on # ...
Passwordless sudo
# visudo ALL=(ALL) NOPASSWD:ALL