Advanced Search
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...
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.
Virtualization & Servers
VMware vSphere and ESXi, Veeam Backup, and notes for HPE and Dell hardware.
Monitoring & Server Setup
Backups
Scheduling & Certificates
Docker & Media Library
Photos, Files & Raspberry Pi
Install & Subscription
Installing RHEL and Rocky Linux, subscriptions and repositories, plus general command-line tips.
Storage & LVM
Adding disks, growing LVM volumes, swap and other storage tasks.
File Sharing
Sharing files with Samba and NFS.
Mail, Web & Logging
Mail relays, web server helpers and log management.
Virtualization & Containers
KVM virtualization, Kubernetes and container tooling.
VMware vSphere & ESXi
Installing, upgrading and managing VMware vSphere and ESXi hosts.
Veeam Backup
Veeam Backup & Replication setup and fixes.
Server Hardware (HPE & Dell)
Firmware, management and driver notes for HPE and Dell hardware.
Tools & Web Apps
Command-line file transfer, small web app installs and utilities.
Tips & Misc
Short tips, references and device notes.
Synology
Synology DSM setup, packages and maintenance.
TrueNAS
TrueNAS setup, mounts and backups.
Raspberry Pi - SD card to a USB SSD
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
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
/* 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
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
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
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
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)
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
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
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
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
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
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
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
/* 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
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
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
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
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
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...