Docker Setup Guide 2 minute read

Preparation


Official Installation Page

Portainer Installation


Installation


  • Standard installation
    $ sudo apt-get install ca-certificates curl gnupg lsb-release -y$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg$ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null$ sudo apt-get update$ sudo apt-get install docker-ce docker-ce-cli containerd.io$ sudo usermod -aG docker $USER
  • MacOS Installation with... read more
Kasm Quick Guide 2 minute read

Preparation


Official Installation Page

Swap Memory

$ sudo dd if=/dev/zero bs=1M count=4096 of=/mnt/4GiB.swap$ sudo chmod 600 /mnt/4GiB.swap$ sudo mkswap /mnt/4GiB.swap$ sudo swapon /mnt/4GiB.swap# make swap available on boot$ echo '/mnt/4GiB.swap swap swap defaults 0 0' | sudo tee -a /etc/fstab

Verify swap file exists

$ cat /proc/swaps


Installation


  • Standard installation
    $ cd /tmp$ curl -O https://kasm-static-content.s3.amazonaws.com/kasm_release_1.11.0.18142e.tar.gz$  read more
    			
    SSH Quick Guide 1 minute read

    Generate new SSH Key

    $ ssh-keygen -t rsa -b 4096 -C "name@email.com" ~/.ssh/id_rsa ~/.ssh/id-rsa.pub # (optional passphrase and name)

    Add new key to ssh-agent

    $ eval $(ssh-agent -s)($ eval `ssh-agent -s`) Agent pid 12345$ ssh-add ~/.ssh/id_rsa

    For Windows, open PowerShell as Administrator

    Add-WindowsCapability -Online -Name OpenSSH.Client*

    OR

    1. Open Manage Optional Features
    2. Add a Feature
    3. Search for OpenSSH and install

    THEN

    $ key-gen -t rsa... read more