Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

70 total results found

Creating SSH-key

SSH

To generate an SSH-key, enter the following command on the "home" terminal: ssh-keygen -t rsa -b 4096 -t stands for type and this determines the type of key 2. -b stands for bits. This can be used to determine the length of the key. Saving the SSH-key Enter...

How to mount a hard disk as read-only from the terminal

Mount Options

You do not mount '''/dev/sda''', that refers to the entire disk. You mount '''/dev/sda1''' or whatever partition you want. Make a mount point, call it anything you like. sudo mkdir /media/2tb Mount as Read Only sudo mount -o ro /dev/sda1 /media/2tb When your...

Mount SSH / SSHFS / SFTP

Mount Options

sudo sshfs -o uid=1000 -o gid=1000 -o allow_other user@remotehost:/path/to/folder/ /path/to/local/dir

Workstation Backup via Git

Workstation Backup via Git

He does his configuration Management sice years with git and without Symlinks. His Solution is more than simple: create an empy bare git repo git init --bare $HOME/.cfg whith this Step you hace a repo inside your home directory $HOME/.cfg . Inside there are l...

Apt-usage

Debian

Install package apt-get install <packagename> search package apt-cache search <packagename> or <packagedescription> remove package apt-get remove <packagename> to remove but letting configfiles untouched apt-get purge <packagename> to remove with configfiles a...

Create and restore apt-package-list

Debian

you can use this list for example to install all your apt packages on another machine, for example if you migrage or want to start over on a fresh installation dpkg --get-selections | awk '$2 == "install" {print $1}' > packages.list.save Restore your apt-pack...

Openbsd-as-a-Desktop-OS

OpenBSD

Upgrade OpenBSD Patch Base System syspatch Upgrade system sysupgrade Upgrade Packages pkg_add -u Package Management Search for a package pkg_info -Q <searchterm> Get Info about package pkg_info <packagename> install package pkg_add <packagename> System E...

Install Pandoc via Cabal OpenBSD 6.7

OpenBSD

Install Cabal Cabal is a packagemanager for Haskell very much like pip is for Python. You can install it from ports: doas pkg_add -i ghc cabal-install Prepare system to compile programs via cabal Enable wxallowed in /home and /tmp: You can do so via editing y...

OpenBSD virtualization OpenBSD 6.7

OpenBSD

Setup /etc/rc.conf.local apmd_flags="-A" dhcpd_flags=vether0 vmd_flags= ntpd_flags="-s" /etc/hostname.vether0 inet 192.168.30.1 255.255.255.0 NONE /etc/dhcpd.conf # Network: 192.168.11.0/255.255.255.0 # Domain name: vmm.local # Name servers: 192....

Proxmox-Exposed-Host

Proxmox

In This Post I'm showing you How to create a Proxmox host which is reachable trough internet. It presupposes you have Debian already installed on your server: Access and Update the Server Add User adduser yourusername install sudo apt-get install sudo Add new ...

Proxmox Fixes and Workarounds

Proxmox

XMPP Letsencrypt Container Create Certificate Folder mkdir /var/www/ssl/xmpp get Letsencrypt Certificate certbot certonly --webroot -w /var/www/ssl/xmpp --email mail@domain.tld -d xmpp.domain.tld -d conference.domain.tld -d pubsub.domain.tld -d upload.domain....

The special case with a VPS

Proxmox

Container in most cases a VPS has only one virtual drive attached, what makes it impossible (if the VPS uses LVM) for Proxmox to create a template, since the template needs to be on another Storage (correct me, if it changed in meantime). So what you do instea...

Less known but useful Commmands

Less known but useful bash Commands

Redo last command but as root sudo !! Open an Editor, write a bash command (and execute in shell) ctrl+x+e Create superfast Ramdisk mkdir -p /mnt/ramm mount -t tmpfs tmpfs /mnt/ram -o size=8192M fix a really long command (that you messed up) fc quickly cre...

SSH Tunnel

SSH

tunnel with ssh (local port 3337 -> remote host's 127.0.0.1 on port 6379) ssh -L 3337:127.0.0.1:6379 root@domain.tld -N SSH Tunnel - Advanced SSH-Tunnel Syntax: ssh -L [bind_address:]port:host:port user@server ssh -R [bind_address:]port:host:port user@server ...

Linux-Knowledge-Ressources

Linux-Knowledge-Ressources

Wikis https://wiki.archlinux.org/ https://www.linux-kvm.org/page/Management_Tools https://wiki.installgentoo.com/wiki/Main_Page Documentations https://www.openbsdhandbook.com/ VPS / Rootserver - Hosting https://contabo.com/ https://www.ionos.de/ https://virmac...

New Page

Hitchhikers Guide to Online Anonymity H...

The Hitchhiker's Guide to Online Anonymity (Or "How I learned to start worrying and love privacy anonymity") Version 1.1.1, November 2021 by Anonymous Planet. This guide is a work in progress. While I am doing the best I can to correct issues, inaccuracies, an...

Awesome-Selfhosted

Kickball - Awesome Selfhosted

Self-hosting is the practice of locally hosting and managing applications instead of renting from SaaSS providers. This is a list of Free Software network services and web applications which can be hosted locally. Non-Free software is listed on the Non-Free ...

A modern mutt setup

A modern Mutt Setup

Original seen and Highly inspired by: https://webgefrickel.de/blog/a-modern-mutt-setup As the time of writing I am using a Debian 10 system, you maybe have to adopt some settings depending on your Mailprovider and/or Distribution. I wrote to the the Original A...

Using `dd` and `ssh` to copy a disk image over a network

SSH

dd if=/dev/sdX | ssh user@remotehost "dd of=ops-tools.img" Another Way On the Sourcemachine tar zcf - /* | nc $IP 4444 And on the Destination Machine nc -lp 4444 > backup.tar.gz

Surf the Darknet via Torsocks

w3m

torsocks w3m domain.onion