Technology, Linux

Proxmox Quirks & Configurations

With the install of Proxmox and configuration of the raid array out of the way, it was time to do some final configurations and get started spinning up VMs.

One problem that I ran into right off the bat was an issue with the web console.  For some reason, if I left the connection idle for a few minutes it would disconnect, but then refuse to reconnect.  It wouldn’t log me out of the interface, it would just refuse to display any information and timeout instead.  However, if I tried to log out and back in, normally it would show the realm as “Linux PAM standard authentication” but during these times that would be blank and I would be unable to log back in.  The remedy for that issue was to SSH in and issue the command:

I haven’t run into this for several weeks now, so suspect the issue has been corrected with an update.

The next step I needed to take was to create directories in /mnt/vmstorage to house my virtual machines, containers, installation media, and backups.

Once those are created, you can then add them from the web interface by going to Server View > Datacenter > Storage and clicking Add and then Directory.  You have to set the type on each one that is added.  For instance, CT will hold both Containers and Container Templates, while VM will hold Disk Images, etc.

At this point there were just a few things left to do, one of which was to configure Postfix so that I could get email alerts.  First thing I did was to edit /etc/postfix/main.cf and add the following lines to allow relaying of mail through my external domain host:

I then needed to create /etc/postfix/sasl_passwd and run the postmap command.

Create /etc/postfix/generic and run newaliases, I need this step so that all outgoing mail is sent as a user from my external domain, which allows it to authenticate with the smtp server.

Now I needed to install the sasl packages to allow authentication with my particular server:

and lastly, restart postfix:

If you want to verify that everything was successful, send a quick email using the mail command in the shell:

At the time when I was setting all of this up, I was working on getting my CompTia Linux+ and LPIC-1 & 2 and plan to get RHCSA and RHCSE, so I decided everything was going to be CentOS/Fedora.  There are a number of container templates available for download, you can use the following commands to see what is available and download whatever you need:

The final step was to upload my windows installation ISOs.  To accomplish that you change to Storage View, then go to Hypervisor name > ISO > Content and then click the Upload button.  I uploaded my ISO files for Windows Server 2012R2 as well as Windows 10, and Windows 7.

In the next post, I’ll go through the installation/configuration of my first Domain Controller.

Series Navigation<< Installing ProxmoxShiny New DC >>

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.