Quantcast
Channel: Linux on the mainframe
Browsing latest articles
Browse All 18 View Live

Tricky: Using sed on the 3270 terminal

We're working with a virtual Suse guest named "demo1" created under z/VM 6.1. The owner changed the network settings from a static ip address to the DHCP mode. Unfortunately, there was no Domain Name...

View Article


tar and ssh – make a backup

In this example we're using tar and ssh to make a backup of just a directory over the network. The directory 'sampledir/' from the node SLES11FT will be compressed and stored on the node LXSWAS01 into...

View Article


Define alias in z/VM: SYNONYM

Assuming you got a new CMS User you may define some aliases. Please, check first if you have the appropriate entry 'SYNONYM SYN' within your file PROFILE EXEC./*******************************//*...

View Article

Image may be NSFW.
Clik here to view.

A colored bash prompt – modify it for your needs

If you're opening a bash shell it's appearing of course: the bash prompt. As I'm working with a lot of linux guests it's difficult to keep the overview as admin. If you're working with DHCP the ip...

View Article

DIRMAINT: Password syntax check

If you're testing the new z/VM using DIRMAINT in a second level installation for example, it could be painful if the "password syntax check" is demanding an appropriate password. For a productive...

View Article


Linux: Save the MBR

It is a good idea to save the MBR (Master Boot Record) of a Linux installation. We're going to use just the 'dd' command. First find out the start device which is in the most cases the first one. fdisk...

View Article

Good LUKS: Add a second harddrive and encrypt it with LUKS

It's mandantory to protect sensitive data especially directing our attention to mobile devices. So every harddisk/device we're working with should be encrypted. I'm encrypting Linux usually with LUKS...

View Article

Image may be NSFW.
Clik here to view.

Good LUKS: Automatically mount a second LUKS harddrive

You're inserting an already encrypted harddisk into your notebook as a second device assuming you know the password to decrypt your container . You won't enter the password for the second harddisk...

View Article


Execute commands on the other SSI members (z/VM 6.2/6.3)

At [VMNODE] cmd [command] [option]Within the z/VM Cluster you're able to execute commands on the other SSI members. In this example the current node is 'pokdev62'. There's defined a linux guest named...

View Article


Image may be NSFW.
Clik here to view.

Repairing Linux – edit files or reinstall grub (x86)

 Even if you're working with Linux it could happen that a system doesn't come up again. In the most cases the problem is between the monitor and the keyboard - the user itself....... . Let's take an...

View Article
Browsing latest articles
Browse All 18 View Live