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

29 total results found

Preparing Ansible Managed Nodes - shell script

#!/bin/bash rootpwd='Passw0rd!' remuser=devops devpass=redhat123 ansible all -e "ansible_password=$rootpwd" -u root -m user -a "name=$remuser state=present" ansible all -e "ansible_password=$rootpwd" -u root -m shell -a "echo $devpass | passwd --s...

Preparing Ansible managed nodes using playbook

--- - name: prep playbook for use with ansible-navigator hosts: all remote_user: root vars: ansible_password: 'Passw0rd!' remuser: devops rempass: redhat123 tasks: - name: create user {{ remuser }} user: name:...

Managing User/Group accounts from CLI

MS Windows HOWTO

Facts myadmin - user account name mypassword - initial password configured for myadmin user mynewpassword - new password configured for myadmin user Administrators - name of local group with administrative privileges Description Command ...

Windows 11 - enable system hibernation after 60 min idle

MS Windows HOWTO

Get power plan details cd %userprofile% powercfg /q > power.txt Show possible options to change powercfg /x /? Enable automatic system hibernation (when running on battery) after 60 min idle time. powercfg /x hibernate-timeout-dc 60...

Linux/Firefox and Intel GPU acceleration

Linux HOWTO

Instructions for Fedora 39 Packages to remove libswscale-free Enable Free and Non-Free RPMFusion repositories https://rpmfusion.org/Configuration Packages to install ffmpeg-libs libva libvdpau openh264 x264-libs x265-libs gstreamer1...

topic
Linux

Firefox - register telnet protocol handler

Linux HOWTO

Create setting (boolean) network.protocol-handler.expose.telnet = false When triggering telnet handler for the first time, specify execute to launch for opening telnet sessions (e.g. securecrt, putty, etc.).    

Linux/Firefox - Enable kinetic scrolling

Linux HOWTO

  about:config apz.gtk.kinetic_scroll.enabled = true

Calculate battery's Watt hours (Wh) and charging speed (W)

HOWTO Misc

Calculate Battery's Watt hours Wh=( mAh / 1000 ) × V For example, battery with capacity of 4120mAh that operates at 10.8V has 44.50 Wh. Wh = 4120 / 1000 * 10.8 Wh = 44.50 Determine Battery charging speed Watt = Volts x Amps For example, device (...

UPS in Linux with apcupsd

Linux HOWTO

apcupsd - a daemon for controlling most APC UPSes Facts Configuration file /etc/apcupsd/apcupsd.conf Systemd service name acpsupd Control system shutdown criteria With the configuration parameters below: UPS is queried eve...

/FreeBSD/ Managing Networking

Linux HOWTO

    Display IPv4 routing table netstat -r -4 -n Display IPv6 routing table netstat -r -6 -n

Nextcloud - Brutce force login - Account locked out

Linux HOWTO NextCloud

    I was able to get rid of the error message by deleting the content of the table oc_bruteforce_attempts on nextcloud database. DELETE FROM nextcloud.oc_bruteforce_attempts You can put a where clause and limit it by IP so that only your login attempts ...

Full Text Search in NextCloud

Linux HOWTO NextCloud

NextCloud - Enable fulltextsearch in UI   Fixing issue where (for some unknown reason) NC got reconfigured itself to this: cd /var/www/html/nextcloud sudo --user apache php occ fulltextsearch:configure '{ "provider_indexed": "{\"files\":\"1\"}" ...

Nextcloud - Configure Onlyoffice from CLI

Linux HOWTO NextCloud

Disable certificate verification sudo --user apache php occ config:app:set --value=false onlyoffice verify_peer_off Secret key (leave blank to disable) sudo --user apache php occ config:app:set --value="" onlyoffice jwt_secret Docs address sudo --...

GNOME3 - Enable Fractional Display Scaling

Linux HOWTO

  Run this command in the terminal. gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"   Log out from current GNOME3 session, and log back in. Fractional scaling should be now available.    

Create private Docker Registry (TLS + authentication)

Docker and K8S Docker Study Notes

All below commands invoked as user root. Prepare folder structure mkdir -p /root/{auth,certs,storage} Generate self-signed SSL certificate Create san.cnf file with the following content. [req] default_bits = 4096 prompt = no default_md = sha256 ...

Linux - CPU Mitigations

Linux HOWTO

Disabling various CPU vulnerability mitigations This can be done kernel bootable parameters. Option Description mitigations=off noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off no...

Managing SAS Disks in Linux

Linux HOWTO

Removing type 1 protection Some HGST/Oracle/Sun drives report Type 1 DIF protection. smartctl -i /dev/sdl === START OF INFORMATION SECTION === Vendor: HGST Product: H7240AS60SUN4.0T Revision: A3A0 Compliance: ...

UDEV rule - Disable SATA/SAS Disk Write Cache

Linux HOWTO

Creating udev rule that disables disk write cache for specific drive models. Requirements: sdparm utility cat /etc/udev/rules.d/50-hgst.rules ACTION=="add", SUBSYSTEM=="block", ATTRS{vendor}=="HGST", ATTRS{model}=="H7240AS60SUN4.0T", RUN+="/bin/s...