Can one create an MIQ Dev Appliance in Linux or Windows environment? - manageiq

This README file provides a link to instructions on how to create the ManageIQ Appliance dev setup for a MAC OSX environment, but it says that Linux instructions are TBD. See Screenshot:
Are we truly limited to MAC OS for development? Are there no instructions out there for setting up in a Linux or Windows environment?
Thank you!

Can one create an MIQ Dev Appliance in Linux or Windows environment?
You can find the detailed guide here for different Linux distros.
Are we truly limited to MAC OS for development?
The main limitation is that Podman client On MacOS doesn't work properly. Since podman a tool for running Linux containers, you gonna need some remote linux machine running, in order to install the remote client and then setup ssh connection information in the podman-remote.conf file. (here)

Related

Jenkins windows and mac osx slave on demand

I'm currently testing a software that runs on multiple operating system as windows / Linux and Mac OSX. We are using Jenkins pipeline to perform those actions but on physical jenkins slaves.
I was wondering if there is a way to create MAc osx and Windows slaves on the fly. We are using Docker for the linux version.
For the two other os: we first looked at virtualbox (not maintaned since 4 years) and we are out of options here.
If somebody have an idea here to create slaves on the fly. That will help a lot

Docker native Windows support?

I have a hard time finding information about this. Somewhere I've seen news that Docker has now natively been integrated to Windows. So apparently this means they are not "Linux container" but some kind of "Windows containers"? Does anyone have more information on this?
There has been a significant update thanks to many Docker acquisitions, such as Unikernel. Now it is possible to install beta (as of April '16) of Windows program running Docker without any hassle.
Faster and more reliable: no more VirtualBox! The Docker engine is running in an Alpine Linux distribution on top of an xhyve Virtual Machine on Mac OS X or on a Hyper-V VM on Windows, and that VM is managed by the Docker application.
UPDATE (September '17)
Full native support available here.
An integrated, easy-to-deploy development environment for building, debugging and testing Docker apps on a Windows PC. Docker for Windows is a native Windows app deeply integrated with Hyper-V virtualization, networking and file system, making it the fastest and most reliable Docker environment for Windows.
Microsoft has added containerization primitives to the Windows kernel and are helping porting Docker Engine to Windows. That means you can run native Windows containers with Docker on Windows Server 2016. It's been in tech preview for a while and is free to try. Details here: https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/manage_docker?f=255&MSPPError=-2147217396
I have read this:
https://azure.microsoft.com/blog/2015/04/16/docker-client-for-windows-is-now-available/
As you can read there is only interface to manage docker containers inside Linux so far.
Currently (October 2016) there're a mess here.
Windows Server 2016 and Windows 10 build 1607 (Anniversary Update) support Docker containers natively. Obviously only with Windows as base images. Moreover only with Windows Server 2016 (Nano or Core).
But there's also Docker for Windows - which is the only suggested option on https://www.docker.com/products/docker#/windows. It's easily can be thought that that Docker is the one which runs natively on Windows. But it isn't!
Docker for Windows uses a VM with Linux to host all containers. So you can't pull Windows images.
So a try to pull an image will fail with "unknown blog" error:
C:\>docker pull microsoft/nanoserver
Using default tag: latest
latest: Pulling from microsoft/nanoserver
5496abde368a: Retrying in 1 second
94b4ce7ac4c7: Downloading
unknown blob
So Docker for Windows can be used only for Linux images!
How f... it's obvious, right?
For "real native Docker" (to run Windows container) we currently have download and install it manually as described in this manual - https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/quick_start_windows_10

vagrant openshift origin how-to connect to console?

I am a openshift origin noob and I try to install it on my laptop & play with it...
On windows 7 I have installed vagrant, virtualbox and Vagrant-openshift plugin (https://github.com/openshift/vagrant-openshift)
I have created the box & is starting when I do vagrant up & I can connect using ssh to the machine
My question is what do I need to do next?
How can I connect to the web console of openshift?
Where do i need to install rhc and how? to be able to create/deploy apps?
Thank you,
Bogdan
Once installed, you can access Openshift console at https://hostname-OR-IP:8443/console
If you can't access check the status of your routes with ip route and verify that the vagrant default interface(usually eth0) is not configured as the default route.
If you are able to login in the server, you can run oc and oadm commands to create/configure apps.
i think that windows isn't a good plataform to install openshift, if you have a VM try to install CentOS 6 or fedora (or RHEL 6 if you have access to any distribution) there's a very larger amount of information to these OS than windows, or you just can install the openshift OS distribution that is supposed to do everything for you, you only have to configure the DNS server and DHCP and a few thing that scripts doesn't can do for you.
If you try to install it on one of the Linux distribution mentioned above you can just install it from the webpage or try to install from the deployment guide that is very complete: www.openshift.org/documentation/oo_deployment_guide_comprehensive.html
In my personal experience i had a very hard time with the deployment guide but it worth if you think in the knowledge and experience that you gain.
all is there, hope it weren't too late to answer you.

Developing Linux software on Windows

I want to write software for the Linux platform, but I would like to do this on a Windows OS. I'm only developing Linux software for a remote server of mine, so it wouldn't be worth it to switch to Linux just for that. I don't think it's as simple as using a cross-compiler, because I will be writing code that uses headers specifically for Linux, and I would like to test the programs on Windows. I don't want to use VirtalBox etc.
If possible, install the entire development environment on the linux server. Then install an Xserver (e.g XMing) and an ssh client (e.g putty) on your Windows box. Then run the dev. environment remotely.
The big pro of doing this is that the linux windows integrate seamlessly in the Windows enviornment. I used to work with dual platform development and had a virtual linux box on my PC. Still, I used ssh+X-forwarding to access it. This way I got full copy-paste support etc. between the environments.
Now WSL (also known as "Bash on Windows") exists, you can run native Linux binaries directly on Windows. With snapcraft you can package Linux applications entirely under Windows, without using a VM. Might be a better option. I made a super quick video to explain it.
CoLinux allows you to run linux side-by-side with Windows.
You could try VirtualBox and virtualize a Linux environment from within Windows. I do the reverse of what you are trying to do and run Windows from Linux, and it works quite well.
If you are familiar with .NET and C# you can use Mono for your client.
You can use Visual Studio to develop and the Mono runtime one Linux to run the application.
You do need to keep away from windows specific code.
Maybe Cygwin could help. You don't need an entire virtual machine and only the api is emulated.
You could use g++ in cygwin to target a linux binary. It's a pain to setup as you noted you'll need the entire toolchain (not just the compiler). I've used crosstool (domain name makes me giggle every time) in the past with success. It looks like someone did the work already http://metamod-p.sourceforge.net/cross-compiling.on.windows.for.linux.html
However I've never targeted linux from windows. I'd install a virtual linux box, way easier and you're likely going to want to do your testing on a real linux box before going live.
Cygwin isn't linux so you can't test your linux binaries there.
Out of curiosity what's keeping you from doing the development on linux? If the server the app runs on isn't mission critical you could even develop there.

Can I run a native OS installation as a virtual machine OS?

I am using win7. I wish to use Fedora on my machine, but don't know just how much I will be needing either of my OS. I wish to install Ferdora and configure it as a dual boot system.
At the same time, when time calls for it, I want to run the same Fedora installation as a virtual machine on top of win7. Is there a way to do it?
VMWare Workstation supports this, but I've never tried in Windows.
Here's an article on their site (it discusses VMWare 5 and they're now on 7.1, so a newer one can probably be unearthed):
http://www.vmware.com/support/ws5/doc/ws_disk_dualboot.html

Resources