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

206 total results found

Linux & Servers

Linux, Apache, Docker, scripting and database guides for building and running servers.

Windows & Development

Windows Server, Active Directory, PowerShell and Visual Studio notes.

Home Lab & Security

Raspberry Pi, NAS, Home Assistant, security and other home lab notes.

Database Toolset

Toolset of tools and script for maintaining the databases. We also included scripts for different applications.  Copyright Notice The Home Stack has prepared this document for use only by their staff, agents, customers and prospective customers. Companies, n...

MySQL
MsSQL
SQL

Linux

How-to guides for installing and running Red Hat Enterprise Linux and Rocky Linux servers, covering installation and subscriptions, storage and LVM, file sharing, mail and web services, and virtualization and containers.

Apache

Guides for the Apache HTTP Server on RHEL and Rocky Linux, including HTTPS certificates, multiple sites on one server, and serving .NET applications behind Apache.

Microsoft

Notes and fixes for Windows Server and Windows clients, including Active Directory, domain controllers, time sync, Group Policy and common repair tasks.

Visual Studio

Notes for Visual Studio and VS Code, including publishing .NET apps to Linux, Windows services, source control and useful code snippets.

Powershell

PowerShell scripts and one-liners for everyday Windows administration, such as managing printers and searching Active Directory.

Docker

Notes on running containers with Docker Engine, Docker Compose and Podman, plus self-hosted apps such as Pi-hole and RustDesk.

Raspberry PI

Anything to do with raspberry pi world!

All Others Stuff

Miscellaneous technical notes that do not fit another book, such as command-line file transfer, small web app installs and handy tips.

Security

This is for anything to do with security on Windows and Linux environments

NAS

Anything about all different types of NAS Synology, TrueNAS, QNAP

Home Assistant

Everything to do with Home Assistant

Linux & Docker Admin Scripts

Practical shell scripts and how-tos for running a small Linux and Docker home lab: monitoring, backups, scheduled jobs, certificates and media-library housekeeping.

no-blog

Virtualization & Servers

VMware vSphere and ESXi, Veeam Backup, and notes for HPE and Dell hardware.

Monitoring & Server Setup

Linux & Docker Admin Scripts

Backups

Linux & Docker Admin Scripts

Scheduling & Certificates

Linux & Docker Admin Scripts

Docker & Media Library

Linux & Docker Admin Scripts

Photos, Files & Raspberry Pi

Linux & Docker Admin Scripts

Install & Subscription

Linux

Installing RHEL and Rocky Linux, subscriptions and repositories, plus general command-line tips.

Storage & LVM

Linux

Adding disks, growing LVM volumes, swap and other storage tasks.

File Sharing

Linux

Sharing files with Samba and NFS.

Mail, Web & Logging

Linux

Mail relays, web server helpers and log management.

Virtualization & Containers

Linux

KVM virtualization, Kubernetes and container tooling.

VMware vSphere & ESXi

Virtualization & Servers

Installing, upgrading and managing VMware vSphere and ESXi hosts.

Veeam Backup

Virtualization & Servers

Veeam Backup & Replication setup and fixes.

Server Hardware (HPE & Dell)

Virtualization & Servers

Firmware, management and driver notes for HPE and Dell hardware.

Tools & Web Apps

All Others Stuff

Command-line file transfer, small web app installs and utilities.

Tips & Misc

All Others Stuff

Short tips, references and device notes.

Synology

NAS

Synology DSM setup, packages and maintenance.

TrueNAS

NAS

TrueNAS setup, mounts and backups.

Raspberry Pi - SD card to a USB SSD

Raspberry PI

Install With the new version of the OS you can just use SD Card Copier from the accessories menu. We assume that you have already imaged and are booted up with the SD Card. 1. Terminal Open the terminal windows  Change the boot option with this command ...

Linux - Setting up a Logging Server

Linux Mail, Web & Logging

Last verified: October 2026 against the RHEL 9 remote logging guide and the current rsyslog documentation. Summary This is to setup a logging server to capture logs from any servers on your network. Prerequisites Install of a RedHat or Rocky Linux minimal inst...

SQL - Kill Database Connections

Database Toolset

/* This is to kill off any connection to a database Created by : Steve Ling 2022/03/20 */ --This script will kill when ran USE MASTER GO DECLARE @Spid INT DECLARE @ExecSQL VARCHAR(255) DECLARE KillCursor CURSOR LOCAL STATIC READ_ONLY F...

Linux - How to Increase the size of a Linux LVM by adding a new disk

Linux Storage & LVM

Important Notes: Be very careful when working with the commands in this article as they have the potential to cause a lot of damage to your data. If you are working with virtual machines make sure you take a snapshot of your virtual machine beforehand, or othe...

Apache - Health Check

Apache

Server Health Commands Check TLS openssl s_client -connect <IP_ADDRESS>:8443 -tls1 nmap -sV --script ssl-enum-ciphers -p 8443 <IP_ADDRESS> Connections onto Server netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n ...

Apache - Enabling HTTPS w/Certificate

Apache

1. Getting the required software For an SSL encrypted web server you will need a few things. Depending on your install you may or may not have OpenSSL and mod_ssl, Apache's interface to OpenSSL. Use dnf to get them if you need them.   sudo dnf install mod_s...

Visual Studio - Deploy to Linux

Visual Studio

The only thing that you need to do do to deploy to Linux is too change the target runtime setting. This allows for the deployment to add the specific files to the folder.

Host ASP.NET Core on Rocky/RHEL (Apache reverse proxy)

Apache

Introduction This is to prep the Linux server to host Visual Studio code. This is for either RedHat or Rocky Linux installations.  For this configuration were are installing on a Rocky Linux server. Platform prep: This page covers platform preparation (run...

Apache - Self Signed HTTPS Certificates

Apache

If you are starting to migrate your web servers over to Linux (or have already done so) and are looking to serve those pages up over secure http (aka https), you're going to need to know how to make this happen. Although https does will not guarantee security ...

Apache - Setting up an SSL secured Webserver w/Rocky Linux

Apache

This guide will explain how to set up a site over https. The tutorial uses a self signed key so will work well for a personal website or testing purposes. This is provided as is so proceed at your own risk and take backups! 1. Getting the required software F...

Visual Studio - Entity Framework Tips

Visual Studio

dotnet tool install --global dotnet-efdotnet ef migrations add CreateInitialdotnet ef database update//https://www.youtube.com/watch?v=Fbf_ua2t6v4 Scaffold dotnet ef dbcontext scaffold "Data Source=SQLSERVER01;Initial Catalog=MyFFLBookAPI;TrustServerCertific...

Windows - Update additional resources

Microsoft

Try resetting the Windows Update Agent by running these commands from an elevated command prompt: net stop wuauserv rd /s /q %systemroot%\SoftwareDistribution net start wuauserv Reset Windows Update components manually Open a Windows command prompt. T...

Windows - How to delete the Recovery Partition

Microsoft

Unfortunately when there is no room on the disk to convert the drive from basic to dynamic. Microsoft documents the problem, and notes the solution is to delete the last partition on the disk: Not Enough Space Available to Upgrade to a Dynamic Disk RESOLU...

MsSQL - Backups

Database Toolset

Introduction This is to create auto backups on a SQL server and place them on a drive. Credits go to: Ola Hallengrenhttps://ola.hallengren.com The 20240104_Backup_ola_original.sql file is the untouched default version. 20240104_Backup_ola_original.sql Ma...

MsSQL - Verify Properties

Database Toolset

/* This will check the proprties on a given Database and also the server Created By : Steve Ling 2022/04/07 */ --Change the DB name here DECLARE @DATABASE NVARCHAR(50) = 'SHOP' /* No changes below this line */ ---- Simple Version Query ...

Linux - Bag of Tricks

Linux Install & Subscription

Introduction This document has many useful command. Change Files and Folder Permissions To change the permissions of files to 655 and subfolders to 755 (which is the common practice for directories to allow execution for navigating into them) within a speci...

MySQL - Bag Of Tricks

Database Toolset

Introduction This document has many useful command. MySql Kill users You can use the following syntax to lookup users within a database SHOW PROCESSLIST; SELECT group_concat(concat('KILL ',id,';') SEPARATOR ' \n') FROM information_schema.processlist WHERE...

Linux - How to Decrease an LVM Partition

Linux Storage & LVM

Last verified: October 2026 against the current lvreduce and resize2fs manual pages. Note: This example was written on CentOS 7 (now end of life); the same LVM and ext4 commands apply on RHEL / Rocky Linux 8 and 9. The default file system on these releases is ...

Linux - Increase the size of a LVM Partition

Linux Storage & LVM

This will cover how to increase the disk space for a VMware virtual machine running Linux that is using logical volume manager (LVM). Firstly we will be increasing the size of the actual disk on the VMware virtual machine, so at the hardware level – this is th...

Windows - Set Logon Server

Microsoft

How To change Logon server Name through Command Line: echo %logonserver%set  logonserver=\\server1 set logonserver  open Command Prompt*******************************************************Microsoft Windows [Version 10.0.14393](c) 2016 Microsoft Corporatio...