I've just got my first dev-box at work. We install linux ubuntu and then run RHEL via virtual box on these systems. I know a bit of linux commands, but I've totally lost touch. Is there any guide to the terminal commands in RHEL - when it comes to installing packages and port forwarding and so forth?
Something like a book for dummies....Any help would be greatly appreciated.
You should be able to fill all of your RedHat documentation needs here:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/
Maybe this one is the most relevant to your needs:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/7-Beta/html/System_Administrators_Guide/index.html
Related
I've recently started working with STAF and couldn't get 2 machines to communicate with each other. One of those machines is a Linux ec2-instance on AWS and can't be pinged.
I was planning on pinging STAF from one virtual machine to another to see if the company firewall could be the cause of this but I can't seem to use commands on linux (like "staf local ping ping" on windows for example). When I try to run STAFProc with gdb (in /usr/local/staf/bin) I get the following error.
(gdb) run
Starting program: /usr/local/staf/bin/STAFProc
/bin/bash: /usr/local/staf/bin/STAFProc: No such file or directory
(The STAFProc file is there though. Does gdb work from another directory?)
I'm not exactly experienced with STAF, AWS or even Linux so any help to get me started with debugging would be greatly appreciated.
Though it is a bit long since the question is asked and the op seem to figure it out already, I might still post my solution as well.
There is a possibility that it is caused by trying to open a 32bit binary on a 64bit device.
If you are working on Debian based os, try
sudo apt-get install lib32stdc++6
Can anyone please provide a detailed process of installing an Emulator on Linux and accessing the Mainframe from it. I have gone through almost all on net and I am unable to get through it.
There are very few 3270 emulators for Linux, including vendor products. The most common one is x3270 which you can install using the standard package installers. For example, sudo apt-get install x3270 on an Ubuntu system.
Try the MVS turnkey system: http://www.bsp-gmbh.com/turnkey/
I also had issues trying to do it "from scratch" but turnkey sets it all up nicely.
I want to start programming nesC for wireless sensor network on TinyOS in Windows environment. So far, I installed Cygwin terminal, and don't know how to install those packages.
To install the package, the command is like " rpm ***" but not sun command in Cygwin, it's Linux based. Is there any one can help?
So if you want to install TinyOS in windows, the simplest way is to run the virtual machine for windows, the steps could be found here:
http://tinyos.stanford.edu/tinyos-wiki/index.php/Use_TinyOS_in_a_virtual_machine
You can try
http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_TinyOS
but I would recommend to use TinyOS in Linux.
I know GUI is for the weak but unfortunately strictly using the terminal isn't an option for me. I have an instance of the Amazon Linux AMI and I have it all set up but I can't find a guide on how to get a GUI on Amazon and how to remote desktop/ VNC into it. I have seen stuff on how to do this for the Ubuntu instance but that is different from Amazon Linux AMI and I don't want to mess up my system or something like that.
So if anyone could point me to where I can find how to do this or tell me how I'd appreciate it
No, you can't. Amazon Linux does not have a Repo for X-server packages. Also, It was meant to be used for Server side roles and hence all he X related stuff is not available.
Consider using Ubuntu OR RHEL ami where you can configure X environment manually by following this and this.
You can set up VNC server for your EC2 Linux boxes. There are tutorials for ubuntu (xrdp) and RHEL (VNC server) in the following websites.
http://devopscube.com/setup-gui-for-amazon-ec2-linux/
http://www.comtechies.com/2013/02/how-to-set-up-gui-on-amazon-ec2-ubuntu.html
Hope it helps!
You can install a GUI just using one command
sudo amazon-linux-extras install mate-desktop1.x
I'm using a Remmina VNC as a client on my Ubuntu.
If you need a Windows client - then you have a plenty of options - RealVNC, TightVNC, TigerVNC, UltraVNC
Whats the simplest way to get a barebones linux server installed?
barebones = just enough to get ssh and package manager.
Current I've been using CentOS with server install and removing any packages that I know i do not want installed.
But is there a better way? I just want a simple ssh shell + package management to start with. Hardware is irrelevant since everything is happening in a VM.
Debian Stable net install.
Once you have that installed and up and running, you can apt-get or aptitude install whatever packages you want. That's how I set up my servers.
If you have the time installing Gentoo will give you just want you want and no more.
Arch just
su -c 'pacman -S sshd'
then you have about as barebones as you can get. Pacman its package management system is pretty easy to use and what not also.
You know the guys over at SliceHost have some very nice documentation on setting up Linux VM's. http://articles.slicehost.com/ubuntu-intrepid I am using their service and I found their documentation to be excellent. Particularly in getting a barebones VM up and running. I use their documentation as a reference for setting up iptables firewall and other basic system tasks on other systems. Hope this helps.
JEOS - Just Enough Operating System, an Ubuntu project, should be exactly what you are looking for.