Introduction

This post explains how to set up development box with Intel SGX on Vultr bare metal server, but the same principle applies to any other Supermicro server which has supported CPU.

Setup

Assuming you have an account with Vultr, provision bare metal machine with Ubuntu 20.04. Once the machine has been provisioned, open Web console and press top right button: Send CtrlAltDel, after that keep pressing DEL until you get to BIOS and see the following screen:

Then go to the following Menu: Advanced -> Chipset Configuration and enable SW Guard Extensions (SGX) which is disabled by default:

If you have an older generation iPad or any other tablet, you can use it as an extension to your current monitor. In this setup I have used an iPad 3 — which has a great screen with 1536x2048 resolution and an older generation Lenovo T530i. To use iPad as a second monitor, I will use an old VGA trick, which tricks OS into having second monitor connected. After OS detects second monitor, set that monitor to be an extension to the main monitor, run VNC server and connect to the VNC server from an iPad.

Required parts:

  1. Laptop or…

For years I’ve been using i3 as my window manager on Linux/FreeBSD systems. Recently I wanted to try something fresh which I could comfortably navigate by mouse as well as keyboard, have all tools integrated, but still have a feeling of tiling window manager.

Enter KDE Plasma

I have used KDE years ago, actually around 15–20 years ago. Since then I haven’t followed KDE development, but recent screenshots in r/unixporn looked good enough to give it a go.

My current setup was:
Ubuntu 20.04 + regolith-desktop (built on top of i3 and GNOME).

New setup: Ubuntu 20.04 + KDE Plasma…

Quick setup of #kubernetes #microk8s on #raspberrypi4.

Lets setup one node cluster for development or playing around with Kubernetes on Raspberry Pi 4.

I have used Ubuntu 20.04.1 images for Raspberry Pi 4, which are available for download at: https://ubuntu.com/download/raspberry-pi. Assuming you have your rpi up and running, lets switch to installing Microk8s.

Step 1: Enable memory cgroup

# emacs /boot/firmware/cmdline.txt

And add:

cgroup_enable=memory cgroup_memory=1

After rebooting should see ‘1’ (enabled):

# grep mem /proc/cgroups | awk '{ print $4 }'
1

Step 2: Install microk8s

# snap install microk8s --classic --channel=1.20/stable
# usermod -aG microk8s ubuntu
# microk8s.enable …

Recently ACM Queue published an interesting article on container management, a subject which has been extensively debated throughout the past years. Article named: ”Borg, Omega and Kubernetes” [1]. Authors mention chroot and FreeBSD Jails as a starting point of containers. Historically, chroot was added to BSD in 1982 [2] and FreeBSD Jails was introduced with version 4.0 in 2000 [3]. When I started using FreeBSD with the same 4.0 version, I couldn’t predict that after 16 years so called containers will evolve to one of the mainly discussed topics in IT world. Most of credit for subject marketing in the…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store