close
  • Sl chevron_right

    How to configure SSH access using Samba Active Directory

    pubsub.slavino.sk / sleeplessbestie · 4 days ago - 11:00 edit

Configure SSH access using Samba Active Directory. Preparations Ensure that a Fully Qualified Domain Name is defined. $ sudo hostnamectl --static set-hostname voyager.octocat.lab Read how to configure persistent DNS resolver to ensure that server is using DNS resolver provided by Samba Active Directory services. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated […]

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

  • Sl chevron_right

    How to archive entire web page in a single HTML file

    pubsub.slavino.sk / sleeplessbestie · Friday, 13 May - 11:00 edit

Use SingleFile to archive entire web page in a single HTML file. Browser extension Install browser extension for Firefox, Chrome or Edge. This is enough for occasional use, quick and clean solution, just remember to backup saved pages. CLI utility You can also use the command-line utility which will execute a headless browser. Install npm. […]

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

  • Sl chevron_right

    How to create Samba Active Directory server

    pubsub.slavino.sk / sleeplessbestie · Wednesday, 11 May - 11:00 edit

Create Samba Active Directory server using Debian Bullseye. Preparations Update package index. $ sudo apt update Upgrade operating system. $ sudo apt upgrade Ensure that hostname is defined. $ sudo hostnamectl --static set-hostname ad.octocat.lab Inspect hosts file which should be in its initial state. $ cat /etc/hosts 127.0.0.1 localhost #10.10.10.10 ad.octocat.lab ad # The following […]

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

  • Sl chevron_right

    How to fix failed dynamic DNS update with Samba Active Directory and System Security Services Daemon

    pubsub.slavino.sk / sleeplessbestie · Friday, 6 May - 11:00 edit

Fix failed dynamic DNS update with Samba Active Directory and System Security Services Daemon by upgrading internal Samba DNS to BIND. Issue DNS records are updated correctly, but dynamic DNS update process is marked as failed. $ dig s1.example.org +short 172.16.0.117 Sample sssd debug log indicating that there is a problem with dynamic DNS update. […]

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

  • Sl chevron_right

    How to determine fastest APT server using the ICMP

    pubsub.slavino.sk / sleeplessbestie · Wednesday, 4 May - 11:00 edit

Determine fastest APT server using the Internet Control Message Protocol (ICMP). Install netselect-apt utility. $ sudo apt install netselect netselect-apt Display usage information. $ netselect --help Usage: netselect-apt [OPTIONS] [ debian_release ] debian_release is one of stable, testing, unstable, experimental or a codename etch, lenny, squeeze, wheezy, jessie, stretch, sid Options: -a, --arch ARCH Use […]

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

  • Sl chevron_right

    How to determine mountpoint filesystem type

    pubsub.slavino.sk / sleeplessbestie · Friday, 8 April - 11:00 edit

Determine mountpoint filesystem type using core stat utility which is expected to exist on every operating system. Determine / mountpoint filesystem type. $ stat -c %T -f / ext2/ext3 Determine /mnt/userdata mountpoint filesystem type. $ stat -c %T -f /mnt/userdata btrfs Determine /proc mountpoint filesystem type. $ stat -c %T -f /proc proc Determine /run […]

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

  • Sl chevron_right

    How to use multi-stage build to compile an application

    pubsub.slavino.sk / sleeplessbestie · Wednesday, 23 March - 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

  • Sl chevron_right

    How to install human-friendly apt front-end

    pubsub.slavino.sk / sleeplessbestie · Tuesday, 22 March - 12:00 edit

Install nala a human-friendly apt front-end using the python-apt API. Add a repository, which supports amd64, arm64, and armhf architectures. $ echo "deb [arch=amd64] http://deb.volian.org/volian/ scar main" | sudo tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list Install repository key. $ curl --silent --output - https://deb.volian.org/volian/scar.key | sudo tee /etc/apt/trusted.gpg.d/volian-archive-scar-unstable.gpg Update package index. $ sudo apt update Inspect package details. $ […]

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