• chevron_right

      How to use multi-stage build to compile an application

      pubsub.slavino.sk / sleeplessbestie · Wednesday, 23 March, 2022 - 12:00 edit

    Use Docker or Pod Manager multi-stage build to compile Nginx from source code with additional headers-more-nginx-module module using Debian Bullseye image. The idea is quite simple. The first step is to download source code. The second step is use source code regardless of the used revision control system to build an application and divert installation […]

    Značky: #Bullseye, #DevOps, #Docker, #Debian, #Linux, #Podman, #nginx

    • chevron_right

      How to handle low memory conditions on desktop

      pubsub.slavino.sk / sleeplessbestie · Friday, 25 February, 2022 - 13:00 edit

    Handle low memory conditions on desktop using a nohang a sophisticated low memory handler for Linux in Python. Inspect nohang utility package. $ apt info nohang Package: nohang Version: 0.2.0-1 Priority: optional Section: admin Maintainer: Yangfl Installed-Size: 269 kB Pre-Depends: init-system-helpers (>= 1.54~) Depends: python3:any Suggests: libnotify-bin, sudo Homepage: https://github.com/hakavlad/nohang Download-Size: 51.5 kB APT-Sources: http://deb.debian.org/debian […]

    Značky: #Bullseye, #Debian, #DailyOps, #Linux

    • chevron_right

      How to keep a list of permanent ARP entries

      pubsub.slavino.sk / sleeplessbestie · Friday, 11 February, 2022 - 07:00 edit

    Keep a list of permanent ARP entries using the arp utility. Install net-tools package. $ sudo apt install net-tools Store permanent ARP entries in a /etc/ethers file. $ cat <<EOF | sudo tee /etc/ethers 01:00:00:02:00:0a 10.0.2.10 01:00:00:02:00:0b 10.0.2.11 01:00:00:02:00:0c 10.0.2.12 EOF Create a service file to load these entries. $ cat <<EOF | sudo tee […]

    Značky: #SysOps, #Debian, #Bullseye, #Linux

    • chevron_right

      How to protect Samba DNS server against DNS zone transfer

      pubsub.slavino.sk / sleeplessbestie · Thursday, 7 October, 2021 - 11:00 edit

    Debian Bullseye currently provides Samba 4.13.5. Using BIND as Samba Active Directory DNS backend opens it to the DNS zone transfer. This issue is fixed in Samba 4.15.0 and can be configured using Samba configuration option dns zone transfer clients allow, which default behavior is to deny such requests, but it is not packaged at […]

    Značky: #Bullseye, #Debian, #Linux, #SecOps, #Samba

    • chevron_right

      Debian - Profanity - OMEMO

      Stefan · Saturday, 18 September, 2021 - 06:35 edit · 1 minute

    Profanity in Debian GNU/Linux

    In Debian 11 ("Bullseye") ist Profanity 0.10.0 verfügbar. Installiert werden kann es mit dem Befehl apt install profanity. Profanity ist ein ncurses basierter XMPP Client.

    Schlüssel generieren

    Hat man sich in profanity erfolgreich mit seinem XMPP Account angemeldet, muss man zur Verwendung von OMEMO das Schlüsselmaterial erzeugen lassen. Dies kann mit dem Befehl /omemo gen erstellt werden.

    Jedes OMEMO fähiges Gerät hat eine accountweite eindeutige Device-ID sowie einen Fingerabdruck. In der Profanity Console (/win 1) lassen sich mit dem Befehl /omemo fingerprint alle eigenen Fingerabdrücke anzeigen.

    07:58:17 - Your OMEMO fingerprint: 5284ea0c-42d698b8-9e8bc07d-daa9c4fb-d9d02814-53847b59-7b85479a-e03fca20
    07:58:17 - user@domain.tld's OMEMO fingerprint:                                                       
               3cb71f98-3e167abf-ae8352d3-3dd5f6d9-bc9f74fa-95e787af-fed55fa5-0a62315b (trusted)              
    07:58:17 - user@domain.tld's OMEMO fingerprint:                                                       
               3641e6ba-fddd542f-cfd69a4c-e5907193-d0682001-28a4c1b5-4971b4ea-a057b717   
    

    Schlüssel vertrauen

    Vielleicht möchtest du Nachrichten, die du verschickst, auch auf deinen anderen Geräten lesen? Dann kannst du mit folgendem Befehl deinem Schlüssel vertrauen.

    /omemo trust user@domain.tld 3641e6ba-fddd542f-cfd69a4c-e5907193-d0682001-28a4c1b5-4971b4ea-a057b717
    

    PS: Du musst den Key nicht per Hand eintragen. profanity kann Autovervollständigung via [TAB]-Taste.

    Dieses vorgehen lässt sich auch auf die Schlüsselverwaltung deiner Kontaktpersonen anwenden.

    /omemo fingerprint buddy@domain.tld 
    

    Chatten

    Ein Fenster zu deinem Chatpartner lässt sich mit dem Befehl /msg Nickname oder /msg buddy@domain.tld starten. Im geöffneten Chatdialog kann auf die JID bei der Abfrage der Fingerabdrücke verzichtet werden. Ein einfaches /omemo fingerprint ist ausreichen, um noch mal über die Schüssel des Partners drüber zu gucken.

    Mit dem Befehl /omemo start wird die OMEMO Verschlüsselung aktiviert. Wurde eine OMEMO für einen Kontakt aktiviert, wird diese Informationen in den Account-Einstellungen gespeichert, um in Zukunft auch OMEMO direkt zu aktivieren. Beendet werden kann sich Session mit /omemo end. Das Verhalten kann mit dem Befehl /omemo policy beeinflusst werden.

    Dateitransfer

    Dateitransfer via OMEMO lässt sich normal mit /sendfile und /url save bzw. /url open verwenden.

    Ausblick

    Debian bookworm verfügt über die Version 0.11 von profanity. Hierzu werde ich einen eigenen Beitrag machen.

    Viel Spaß beim chatten!

    #Debian #Profanity #OMEMO #Bullseye #XMPP

    • chevron_right

      How to pretty-print text files inside terminal

      pubsub.slavino.sk / sleeplessbestie · Friday, 3 September, 2021 - 11:00 edit

    Pretty-print text files inside terminal using bat a cat clone with syntax highlighting and Git integration. Install bat utility. $ sudo apt install bat Display help information. $ batcat --help bat 0.12.1 A cat(1) clone with syntax highlighting and Git integration. USAGE: batcat [OPTIONS] [FILE]... batcat <SUBCOMMAND> OPTIONS: -l, --language <language> Explicitly set the language […]

    Značky: #Bullseye, #Linux, #DailyOps, #Debian

    • chevron_right

      How to install SmokePing on Debian Bullseye

      pubsub.slavino.sk / sleeplessbestie · Friday, 27 August, 2021 - 11:00 edit

    Keep track of network latency using SmokePing on Debian Bullseye. SmokePing instance configured using the following configuration Install and configure SmokePing Update package index. $ sudo apt-get update Install smokeping package, but skip recommended packages. $ sudo apt install --no-install-recommends smokeping dnsutils curl At first, check out the database settings as you cannot easily modify […]

    Značky: #SysOps, #Bullseye, #SmokePing, #Linux, #Debian

    • chevron_right

      How to limit the number of available processors

      pubsub.slavino.sk / sleeplessbestie · Wednesday, 25 August, 2021 - 11:00 edit

    Use boot parameters to limit the number of available processors. There are two distinct boot options that affect the number of available processors. The nr_cpus option which can be used as a hard limit. The maxcpus option which can be used as a soft limit and altered later at your own discretion. Generally, you want […]

    Značky: #SysOps, #Bullseye, #Debian, #Linux

    • Bi chevron_right

      Debian 11 "bullseye" has been released!

      pubsub.slavino.sk / bits.debian.org · Saturday, 14 August, 2021 - 21:30

    Alt Bullseye has been released

    We're happy to announce the release of Debian 11, codenamed bullseye !

    Want to install it? Choose your favourite installation media and read the installation manual . You can also use an official cloud image directly on your cloud provider, or try Debian prior to installing it using our "live" images.

    Already a happy Debian user and you only want to upgrade? You can easily upgrade from your current Debian 10 "buster" installation; please read the release notes .

    Do you want to celebrate the release? We provide some bullseye artwork that you can share or use as base for your own creations. Follow the conversation about bullseye in social media via the #ReleasingDebianBullseye and #Debian11Bullseye hashtags or join an in-person or online Release Party !


    Značky: #bullseye, #Debian