Advanced Search
Search Results
21 total results found
Digital World
Linux
Windows
Generally
Real Life
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) { ...
Docker @debian
Uninstall old (pre-installed) versions for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done Set up Docker's apt repository # Add Docker's official GPG key: sudo apt-get update sudo apt-get install...
LVM2
Create/add physical disk to LVM pvcreate /dev/sdb Create volume group vgcreate vg00 /dev/sdb1 /dev/sdc1 Create volume # create by given size in GB lvcreate -n data -L1G vg00 # create by given size of vg in % lvcreate -n data -l100%VG vg00 Angabe in Pr...
iSCSI
Search for iSCSI targets iscsiadm --mode discovery --portal XXX.XXX.XXX.XXX --type sendtargets Login iscsiadm -m node -T iqn.2024-11.local.... -p XXX.XXX.XXX.XXX:3260 --login Check iSCSI sessions iscsiadm -m session Logout of iSCSI session iscsiadm -m n...
Proxmox BackupServer - pbs
Create datastore at sshfs mount mount path via sshfs e.g. /mnt/backup use bindfs to ignore missing chown and chgrp for sshfs mount bindfs --chown-ignore --chgrp-ignore /mnt/backup /mnt/backup-bindfs Create datastore via pbs UI with path /mnt/backup-bi...