Cloning Openvz Proxmox PVE container guest machine Rumi, November 4, 2015December 13, 2016 I first created a ‘template’ vm containing all stuff I need and using a temporarily ip adres. In the network config file of eth0 (/etc/sysconfig/network-scripts/ifcfg-eth0) I comment out the HWADDRESS line, else it will not come up with another mac address… Stop this ‘template’ vm as it is just used for cloning. Create a backup : vzdump –dumpdir /path/to/backupdir –snapshot 101 Restore in new container : vzrestore /path/to/backupdir/backupfile_of_container_101 102 or vzrestore –storage ‘storagename’ /path/to/backupdir/backupfile_of_container_101 102 Create a new mac for eth0 : vzctl set 102 –netif_add eth0 Modify the hostname in the proxmox webinterface. Bootup the vm and open a vnc console. Change the ip address in /etc/sysconfig/network-scripts/ifcfg-eth0 Go to /etc/ssh and remove all keys : rm -f /etc/ssh/*key* Restart the ssh server so it will regenerate keys : service sshd restart Related Administrations Configurations (Linux) OpenVZ Cloning VMOpenVZProxmoxPVE
Install Varnish Cache On Debian 7 November 6, 2016 Normally Varnish Cache is available on Debian default repositories. But i suggest you to use Varnish Cache repositories to get latest version of Varnish Cache. Run the following commands as root user to install Varnish Cache. # curl http://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add – # echo “deb http://repo.varnish-cache.org/debian/ wheezy varnish-3.0” >>… Read More
Virtualmin create a catch-all email account June 21, 2023 This tutorial will cover how to setup a catch-all email account. Once finished, it will be the default destination for any email arriving at your domain, unless overridden by another email account or alias. It assumes you have logged into Virtualmin as the root user. You can make any email… Read More
Install Docker on Debain 10 December 21, 2021 Installing Docker The Docker installation package available in the official Debian repository may not be the latest version. To ensure we get the latest version, we’ll install Docker from the official Docker repository. To do that, we’ll add a new package source, add the GPG key from Docker to ensure… Read More