Re: Best way to edit Linux files in z/VM 3270
Also remember that for ".conf" files that are assigning values to environment variables, last assignment wins. So, sometimes I just use "echo" to append a new value to the file so that I can get the system up. (3270 copy and paste also helps input the line.) Then later on I use vi to remove the duplicate assignment. On Tue, Sep 20, 2016 at 2:59 PM, Marcy Cortes wrote: > There's just mainly one sed command that i've needed in order to fix > enough to get the network up. > > sed -i -e 's/oldstring/newstring/' filename > > That's generally been enough to get me through say bad IP addresses or > gateway settings. > > > > -Original Message- > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of > Mark Post > Sent: Tuesday, September 20, 2016 12:25 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: [LINUX-390] Best way to edit Linux files in z/VM 3270 > > >>> On 9/20/2016 at 03:01 PM, "Diep, David (OCTO-Contractor)" > >>> > wrote: > > Hi everyone, > > > > I've searched everywhere and I cannot find for editing Linux files > > while logged in with 3270. Vi will just get me stuck. I looked at > > 'ed', but I get stuck as well... any recommendations?? > > The ed command works fine, but you need to understand how to use it. It's > ... different. > > I frequently use sed, but if you're at the point where the root file > system is mounted, you should be able to use the terminal server access. > This allows you to SSH to the terminal server, then connect to the target > system and use the normal vi/vim editors. > > > Mark Post > > -- > For LINUX-390 subscribe / signoff / archive access instructions, send > email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit http://wiki.linuxvm.org/ > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > -- Bruce Hayden z/VM and Linux on z Systems ATS IBM, Endicott, NY -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Project mgmt software
Kind of as an extension to Mike M's looking for a problem tracking system, does anyone use a Project mgmt tool on z...either VM or linux on Z? I have used redmine on linux on X, but having some issues with it on Z/ TIA Phil -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
QEMU sans KVM
On 09/15/2016 03:49 AM, Stefan Raspl wrote: > QEMU v2.7 is out! See > kvmonz.blogspot.com/2016/09/qemu-v27-released.html for a list of > highlights for KVM on z. Speaking of which ... does anyone know the ins-and-outs of using QEMU for z "guests" without KVM? I've used QEMU to present other architectures. (Was running SPARC just last week.) But QEMU is very PC-oriented, so it's tough to wade through the doco for mainframe hints. Will QEMU even do 3390 or 3370? or OSA or LCS? The para-virt disk and NIC are nice for a lot of use cases, but they present a short-fall in the grand picture of full capability we all hope to see. Hercules works fine. Nothing wrong with it, except that libvirt won't talk to it. Ah! Now there's a novel idea: hypervisors and emulators which can be managed through a common utility or protocol. So QEMU is interesting if perhaps I can launch 'virt-mangler' and bring my Linux/390 into the same console as the other kiddos. -- R; <>< -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: QEMU sans KVM
>>> On 9/21/2016 at 04:45 PM, Rick Troth wrote: > On 09/15/2016 03:49 AM, Stefan Raspl wrote: >> QEMU v2.7 is out! See >> kvmonz.blogspot.com/2016/09/qemu-v27-released.html for a list of >> highlights for KVM on z. > > Speaking of which ... does anyone know the ins-and-outs of using QEMU > for z "guests" without KVM? I'm not aware of any way to do that. > I've used QEMU to present other architectures. (Was running SPARC just > last week.) But QEMU is very PC-oriented, so it's tough to wade through > the doco for mainframe hints. Will QEMU even do 3390 or 3370? or OSA or > LCS? The para-virt disk and NIC are nice for a lot of use cases, but To my knowledge, no. All that is there are the virtio-ccw devices. > they present a short-fall in the grand picture of full capability we all > hope to see. > Hercules works fine. Nothing wrong with it, except that libvirt won't > talk to it. Ah! Now there's a novel idea: hypervisors and emulators > which can be managed through a common utility or protocol. So QEMU is > interesting if perhaps I can launch 'virt-mangler' and bring my > Linux/390 into the same console as the other kiddos. This works if you have libvirtd running on the host LPAR. I've used it many times. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Best way to edit Linux files in z/VM 3270
Indeed, sed/awk can be used. Or check out the rpl package, but still that is just a command to replace strings from the command line, just like sed. The only times I need to use the 3270 console is when the network (ssh) is not available. In that case we have the option to shutdown the machine, since it's not available to the customer anyway. Then we can link/mount the disks in our emergency system and use vi (or whatever full-screen editor) from there. Regards, Berry. Op 20-09-16 om 21:10 schreef Harley Linker: The only option that I'm aware of is the 'sed' command. Harley Linker -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Diep, David (OCTO-Contractor) Sent: Tuesday, September 20, 2016 2:02 PM To: LINUX-390@VM.MARIST.EDU Subject: Best way to edit Linux files in z/VM 3270 Hi everyone, I've searched everywhere and I cannot find for editing Linux files while logged in with 3270. Vi will just get me stuck. I looked at 'ed', but I get stuck as well... any recommendations?? Thanks David Diep -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ © 2016 Ensono, LP. All rights reserved. Ensono is a trademark of Ensono, LP. The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/