Linux Virtual Machines

How to Expand a Linux Virtual Machine Hard Drive

I’ve been putting off expanding the storage space on my Nextcloud VM for a couple of months now. However, a few days ago, the storage space hit less than a few hundred megabytes and I wasn’t able to login or upload any new files, so I was then forced to upgrade it and here are the steps I followed.