HostOnNet Blog

Category Archives: Virtualization

Install LetsEncrypt SSL on Proxmox Node

To install LetsEncrypt SSL certificate for Proxmox VE Server, first install certbot-auto, this is a command line tool to generate/renew LetsEncrypt SSL certificate. Now run certbot-auto, when you run first time, it will download some required packages and install it.


Entering Running Docker Container

To enter a running docker container, run You can find docker container with docker ps command. Back to Docker


Adding ISO Files to ProxMox

To add ISO images of CentOS to Proxmox, run Now ISO will be available for Install in new VMs created using ProxMox. List VMS On ProxMox Server


Ubuntu KVM Guest DNS resolution not working

Ubuntu use for DNS servers. You should not edit this file. If you edit, your edit will be lost on boot. You should edit Add Reboot VM. Now DNS resolution will work.


KVM Windows Server 2012 Guest Port Forwarding

I have a Windows Server 2012 KVM Guest on a Linux Server. Guest VM use Private IP. To access Remote Desktop of this VM from Internet, we need to make TCP and UDP port 3389 available to public. Since KVM


KVM Guest forwarding port to Host

To forward port from KVM Guest to KVM Host (Node), for example, you want Port 22 of KVN Guest accessible as Port 2222 on KVM Hosts public IP address. First, shutdown VM Now edit VM config. Add following before before


KVM ubuntu guest console not working

On KVM Virtual Machine running Ubuntu Guest, console command shows blank screen. This is because serial console is not running in Ubuntu Guest. Connect to guest using VNC. Create file Add following content The content of the file is Now,


virsh error: Unable to create cgroup for x: No such file or directory

I have 2 test KVM virtual machine on a server Recently i tried start one of the Virtual Machine, i got following error. After some searching, i found this is due to bug in “systemd”, that deletes cgroup directory that


OpenVZ VPS Creation Error – The ploop image can not be used on ext3 or ext4

When i create a VPS, i got error This is because OpenVZ recently started using ploop image for OpenVZ virtual machines. To fix this, edit /etc/vz/vz.conf Find Replace With Now you will be able to create VPS.


Installing CSF in OpenVZ Hardware Node

If you install CSF on OpenVZ hardware node, you won’t be able to access VPS. To fix this create a file /etc/csf/csfpre.sh with following content [root@server12 ~]# cat /etc/csf/csfpre.sh /sbin/iptables -A INPUT -i venet0 -j ACCEPT /sbin/iptables -A OUTPUT -o