Install the MVS Turnkey 5 System

Welcome back to 1968!

This will document installing MVS-TK5 on a Raspberry Pi.

The instructions in “Get and Install MVS-TK5” should work on other systems. See the MVS-TK5 website for more information.

Setup the Raspberry Pi

The System used

  • Raspberry Pi 3 B+
  • RPi-OS-Lite(64bit) Release date: May 13th 2025
  • TK5 version 4

Initial setup and installation

Use rpi-imager to create the microSD card

Insert the SD card into the RPi and turn on.

I use nmap to determine the IP address of the RPi.

ssh into the RPi

run: sudo apt update sudo apt upgrade

and reboot.

Install some basic applications

sudo apt install vim mc bat tree

Note: bat is installed as “batcat”.

cd to /usr/bin and sudo ln -s batcat bat

Use sudo nmtui to change to a static IP.

Get and install TK5

Visit the MVS-TK5 Website for more information.

Download the zip file.

wget https://www.prince-webdesign.nl/images/downloads/mvs-tk5.zip

Unzip and set it up.

sudo su to switch to root user.

cd / to go to the file system root.

unzip <mvs-tk5.zip> from where it was downloaded to.

cd mvs-tk5

Starting at /mvs-tk5, run these:

chmod 744 mvs

Use uname -m to determine the OS you are using. For this RPi; it is aarch64.

cd hercules/linux/aarch64/bin

chmod 744 *

Create a systemd mvs.service file

vim /etc/systemd/system/mvs.service

and paste the text below into that file.

[Unit]
Description=MVS 3.8j
ConditionPathExists=/mvs-tk5

[Service]
WorkingDirectory=/mvs-tk5
ExecStart=/mvs-tk5/mvs
KillMode=process
Type=simple

[Install]
WantedBy=multi-user.target

Set Mode

CD back to the /mvs-tk5 directory and run:

cd unattended/

bash set_daemon_mode

Run these to enable the mvs.service

systemctl daemon-reload
systemctl enable mvs

Reboot the RPi.

Note: About “systemctl stop mvs” and/or shutdown the server

I don’t know if this will “properly” shutdown MVS-TK5.

I do know the time to shutdown -h now the server takes a lot longer than normal.

I would recommend to shutdown normally, follow the MVS-TK5 shutdown instructions in the User Guide.

Use the mvs.service to start MVS-TK5 if the RPi is abnormally shutdown or needs to be rebooted.