close
  • Sl chevron_right

    How to configure SSH access using Samba Active Directory

    pubsub.slavino.sk / sleeplessbestie · Friday, 20 May - 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 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 handle low memory conditions on desktop

    pubsub.slavino.sk / sleeplessbestie · Friday, 25 February - 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

  • Sl chevron_right

    How to keep a list of permanent ARP entries

    pubsub.slavino.sk / sleeplessbestie · Friday, 11 February - 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