homepage

Unraid is a lightweight operating system for running storage servers with software controlled RAID arrays.

I use Unraid for my home lab, the built in docker runtime is quite useful for runningselfhosted web services.

Installing VIM in Unraid

Check what version of slackware we are running with cat /etc/os-release and you’ll get output that looks like this:

NAME=Slackware
VERSION="15.0"
ID=slackware
VERSION_ID=15.0
PRETTY_NAME="Slackware 15.0 x86_64 (post 15.0 -current)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:slackware:slackware_linux:15.0"
HOME_URL="http://slackware.com/"
SUPPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"
BUG_REPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"
VERSION_CODENAME=current

Use the slackware package manager to find the packages to download. Here are the packages for

Download the packages and install them:

wget http://mirrors.slackware.com/slackware/slackware64-15.0/slackware64/l/libsodium-1.0.18-x86_64-3.txz
wget http://mirrors.slackware.com/slackware/slackware64-15.0/patches/packages/vim-9.0.2127-x86_64-1_slack15.0.txz
installpkg libsodium-1.0.18-x86_64-3.txz
installpkg vim-9.0.2127-x86_64-1_slack15.0.txz

Install on Reboot

Copy the downloaded packages to /boot/extra on the USB drive so that these packages are automatically reinstalled on reboot.

cp  libsodium-1.0.18-x86_64-3.txz vim-9.0.2127-x86_64-1_slack15.0.txz /boot/extra

Docker BuildKit (BuildX)

See this thread - the key is to have unraid pull and install the buildx plugin on startup by addign the following to /boot/config/go:

# Docker buildx
mkdir -p /usr/libexec/docker/cli-plugins/
BUILDX_VERSION=$(curl -s https://api.github.com/repos/docker/buildx/releases/latest | grep 'tag_name' | cut -d\" -f4)
curl -L https://github.com/docker/buildx/releases/download/${BUILDX_VERSION}/buildx-${BUILDX_VERSION}.linux-amd64 -o /usr/libexec/docker/cli-plugins/docker-buildx
chmod +x /usr/libexec/docker/cli-plugins/docker-buildx

mosh support

I installed the mosh plugin from here but when I tried to connect to my machine I was getting:

mosh-server: error while loading shared libraries: libssl.so.1: cannot open shared object file: No such file or directory
Connection to <servername> closed.

A quick bit of searching led me to install openssl-solibs package:

  1. Firstly I downlaoded it to /boot/extra so that it will be auto-installed on reboot:
cd /boot/extra
wget https://slackware.uk/slackware/slackware64-15.0/slackware64/a/openssl-solibs-1.1.1m-x86_64-1.txz
  1. I install it in the current system with installpkg:
installpkg ./openssl-solibs-1.1.1m-x86_64-1.txz