Advanced Search
Search Results
12 total results found
LXC Container - Requirements & Basics
Requirements Install requirements for debian apt-get install lxc libvirt0 libpam-cgfs bridge-utils uidmap Basics Start Container lxc-start -n %NAME% Stop Container lxc-stop -n %NAME% Attach Container (get access to cli inside container) lxc-attach -n ...
About/Imprint
This is a simple pointless and private wiki/blog and my personal notepad. As written in headline, this wiki is only my notepad for some simple code snippets or commands, which I don’t want to search all the time at aunt google. Maybe there are some privat...
Jekyll - Install & Basics
#Install requirements with apt-get apt-get install ruby ruby-dev build-essential Do not install gems as root user Login as user and execute following commands: echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc echo 'export GEM_HOME=$HOME/gems' >> ~/.bashr...
nftables - Firewall
Basics Using nftables as the successor to iptables makes life much more convenient. So I switched to nftables at my projects. For debian (bookworm) it's necessary to enable the nftables service: systemctl enable nftables.service Default configuration file ...
Downloads
Downloads for remote support (MeshCentral Agent) https://wuideweidewelt.de/support/ Downloads for my vim configuration https://wuideweidewelt.de/vim/
Debian - Tasks for new installs
Install of common packages apt install net-tools mc git vim bind9-dnsutils ripgrep fzf VIM Configuration cd /etc/vim ; wget https://wuideweidewelt.de/vim/vim_config_updater.sh ; sh vim_config_updater.sh Setup fzf Editing file /etc/bash.bashrc # append to...
mdadm - Software Raid
Summary of commands dealing with software raid at linux machines Create an array mdadm --create /dev/md/md_name --level=<RAID-Level> --raid-devices=<amount of physical partitions at array> /dev/sdX1 /dev/sdY1 Check raid array mdadm --detail /dev/md/<LAB...
LUKS - Encryption
Summary of basic commands Create encrypted partition cryptsetup -c aes-xts-plain64 -s 512 -h sha512 luksFormat /dev/sdX2 Open encrypted partition as crypted_sdX2 cryptsetup luksOpen /dev/sdX2 crypted_sdX2 Add encryption key cryptsetup luksAddKey /dev/sdX...
Windows - DISM
1. Clean Up Component Store (Windows update files) dism.exe /online /cleanup-Image /AnalyzeComponentStore dism.exe /online /cleanup-Image /StartComponentCleanup
Caddy webserver - valid certificates for local services
Setup a debian machine or use an existing machine Install xcaddy (add xcaddy apt repository) apt install -y debian-keyring debian-archive-keyring apt-transport-https curl -1sLf 'https://dl.cloudsmith.io/public/caddy/xcaddy/gpg.key' | gpg --dearmor -o /us...
Command Line - one-liners
Generate ssh key pair cd ~ ssh-keygen -t rsa Replacement for missing ssh-copy-id on Windows type C:\Users\username\.ssh\id_rsa.pub | ssh user@192.168.0.1 "cat >> .ssh/authorized_keys"
Fail2Ban
1. Unban IP List banned IP via iptables iptables -L -n Get configured jails fail2ban-client status Unban IP fail2ban-client set JAIL-NAME unbanip XXX.XXX.XXX.XXX 2. Configuration for caddy reverse proxy Enable access logging at caddy (custom_log) { ...