If you’re on shared hosting using cPanel as the control panel, you’d probably has the same problem as mine. The ini_set function is disabled by the hosting company for security purposes. Yeah, I know it’s for security purposes, but if I have to use it, I have to use it. So I’ve learned from others …
Category: General
Compact a Linux vhdx for Hyper-V via PowerShell
To compact a vhdx file via command line (PowerShell) > mount-VHD -Path c:\VM\virtual_machine.vhdx -ReadOnly > optimize-VHD -Path c:\VM\virtual_machine.vhdx -Mode Full > dismount-VHD -Path c:\VM\virtual_machine.vhdx References:- Optimize-VHD Compact Linux guest virtual hard disk
Resize root LVM partition on CentOS
I installed my server using the default partition sizes recommended during installation. Over time, I realized that I used more space of other partitions than /home. After much searching around, this is what I did to get my server’s partition resized. “WARNING! THE FOLLOWING STEPS MAY CAUSE DAMAGED TO YOUR PARTITION AND IRRECOVERABLE DATA LOSS. …