Advanced Search
Search Results
150 total results found
Linux - Install KVM
Last verified: October 2026 for RHEL 9 against the Red Hat virtualization, networking and web console guides. Prerequisites RHEL 9 installed (minimal or with a desktop; the web console used in step 5 does not need a desktop) Sudo user with admin rights Local ...
BAT - Script to Map Drives
@echo off :: Map Synology NAS shares and point the user shell folders at them. :: Set these three values before running. set NAS=\\NAS_HOST set NASUSER=NAS_USER set NASPASS=YOUR_PASSWORD echo Mapping Synology NAS drives... :: Map Documents drive net use F: %...
RedHat - Install NFS Shares
NFS Server Configuration Install NFS Utilities. sudo dnf install nfs-utils Create the Shared Directory. sudo mkdir -p /nfs/exports/myshare (Replace /nfs/exports/myshare with your desired path.)Configure NFS Exports: Edit the /etc/exports file to define th...
Linux - Re-Mapping Drives or Combining Drives
The document is walk you through the re-mapping or combining of mapped drives on a Linux server. This is to make the root drive aka "/" drive one drive to be able to use the space of the full drive. First you will have to look at the current setup sudo fdis...
Raspberry PI- Pi-Nut Network
Installing Network UPS Tools (NUT) version 2.8.3 from source on a Raspberry Pi 4 running Raspberry Pi OS (based on Debian) requires compiling the software from the source code, as a pre-built Debian package for this specific version may not be available. Below...
MsSQL - Restore Master/Model/MSDB
Steps to Restore the master Database: Stop the SQL Server Instance: Open SQL Server Configuration Manager or Windows Services. Locate the SQL Server service (e.g., SQL Server (MSSQLSERVER) for a default instance). Stop the service. ...
MsSQL - Restore Agent Jobs from Another MSDB database
This is to copy by specific Job --- ErangaMSDB is the copy of the old msdb --- DECLARE @JobID UNIQUEIDENTIFIER DECLARE @SchedulerID Int SELECT @JobID = job_id FROM ErangaMSDB.dbo.sysjobs WHERE NAME='Restore IPay' --- Insert the jobs INSERT msdb.dbo.sys...
VMWare - Redhat 9 Install NVidia Pass through and Container Setup
Installing an NVIDIA driver in a Red Hat 9 virtual machine (VM) with GPU passthrough involves several steps, including configuring both the VMware ESXi host and the RHEL guest OS. GPU passthrough dedicates the entire physical GPU to a single VM, bypassing the ...
SQL - Try Catch Rollback
BEGIN TRY BEGIN TRANSACTION; -- SQL statements that are part of the transaction -- e.g., INSERT, UPDATE, DELETE statements COMMIT TRANSACTION; END TRY BEGIN CATCH -- Error handling logic IF @@TRANCOUNT > 0 BEGIN ...
SQL - Blocking Process
These scripts are using to help how to determine what is blocking process are occurring. SELECT text,* FROM sys.dm_exec_requests CROSS APPLY sys.dm_exec_sql_text(sql_handle) WHERE DB_NAME(database_id) = '[dBName]' AND blocking_session_id <> 0 ...
Windows - Glossary of Terms
AAD = Azure Active Directory (now Microsoft Entra ID) ADCS = Active Directory Certificate Services ADDS = Active Directory Domain Services AIA = Authority Information Access CA = Certificate Authority CDP = CRL Distribution Point CRL = Certificate Revoca...
MySQL - Cannot use select on user table
ERROR 1356 (HY000): View 'mysql.user' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them Looks like database is corrupted. Try the following workaround:1. Insert missing privileges: Code: INSERT INTO `...
Linux - Setup RedHat 10 SMTP Server
Security warning: this guide is written for a lab or internal relay. It disables SELinux and the firewall, allows plaintext authentication (disable_plaintext_auth = no, auth_mechanisms = plain login) and sets the Dovecot auth socket to mode = 0666 (any local u...
Raspberry PI - Error encountered raspi-firmware sense-hat
Error dpkg: error processing package sense-hat (--configure): dependency problems - leaving unconfiguredProcessing triggers for initramfs-tools (0.142+rpt4+deb12u3) ...Errors were encountered while processing: raspi-firmware sense-hatE: Sub-process /usr...
Raspberry Pi - Upgrade bulleys to trixie
First upgrade to bookworm sudo apt update sudo apt full-upgrade sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*.list sudo apt update sudo apt full-upgrade sudo reboot You may get t...
FSMO - Transfer Seize the roles to a new server
Old School Way: Using Graphical Tools (MMC) Check Current Roles: Run netdom query fsmo on any DC to see who holds them. Transfer Domain Roles (RID, PDC, Infrastructure): Open Active Directory Users and Computers (ADUC). Right-click the domain name and ...
Postgres - Install on Redhat 9
**To install the `pgvector` extension** (the popular open-source vector similarity search extension for PostgreSQL, which provides the `vector` data type and operators) on **Red Hat Enterprise Linux (RHEL) 9** with **PostgreSQL 16**, follow these steps. **`ve...
Synology - Bag of Tricks
sudo -i ip link set eth1 down My DS118 idles at 24% after disabling all the junk. //run once as root to disable services *you* don't need synopkg stop pkgctl-SynoFindersynopkg uninstall SynoFindersynopkg stop pkgctl-ActiveInsightsynopkg uninstall Active...
VMWare - Delete inaccessible datastore
Rename the store Use the web client to rename each store and a DEL in front of the name Access the shell of the appliance server and then the database VMware vCenter Server 8.0.2.00300 Type: vCenter Server with an embedded Platform Services Controller ...
Proper Active Directory Time Sync Methods
Network Time Protocol (NTP) is a long-standing standard for computers to synchronize time between systems. NTP can be used to ensure that all synchronized computer clocks maintain the same time within a very small margin, usually measured in milliseconds. Whil...