Quantcast
Channel: Linux on the mainframe
Browsing all 18 articles
Browse latest View live

Running an FTP client within z/VM

To start an ftp client i.e. as MAINT, link first the minidisk 592 of TCPIP. To save the files i.e. to the LNXMAINT, link his minidisk 192 too.vmlink lnxmaint 192 (wLNXMAINT 192 linked M as 0121 file...

View Article



Getting a quick systeminfo for a linuxguest on s390x

For the purpose of getting a quick overview of the current linux instance you're working with I wrote a small script which shows me the most important information I need. Amongs other things the script...

View Article

Image may be NSFW.
Clik here to view.

Install eclipse 4.2.0 on SLES 11 SP2 (s390x)

It might be very interesting to develop directly on the mainframe using Linux (s390x) and eclipse. First download eclipse 4.2.0 for s390x under the URL...

View Article

Image may be NSFW.
Clik here to view.

KVM: Convert vmdk to raw

In this example I'm working with a Red Hat 6.2 client (x86_64). As Hypervisor KVM is running. There are several VMware images available which I should running as a linux instance under KVM. So a...

View Article

A piece of ftp automatization

Often I have to copy the same files to a new linux guest. For that reason I setup a linux server with services like NFS, FTP, HTTP etc. To copy files from the server to the client there are a lot of...

View Article


Mount an iso image, make an fstab entry

 It's useful and efficient if you could use a mounted ISO image. The procedure to mount ISO images under Linux is easy.  Hint: There is post how to create an ISO image using dd. There are only three...

View Article

ssh – keep alive the session

To keep alive a ssh session, you should insert the following lines into ~/.ssh/config on the client side:KeepAlive yesServerAliveInterval 60The post ssh – keep alive the session appeared first on Linux...

View Article

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.

The bash prompt – modify it for your needs

If you're opening a shell it is appearing of course: the bash prompt. There a lot of shares in the web already. I'm talking only about the general login prompt this time, not of the .bashrc which...

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 all 18 articles
Browse latest View live




Latest Images