Add key The fingerprint (DC30D7C23CBBABEE) given is the one that the first command outputs, which is the fingerprint of the key downloaded by curl. 2. Add repo run apt update/upgrade Install tor, I did this by:
Debian for Raspberry Pi
Just some info, because the last time when I flashed an SD card I took #Raspbian only because I could not find the #Debian images as quick. Infos about Debian for #Pi are here:https://wiki.debian.org/RaspberryPi Images:https://raspi.debian.net/tested-images/ Some tips for settings, like #SSH on first boot (you need to add a key):https://raspi.debian.net/defaults-and-settings/
Linux swap with dphys-swapfile
This is a solution for a #RaspberryPi, some #VPS without swap of some machine setup without swap where you need swap for something without wanting to fiddle with the drive partitions or so. This is a quick and dirty “short manual” for #Debian based #Systemd environments (such as #Ubuntu, #Mint or #Raspbian). First run this: […]
Debian based full updates in one command
I have this small script deployed on any of my #Debian based systems, it just does all the update, upgrade, dist-upgrade, autoremove and autoclean in one run. I have this script deployed in a lazy manner, I just have it sitting in my users home folder and called it “up”, I did do a “chmod […]
Create Linux dm-crypt BTRFS RAID 1
To do this you need two empty drives, with the guide below all data on the drive will be lost if it is not empty! 1. Install cryptsetup 2. Create the dm-crypt (Make sure to use the correct device. To show available devices use “lsblk”.) 3. Mount the cryptsetup disk 4. Check if this was […]
How to add a swap drive to your system
How to add a swap drive to your system, in this case I did this for a virtual machine (qemu) running Arch Linux. See at the bottom for information about the virtual drive for qemu. List current available to system disks: List all disks: Format as swap: gives back the UUID Now the new swap […]
SSH config, ssh via jumphost and autossh (ssh to Tor hidden service)
This will be a short post about the above mentioned parts, lets start right away. SSH config Every user can have a SSH client configuration file, it is located in ~/.ssh/config (where config ist the filename). My SSH config file, I guess as many other users file, grew over time. Lets start with some things […]
explainshell.com
Did you know explainshell.com yet? Try it, for example with that command from last time sudo lsof -i -P -n | grep LISTEN this is an amazing web site I use often so see what commands do that I find somewhere. Try it.
disable vim visual mode
It drives me nuts that I cannot copy something from a ssh terminal when I use vim. I have no clue what this visual mode is meant to do besides anoying my. My solution: no more visual mode -> marking and copying text from vim by using the mouse works again.