Skip to content

Instantly share code, notes, and snippets.

View sfloess's full-sized avatar
💭
while(true);

Scot P. Floess sfloess

💭
while(true);
View GitHub Profile
@sfloess
sfloess / Entware.md
Last active December 28, 2022 07:52
Entware Tips and Tricks

Entware

Helpful tips and tricks for Entware

General Stuff

Install

  • ARMv7
cd /opt
@sfloess
sfloess / FreeBSD.md
Last active May 13, 2024 18:32
FreeBSD
@sfloess
sfloess / Fedora.md
Last active May 14, 2024 21:18
Fedora Tips and Tricks

Fedora

Tips and Tricks for Fedora.

How To

  • LXDE Spin VM install
    • Open an LXTerminal session
    • sudo dbus-launch liveinst
  • Setting timezone:
    • List time zones: timedatectl list-timezones
    • Set time zone: timedatectl set-timezone [time_zone]
@sfloess
sfloess / Application.md
Last active March 3, 2023 15:50
Helpful tips and tricks for applications

Application

Helpful tips and tricks for applications

Browsers

Chromium

  • Kerberos/SSO
    • /etc/chromium/policies/managed/[policy filename].json
{
    "AuthServerWhitelist": "*.mycompany.com",
@sfloess
sfloess / RHEL Based Linux.md
Last active October 12, 2023 18:59
Helpful tips and tricks for RHEL Based Linux

RHEL Based Linux

Helpful tips and tricks for RHEL based Linux.

How-To

  • When booting headless, ensure console goes blank: grubby --update-kernel=ALL --args=consoleblank=[seconds]. For example: grubby --update-kernel=ALL --args=consoleblank=20
  • After login via ssh the "MOTD" prints twice: /etc/ssh/sshd_config: PrintMotd no

RHEL 8

  • The app createrepo is now in createrepo_c package.
@sfloess
sfloess / Ansible.md
Last active September 29, 2022 21:00
Ansible

Ansible

Ansible tips and tricks

How To

Run Playbook in Parallel

To run a playbook in parallel, include the following: strategy: free

Example:

@sfloess
sfloess / LXDE.md
Last active November 5, 2020 13:11
LXDE

LXDE

Helpful tips and tricks for LXDE

Core Concepts

Files/Directories

  • ~/.config/openbox/lxde-rc.xml
  • ~/.config/lxpanel/LXDE/panels
  • ~/.local/share/applications
  • ~/.local/share/desktop-directories
@sfloess
sfloess / Cobbler.md
Last active October 13, 2021 13:29
Cobbler

Cobbler

Helpful tips and tricks for cobbler.

How-to

General

  • Update signature: cobbler signature update
  • Signature file: /var/lib/cobbler/distro_signatures.json
  • Update the Cobbler password: htdigest /etc/cobbler/users.digest "Cobbler" cobbler

3.x

@sfloess
sfloess / Virtualization.md
Last active February 14, 2024 16:16
Virtualization

KVM

Installing

Debian

  • apt install qemu qemu-kvm qemu-system qemu-utils
  • apt install libvirt-clients libvirt-daemon-system virtinst
  • apt install ovmf netcat-openbsd
@sfloess
sfloess / RHEL.md
Last active September 17, 2021 16:25
Helpful tips and tricks for RHEL

RHEL

Quickies

  • Single User Boot:
    • Select kernel in the grub menu
    • Press e
    • In kernel params, change ro to rw init=/sysroot/bin/sh
    • Press ctrl +x or F10

Install epel