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:
Install on Reboot
Copy the downloaded packages to /boot/extra
on the USB drive so that these packages are automatically reinstalled on reboot.
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:
- Firstly I downlaoded it to
/boot/extra
so that it will be auto-installed on reboot:
- I install it in the current system with
installpkg
: