Linux on blog.tinfoil-hat.net https://blog.tinfoil-hat.net/tags/linux/ Recent content in Linux on blog.tinfoil-hat.net Hugo -- gohugo.io en-us Thu, 25 Jan 2024 13:22:34 +0100 Shell Aliases https://blog.tinfoil-hat.net/posts/shell-aliases/ Thu, 25 Jan 2024 13:22:34 +0100 https://blog.tinfoil-hat.net/posts/shell-aliases/ Here are my Shell Aliases, that I use mostly on a regular basis, enjoy # Aliases ## RSS Feeds alias rss="newsboat" ## Change OpenBSDs Soundlevel alias audio-ext="sysctl hw.snd.default_unit=4" alias audio-int="sysctl hw.snd.default_unit=0" ## List files and Folders alias ll="ls -lah" ## Mount with SSH alias nasm="sudo sshfs -o uid=1000 -o gid=1000 -o allow_other root@192.168.178.200:/hdds/ /media/anon/nas " ## Torrent via CLI - no seed alias torrent="aria2c --follow-torrent=mem --seed-time=0 -j 10" ## Neofetch with Picture alias fetch="neofetch --backend w3m --source ~/Bilder/tiger. Proxmox Docker Workstation https://blog.tinfoil-hat.net/posts/proxmox-docker-workstation/ Mon, 23 Oct 2023 05:50:36 +0200 https://blog.tinfoil-hat.net/posts/proxmox-docker-workstation/ Install Linux Mint Debian Edition 6 I am assuming, that you want to use a Debian based Operating System (not Ubuntu based) and you want Proxmox, Docker and GPT4All installed on your Laptop. Here I am using Linux Mint Debian Edition 6 let’s get started: Go trough installation process Install Proxmox VE Upgrade the system and install some basic tools sudo apt update && sudo apt dist-upgrade -y sudo apt install vim git curl wget htop ssh netcat-traditional openvpn Cerate a Interface used for LXC Containers: edit /etc/network/interfaces Local Apt Mirror https://blog.tinfoil-hat.net/posts/local-apt-mirror/ Thu, 19 Oct 2023 14:47:13 +0200 https://blog.tinfoil-hat.net/posts/local-apt-mirror/ How do make a local debian apt mirror To create a local Debian APT mirror, you can follow these general steps: Set up a server: You will need a server with sufficient storage capacity and network bandwidth to host the mirror. Install the necessary packages: Start by installing the apt-mirror package, which is available in the Debian repositories. Use the following command to install it: sudo apt-get install apt-mirror Configure the mirror: Open the apt-mirror configuration file using a text editor. Nitter Ratelimiting & Guest_Accounts branch https://blog.tinfoil-hat.net/posts/nitter-ratelimiting/ Sun, 08 Oct 2023 00:01:08 +0200 https://blog.tinfoil-hat.net/posts/nitter-ratelimiting/ Mitigating Unauthorized Web Scraping Bot Traffic The current design of Nitter, along with its methodology for accessing the Twitter service, necessitates heightened vigilance on the part of instance operators to manage unwarranted access by web scraping bots. This guide is intended to provide operators with essential information to effectively mitigate unauthorized web scraping bot traffic. Prerequisites Before proceeding with the rate-limiting setup, ensure that you have: A functional Nitter installation located at /opt/nitter.