3. Select Activation: A menu will pop up. Press 1 on your keyboard to select HWID (“Digital License” or “Product Key”).
Oline IT:Blog
Innovation Technology
Saturday, June 13, 2026
How to Activate Windows 10/11 using digial license.
3. Select Activation: A menu will pop up. Press 1 on your keyboard to select HWID (“Digital License” or “Product Key”).
Tuesday, June 9, 2026
WHMCS 9.0 Invoice Mutation
Insert the following line in configuration.php.
$allow_adminarea_invoice_mutation = true;
Sunday, May 31, 2026
WHMCS Manual Cron Run
/usr/local/bin/php -q /home/username/public_html/whmcs/crons/cron.php all --force -vvv
Wednesday, May 20, 2026
Linux command to find user who failed to login from pop/imap
journalctl -u dovecot -g "auth failed"
Monday, August 18, 2025
Replace old IP with New one in Direct Admin
./ipswap.sh Old_IP New_IP
for example:
./ipswap.sh 35.224.2.88 104.197.113.37
Wednesday, July 2, 2025
SQL to delete all WooCommerce products except those with "draft" status
-- Disable foreign key checks (important for InnoDB)
SET
FOREIGN_KEY_CHECKS = 0;
-- Delete product meta
DELETE
pm
FROM
wp_postmeta pm
JOIN wp_posts p ON
pm.post_id = p.ID
WHERE
p.post_type = 'product' AND p.post_status != 'draft';
-- Delete term relationships
DELETE
tr
FROM
wp_term_relationships tr
JOIN wp_posts p ON
tr.object_id = p.ID
WHERE
p.post_type = 'product' AND p.post_status != 'draft';
-- Delete the products
DELETE
FROM
wp_posts
WHERE
post_type = 'product' AND post_status != 'draft';
-- Enable foreign key checks again
SET
FOREIGN_KEY_CHECKS = 1;
Thursday, June 26, 2025
Restrict Access to PHPMyAdmin with DirectAdmin
How to Activate Windows 10/11 using digial license.
1. Open PowerShell: Click your Search bar, type PowerShell, and open it. If the installation of Windows 10/11 has been completed before. 2....
-
We can install PowerMTA on the server. rpm -ivh /home/PowerMTA-4.0r6.x86_64.rpm You will see the output like this Preparing... #############...
-
Instructions: Copy xf-adesk19 to your Desktop Open terminal (Command+Space and type Terminal and press enter/return key) Paste the followin...
-
Put the following code in a TXT file and save as "file.cmd" then run the cmd file as administrator. @echo off title Activate Micr...