Vagrant and Red Hat Enterprise Licensing [closed] - redhat

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Our team is starting to use Vagrant for development on Mac OS X machines so we can better simulate our Red Hat Enterprise Linux production environment. Our operations group says our Red Hat License only covers instances being run on our VMWare cluster. How do other people deal with RHEL licensing using Vagrant?

We were in the same situation and decided to use CentOS on our developer boxes. https://www.centos.org/

I downloaded basic rhel server I found online and built a vagrant box with Packer for use in Vagrant/Test Kitchen. I'm forced to use various other repositories (CentOS/EPEL/RPMFusion etc) instead of the RHN repos which I don't have access to without licensing. I actually wrote a small chef cookbook to write all the custom /etc/yum.repos.d/*.repo files after initial install. It definitely works for a dev environment. If you have access to different ISOs then you can built whatever versions of rhel that you need with Packer.
http://dtucker.co.uk/hack/creating-a-vagrant-base-box-for-rhel-with-bento.html
https://github.com/xacaxulu/packer-boxes/blob/master/README.md <----a box to use if you want.

Have you tried this?
https://access.redhat.com/downloads/content/293/ver=1/rhel---7/1.0.0/x86_64/product-downloads
Have you also checked the developer subscriptions?
https://access.redhat.com/support/offerings/developer/
There is a blog specifying how to use vagrant with RHEL... but I can't post 3 links :(

Here is a proposal (I am using this approach since I am also working with rhel vagrant boxes for running ansible scripts)
Create a red hat developers account here (click on register).
Download an rhel vagrant box from here (you will have to log in with your previously created account.
Fire up your box and ssh into it.
Follow these instructions to register your vm

Related

What servers are suitable for Perl on a development box? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm maintaining a simple web site written in Perl in my copious free time, and I don't want do my coding on the live website any more, instead checking if the changes work on a local machine first.
As far as I can tell, the web site runs on apache.
Should I install apache on my local machine, or are there simpler (but well documented!) options more suited to a development box?
Related question: How can I run Perl on web servers? , but seems to be talking about a production box, not a development box.
XAMPP is an excellent package for precisely this purpose. It includes Apache, MySQL, PHP, Perl, and other tools, all pre-configured to run on your local machine. I use it for WordPress, but I expect that it would be equally good for Perl CGI development.
I use it on Windows. It is also available for Linux and Mac.
Hat tip to Kenosis, who mentioned XAMPP first. I didn't see that at the time.

Installing Emacs in the terminal on Chrome OS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Chrome OS has vim preinstalled. I would like to add Emacs in terminal mode. I have not found any leads by searching the internet. My question is:
How I can Install software locally on Chrome OS?
ChromeOS is not derived from Ubuntu.
I don't think you can install any software on it unless it's a pure web app.
BTW, if you wish to have a nice editor to write code try cloud9 (or some other online editors/IDE that gives you powerful options to develop).
Here is a short post I've wrote on the options we have today in ChromeOS: http://greenido.wordpress.com/2011/07/04/web-developers-and-the-new-chromebook/
#Ido It is not Ubuntu, but I do believe it is derived from Ubuntu. It is definitely Linux, and follows a lot of the Ubuntu/Debian conventions. Supposedly you can install qemacs on a chrome os device with the following steps.
Boot into developer mode.
Get to the console with cntl-alt-f2.
"sudo su -" to become super user.
Run "dev_install", which will install the portage package management tools.
Run "emerge qemacs" to install emacs.
That's the theory, anyway. There appear to be some unresolved bugs with dev_install.
ymacs.org looks promising to me
I think the best way to achieve this is with crouton by installing ubuntu itself in your chromebook without a graphical desktop, so you can run ubuntu/emacs/whatever in a regular google chrome tab.
That is:
turn on developer mode
get crouton : https://github.com/dnschneid/crouton
install ubuntu raring without X (follow the blog instructions)
install emacs
sudo apt-get install emacs
NB: Give this no-X thing a try, it's much better to swipe between tabs than to switch screens every time you want to use emacs.

Which OS will be the best subsitute for the Microsoft Windows XP/7 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I want to switch my OS from Windows XP to but as a software developer I am worried about that will I able to install/run the development tool successfully [Software like: Visual Studio, Sql Server, PHP ... other related tool].
Which OS will be the best subsitute for the Microsoft Windows XP/7, from a developer point of view?
This really depends what platform you want to develop the software for. If you are writing Windows programs, Microsoft makes great developer tools which of course run on Windows. The effective tools to develop Mac software are (no surprise) available on Macs. So there's really only a choice if you're targeting cross-platform or Linux. You can use virtual machines to construct whatever testing environments you need, so the main choice is your preference.
Since you sound like you are interested in experimenting with new environments, I would suggest you try Linux. I primarily use Emacs with GNU Global and GDB in Linux to do all my development, and I have benefited from other tools like strace and Valgrind. Eclipse is also available, and I hear it's nice. Since you're used to MS tools, I'll warn you that the open-source stuff isn't as polished or as integrated as MS's stuff appears to be, but it's certainly capable.
Well, if you need Microsoft-based software, such as Visual Studio and SQL Server, the best choice of OS will probably be a Microsoft one...
After that, you might want to run some Virtual Machines, for PHP / Linux development.

BSD Virtual Guest [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
So I am a big fan of VMs, actually got experience enough to switch my development box to a linux distro. At this point I would like to get more experience with BSD and hope to do this with a VM. So the question I have is what configuration is correct?
BSD...
List item
FreeBSD
OpenBSD
PC-BSD (I know it is FreeBSD with a KDE, but might be simpler to get started with)
Which Virtual Machine is best for these guests (on a linux host)
List item
VMWare Workstation (have a license for 7)
Virtualbox 4
QEmu
Other?
Any suggestions from experts would be great. I was able to get FreeBSD and PC-BSD installed on virtualbox 4, however I get horrible resolution that I can't seem to fix.
I found the 'right virtual machine' requires some tinkering. VirtualBox ran Plan9 really slowly, qemu+kvm ran it hundreds of times faster. qemu+kvm also ran an Ubuntu guest at what felt like faster-than-hardware (at least for booting :) but I've read accounts from people that say the exact opposite, that VirtualBox outpaced qemu+kvm. Test them both :) that way you get the experience, and can know which one is more usable for your environments.
As for the BSDs, I ran OpenBSD for years and really liked it. You probably can't go wrong with FreeBSD. Learning both wouldn't be a bad idea -- they have different feature sets and excel at different tasks.
Don't let KDE in PC-BSD sway you too much, the different KDE things ought to be available in all their ports trees. Or try life without KDE or Gnome for a while.
I run FreeBSD 8-STABLE guests in VirtualBox 4.0.4, running on Windows (XP & 7) systems. It works, but there are some caveats. Seamless mode (which you might use with Linuxen) doesn't work, and it takes some configuring to get things set up exactly right. See http://wiki.freebsd.org/VirtualBox for the settings you need.
I played with virtualized PC-BSD, and it worked about the same as FreeBSD, since it is FreeBSD. PC-BSD has some nice features for the newbie to take some of the pain out of installing software.
I have also tried NetBSD as a VirtualBox guest. It "works" (for some definitions of work), but you have to launch the VM with something along the line of "vboxsdl.exe --nopatm --startvm [machine]". This worked for me on one Windows box but not on another. I didn't get around to seeing if X works.
I have not tried OpenBSD, but I seem to recall there being images out there, so it should work to some degree.
I don't have experience with other virtualization software, so can't help you there.

VM Player: is it possible to create snapshots? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am currently using VMPlayer to host Windows 2008/SharePoint 2010. I created a virtual environment and I would like the ability to revert to snapshots or restore points.
Is this possible?
You can just pause the VM and make a copy the VM folder.
No, VMWare Player won't allow that.
From their FAQ page:
How does VMware Player compare to VMware Workstation and VMware ACE?
VMware Player enables you to quickly and easily create and run virtual machines. However, VMware Player lacks many powerful features, such as Teams, multiple Snapshots and Clones, or Virtual Rights Management features for end-point security found in VMware Workstation and VMware ACE.
You can mange snapshots with command line tool vmrun which comes with VmWare workstation. You do not need to run workstation and buy it. You can just install it and use vmRun for snapshots and VmWare Player for running VM