Taken from a DigitalOcean tutorial.
Create and enable swapfile:
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo cp /etc/fstab /etc/fstab.bak
Taken from a DigitalOcean tutorial.
Create and enable swapfile:
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo cp /etc/fstab /etc/fstab.bak
http://mojodna.net/2014/05/14/kvm-libvirt-and-ubuntu-14-04.html
Example: https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img
#!/bin/bash | |
# The following script will export all accounts to an import script. | |
# this script should be run as zimbra user | |
# target for ZCS 8, single server deployment | |
# last update 2014-04-04 | |
# [email protected] | |
# original at http://www.3open.org/d/zimbra/export_accounts | |
# customize these to your needs |