Advanced Search
Search Results
157 total results found
Linux - Install KVM
Prequisites Minimal Installed RHEL 9 with Desktop Environment Sudo user with admin rights Local Yum Repository or Red Hat Subscription Internet Connectivity (for Red Hat Subscription) Once the prerequisites are met then jump into installatio...
BAT - Script to Map Drives
SearchCtrl+K Chat Ctrl+J Voice Files Tasks Projects History Today This Week July Add logic to change the link on my pictures, my music, my videos @echo off echo Mapping Synology NAS drives... :: Map Document drive net use F: \\192.168.1.20...
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...
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 ADCS = Active Directory Certificate Services ADDS = Active Directory Domain Services AIA = Authority Information Access CA = Certificate Authority CDP = CRL Distribution Point CRL = Certificate Revocation List CSR = Certific...
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
System Configuration Upgrade Current System subscription-manager repos --enable codeready-builder-for-rhel-10-$(arch)-rpms dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm -y dnf upgrade -y Configure SELinux setenforce ...
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...
Synology - Backup from Linux
Introduction This is to setup a hourly MySQL backups and also a full system backup once a week. Synology Configuration NFS Configuration You will need to go to the Control Panel → File Services under the NFS section and turn it on Then hit APPY Then ...