Installing Proxmov VE 5.4 and removing the "no valid subscription" popup

Installing Proxmov VE 5.4 and removing the "no valid subscription" popup

In this recording I am installing Proxmox VE 5.4 onto a Qemu virtual machine, then removing the annoying subscription banner, since this is just a test setup. I am then also installing a Centos 6 container and a Centos 7 virtual machine, so that they can be used in the setup of X2Go, which will be in a later recording. Below are some of the commands that I used during the installation.

sed -i -e "s/data.status !== 'Active'/false/" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js &&  systemctl restart pveproxy.service

sed -i.bak 's/NotFound/Active/g' "/usr/share/perl5/PVE/API2/Subscription.pm" && systemctl restart pveproxy.service

nano /etc/apt/sources.list.d/pve-enterprise.list

nano /etc/apt/sources.list

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription

Go to Proxmox interface and select 'local' storage

Upload iso's and download templates

yum install openssh-server
service sshd start
yum install nano screen wget
nano /etc/ssh/sshd_config