Linux base build

Update Packages and OS Run the command to update the installation If you are on a laptop Battery saving use tlp package for better battery savings Configure default settings Timezone Set timezone and check settings NTP Client Add NTP server in /etc/systemd/timesyncd.conf file Unattended Upgrade Sudo without password Password Requirements Proceed at your own risk

TLS1.2

Azure AD Connect: TLS 1.2 enforcement for Azure Active Directory Connect – Microsoft Entra | Microsoft Learn Enable TLS1.2 Run the following with elevated PowerShell Check TLS1.2

P2V (Physical-to-Virtual) Step-by-Step
P2V (Physical-to-Virtual) Step-by-Step

What is P2V? P2V is the act of converting a bare-metal OS+Software into virtualized environment. Why Virtualize? Using virtualization technology, we are introducing a layer of software in the middle of hardware and existing software. So, why do we virtualize? What I think, is virtualization doesn’t help much when we are running lean (e.g. only... » read more

Resize MMC partition on RPi

I prefer to see graphical interface while dealing with partition. We’ll need another RPi to resize the target MMC for another RPi. What we need MMC (pre-booted on main RPi) RPi with GUI USB MMC reader GParted Install GParted From the command line use Run GParted Next step will require us to vnc into RPi... » read more

Something about sed (Stream Editor)

Intro sed is stream editor, a command line used to perform basic text transformation, usually on a file. Running sed sed options “Important” options for sed will be listed below: -n / --quiet / --silent Suppress automatic printing of pattern space --debug Annotate program execution. This will output the sed program in slightly user readable... » read more

SSH from Windows using SSH Key

Introduction Secure Shell (SSH) authenticates by key-pair. Private key on the remote server and the corresponding public key on local machine. When the key matches, user is then authenticated. Requirements System running Windows 10 with OpenSSH client installed User account with administrative privileges Access to PowerShell WinSCP or equivalent Check if OpenSSH client is installed... » read more

VMWare snapshot summary

Requirement Install VMWare PowerCLI Run the following command in elevated PowerShell Custom PowerShell module Copy the following into a file located at Documents\WindowsPowerShell\Modules\VM.Statistics\VM.Statistics.psm1. Query Statistics On PowerShell, run the following command Running user (PowerShell client) will need to have connect and read permission from VCenter.

Get Time from remote computers

Why get time? I am working in Windows shop for process automation industry. And we have very strict rule on time synchronization On SCADA system time synchronization is crucial in keeping the data clean. Usually system can tolerate several seconds of lagging or advance. However, the castle will start to crumble if there’s too much... » read more

Enable Hyper-V on Windows 10

Pre-Check Requirements Windows 10 (Enterprise, Professional, or Education) 64-bit processor with Second Level Address Translation (SLAT) CPU support for VM Monitor Mode Extension (VT-c on Intel CPU) Enough free RAM (4 GB minimum) Extracted from Microsoft Documentation Checking requirement Run the following PowerShell command (does not need to be in elevated mode) Enabling Hyper-V Open... » read more

Enable PSRemoting on Windows 10

Workgroup (standalone) Computer as destination Destination (remote) computer Run the following on elevated PowerShell On remote computer, enable firewall incoming rule to allow Port 5985-5986 Source (local) computer Run the following on elevated PowerShell to add destination as trusted. You can change the wildcard to remote IP address To see if the configuration has been... » read more