summaryrefslogtreecommitdiff
path: root/sites/pmikkelsen.com/mainframe/MVS-TK5-Setup.md
blob: 6630fb7990cee501050d469cde44e751cf6bbcad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Introduction

This is how I setup mainframe.pmikkelsen.com, which runs MVS TK5.
It might not be the best way to do things, and it for sure isn't the most secure way, but.. yeah.

# Setup a server

I chose an ubuntu 24.04 server from Hetzner, and hopefully the cheapest one is powerful enough.

# Download and setup TK5

At the time of writing, the version I downloaded is MVS TK5 update 4.

	cd somewhere/that/makes/sense
	wget https://www.prince-webdesign.nl/images/downloads/mvs-tk5.zip
	chmod -R +x *
	cd unattended
	./set_console_mode
	./mvs

Now the system is running, and you should be able to connect to it using x3270 on linux, specifying the server's IP and port 3270.

It is probably a good idea to run the ./mvs script inside `screen` or `tmux` so the ssh connection to the server can be closed without stopping the emulator.

# Setting up accounts

It is probably a good idea to change the passwords for the default accounts, or at least the admin ones. Also, while we are at it, adding some new users can be added. Both of these steps are described in the [Adding Users](adding-users) guide.