Intel SGX development on Vultr

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:

iPad 3 as a second display

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.

Hello, KDE Plasma

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.

Raspberry Pi 4 and microk8s setup

Quick setup of #microk8s on #raspberrypi4. Lets setup one node cluster for development or playing around with Kubernetes on Raspberry Pi 4. I have used Ubuntu 19.10 images for Raspberry Pi 4, which are available for download at: ubuntu-rpi. Assuming you have your rpi up and running, lets switch to installing Microk8s. Step 1: Enable memory cgroup 1 # emacs /boot/firmware/nobtcmd.txt And add: 1 cgroup_enable=memory cgroup_memory=1 After rebooting should see ‘1’ (enabled):

FreeBSD Jails Quick Start

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.