This is… trickier than expected. Here’s the process:
Expand VHDX through Hyper-V
Extend the partition (gparted helps with this)
Extend the logical volume: lvextend –size +40G /dev/vg0/foo
Resize the filesystem: resize2fs /dev/vg0/foo
Other useful commands: pvs lvs
I always forget the exact flags, so here it is:
https://www.petenetlive.com/KB/Article/0001233
It appears that Ubuntu 18.04 switched network stacks to Netplan. This causes some strangeness when trying to set up DHCP reservations on Windows DHCP servers, as the physical address Netplan sends to Windows is not the MAC address of the interface.
From https://netplan.io/examples#windows-dhcp-server
Edit the config file under /etc/netplan/ to look like this:
network:
version: 2
ethernets:
enp3s0:
dhcp4: yes
dhcp-identifier: mac
Afterwards, run sudo netplan apply
This evening I set up WordPress on my Nginx virtual machine. I opted to go with WordPress, because while I’m a sysadmin by trade, I’m by no means a web designer, and I figured this would be a good way to learn the web server end of things.
Honestly, getting everything set up was pretty easy once I found the right guides. I followed DigitalOcean’s guide found here to get everything going, after going through their LEMP server guide found here.
Welcome to my website! This is mostly a project to learn the ins and outs of configuring Nginx and Ubuntu server. I’ll likely blog about my projects both computer and automotive. Hopefully I’ll post some items of interest, and maybe someone will learn something from it (other than me, of course).
I may end up posting some back-dated content to cover previous projects at some point.
In January I picked up a Dell R710 on the cheap to use for my homelab endeavors (a VM on which is hosting this site). Well now that I had a rackmount server, that meant I had no choice but to find a rack. However, there was no way I was going to spend hundreds of dollars on a rack for the one or two pieces of rackmountable gear that I currently own, especially considering they’re already out of the way in the furnace room. So I did what any cheap person would do, and set up Craigslist alerts to watch for a rack for sale, and man did I score big with this one. I found a 24U Dell rack with doors and cable management hooks, on casters. I really don’t need 42U and don’t want 42U given that this is going in my basement.
That 24 port Netgear will get mounted as soon as I get some screws (fortunately there were already cage nuts in the rack). As well the file server down and to the left will get rebuilt in a 4U rackmount once I get the chance (and I can finally get rid of that ancient full ATX Antech case). Don’t mind the orange light on the R710… one of the PSUs is unplugged.
Some day soon I’ll lay out my exact network setup.
A block about cars and computers