Professional Documents
Culture Documents
Get Connected on the LinuxONE Community Cloud You’ll take control of your own Linux system running on IBM Z All you need is a computer and an
hardware, giving you the ability to install packages, compile SSH client (The one in VS Code
15 steps 90 minutes software, and even host a web page. Enjoy your stay! will work) to connect.
1. GET YOUR VIRTUAL MACHINE 2. SET THE EVENT CODE 3. SELECT RHEL82
Head over to the LinuxONE developer page and do a little To help us keep track of Master the Mainframe contestants on There are a number of Linux Distributions available for Z
reading about the IBM LinuxONE system and Community the system, and to ensure systems remain available hardware, including SUSE Linux Enterprise Server (SLES) and
Cloud. Then follow these instructions to request your own throughout the contest, make sure you enter MTM for your Redhat Enterprise Linux (RHEL). For these challenges, we'll be
virtual system. event code. using RHEL8.2, so make sure you select that here.
https://github.com/linuxone-community-cloud/technical- Afterwards, if you want to try out another flavor, just go back and
resources/blob/master/faststart/deploy-virtual-server.md de-provision your RHEL server and request a SLES instance.
You will follow the instructions in this guide pretty closely, but
please read ahead through steps 2-4 here, as they contain
information specific to Master the Mainframe.
Try to do an ls of /root. As a non-root user, you will get a Enter sudo ls /root and you should see something different Yum is a software package manager for Redhat Linux. We need
Permission denied error because you’re not allowed to look this time. to first say sudo to issue a privileged command, then we are
around in there. simply telling yum to install the editor called nano.
While you’re there, you can also issue yum search nano to find
out about that package, or any other software you may be
“OH NO I BROKE IT. CAN I GET ANOTHER? interested in. Try yum search text to see a list of installable
Of course! Head back to the the Linux Community Cloud page, delete the virtual machine that’s pacakges that mention "text" in their name or description.
currently running, and then make a new one. You can use the same keys, no need to set that up
again. For the curious, yum stands for Yellowdog Updater, Modified.
Yellowdog Linux was a Redhat-based Linux distribution
Some tips to keep your system from going belly-up: Stay in the linux1 user unless you absolutely popular with older PowerPC-equipped Macintoshes.
need to perform an action as root. That’s when the sudo command gets used, and ideally you
should double, or even triple-check your commands before hitting Enter. Don’t be afraid of ruining a
mainframe by entering commands, everything is kept safely isolated through the hypervisor and
Want to talk? Join our Slack Tweet about it!
virtualization. (Although you should always follow the usage guidelines and restrictions set forth by
ibm.biz/mtm_slack #MasterTheMainframe
the Linux ONE Community Cloud agreement. Nothing malicious or too network-intensive, please.
LNX1 Big Time Linux for Mainframe Masters
10. EDIT A FILE 11. TAIL A FILE 12. FIX, OBSERVE AND EXIT
Change directory to /home/linux1 ( cd /home/linux1 ) and Sometimes you want to see a file that’s under construction. Did you get a Permission Denied message? You know how to fix
type nano my-file. You are now using the software you just Sound strange? What about keeping track of all of your that, right?
installed! Type some stuff (keep it clean, the admins are system’s messages in realtime, as they get added to the log
watching) and then type Control-O to save the file (hit enter to file. We can find that in the /var directory, since that’s where Tail shows us the bottom part (get it) of a file, and the -f flag
accept the name) and then Control-X to exit out. Nano is one of variable files like logs and spools live. says to “follow” it, showing any updates as they’re added. If
the simpler text editors available on Linux anything happens on your system that it thinks is important, it
Try out this command: will show up here. Control-c cancels the command.
tail –f /var/log/messages
No validate steps here, just enjoy and keep on going!