Creating My First VM and Web Server

Resources (These will be in each post I make listing any articles, videos, or threads that were helpful for me as I go through setting up things myself. Hopefully they will be helpful for you too! Thank you to everyone that makes these resources available for free online.)

Since I set up my home lab the other day – for more details see here – I wanted to get a virtual machine running on my server. I chose to use Ubuntu Server for my first VM on ProxMox. I downloaded the ISO from here and uploaded it to ProxMox. I went through the installation process, most of which I kept the same. The first change I made was to use 2 cores instead of 1 just to give the server some more power. The second change came after trying to boot the server. It did not work and I kept getting “() kvm: warning: host doesn’t support requested feature: CPUID.01H:ECX.aes [bit 25] kvm: Host doesn’t support requested features TASK ERROR: start failed: QEMU exited with code 1“. I found out that this meant I have to change the CPU, which was easy enough – it was a quick switch to kvm64 (which you can find if you have the same issue by going to Hardware -> Processors).

Now that Ubuntu Server would load, I tried to install it. The first time did not work. It would only let me type odd numbers on my keyboard and I am still not sure why that happened. On the second install, everything went well. I still need to go back to set a static IP, but wanted to get it installed first. Once installed, I had to remove the CD-ROM disk from ProxMox’s settings under Hardware so that it would not load into the installer. I quickly installed apache2 so that I could set up a web server. Once that was established, I found the IP address using “ip a” and it was up and running! It is not publicly available because I want to install software to monitor the site and prevent intrusions before I make it accessible to the public. That will be the next post!

Leave a Reply

Your email address will not be published. Required fields are marked *