Condensed Technical Documentation Ubuntu Server 16.04

ls

df -h

lscpu

top

sudo nano /etc/network/interfaces

sudo apt update

sudo apt upgrade

sudo apt install fail2ban

sudo apt install qemu-kvm libvirt-bin bridge-utils virt-manager

sudo snap refresh nextcloud –channel=20/stable

sudo snap refresh nextcloud –channel=21/stable

sudo apt install haproxy

sudo nano /etc/haproxy/haproxy.cfg

haproxy status

sudo systemctl enable haproxy

sudo systemctl restart haproxy

virt-install –connect qemu:///system –name sub.domain.com –vcpu 4 –memory 8192 –cdrom ~/iso/ubuntu-16.04.1-server-amd64.iso –disk size=100 –noautoconsole –os-type linux –os-variant ubuntu16.04 –accelerate –network=bridge:virbr0 –hvm –graphics vnc,port=5922,listen=0.0.0.0

virsh list –all

virsh start sub.domain.com

virsh shutdown sub.domain.com

virsh destroy sub.domain.com

virsh edit sub.domain.com

virsh snapshot-create-as sub.domain.com v-1-description-no-spaces-or-no-work

virsh snapshot-revert sub.domain.com sub.domain.com v-0-clean-install

virt-clone –original sub.domain.com –name sub.domain-clone-1 –auto-clone

sudo adduser name

sudo usermod -aG sudo name

sudo usermod -aG rsync name

sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils

sudo apt install xrdp