hudson and vmware player or virtual box, windows slave - hudson

I am currently running ubuntu 10.4, I would like to be able to run windows XP from within that machine, using vmware player/workstation. I am not sure which is better for my situation.
I need to verify my builds under a windows environment, which is why i need the vmware software, Does anyone have experience, running Hudson slaves on windows machine that is a VM, from a Linux machine that runs the master Hudson.
Are there any guides or tutorials on how to set this up, or practice that would speed up the process, and limit road blocks in the future.
Thanks.
Edit: VirtualBox would be just as useful. :) -- actually more interested in that.

Since you mentioned VirtualBox, there is a VirtualBox plugin for Hudson.

Related

Add a Windows node to Openshift OKD v.3.11

Since Docker can now run on Windows, is there a way to deploy Openshift OKD over a Windows VM?
In the documentation under System and environment requirements we can read that rhel family OS are needed, but I'm just wondering if there is a side process (alternative) process to perform this operation.
My main concern is that I need to run Windows containers on OKD.
The answer is that for OKD 3.11 this is not possible and has to do with the networking (OVS) not being available for Windows machines.
That being said, there is a lot of information available for Windows Container in Kubernetes itself, although there are A LOT of things that are not implemented or are not supported at this time: https://kubernetes.io/docs/setup/production-environment/windows/intro-windows-in-kubernetes/
You can expect Windows Containers to become available in OKD 4.5 or later as Tech Preview, but I personally would not hold my breath.

Install MySQL Automatically on WIN, Linux, macOS

I want to use MySQL for an electron app in production and thus, if the client machine doesn't has MySQL already installed on it, then the app will not be able to function. So, is there any way to execute a auto-install MySQL script that installs MySQL on the client machine, even if its not already installed.
Since the app has to be cross-platform, so I am looking for a standard or minimum effort procedure (to speed up the process) to achieve the above, during first-time-app-startup on Windows7+, Ubuntu 14+ and macOS.
I found the following ways to auto-install:
Windows : Link
Linux & macOS: Create a bash script that runs before first-time-startup of the app. (Although, it will check whether MySQL instance is already present on the machine or not)
Looking for a better option than the above mentioned ones.
You may wish to consider the BitNami MySQL distribution; I have always used their VMs when I went after their products, but stand-alone installers are offered for most platforms (including Linux).
(Edit: It seems that the installer for MySQL is offered only for Linux x64)

Launch Beyond Compare(Win) for Mercurial Merge(Linux) using XServer

I've beyondcompare licence for my windows machine and I can't use that licence for linux installation. I work on linux server via putty from my windows system.
I could launch linux visual merge tools like meld using X server. But I'm looking for a way to use X server/X11 to launch beyondcompare from my putty session. In short, I want to launch a windows application itself from the linux env over putty.
My last choice would be to pull changes to my windows machine and do a merge on windows; push it back. But it would be nice if I could launch beyondcompare from linux.
Any Ideas?
It isn't possible to launch a diff/merge in the Windows version of Beyond Compare from a Linux system via SSH. There are three possible workarounds:
Upgrade your license to a multi-platform license and use the Linux
version of Beyond Compare.
Run the Windows version of Beyond Compare on your Windows machine and access the files on the Linux machine using the SFTP support built into Beyond Compare Pro.
Install Mercurial on your Windows machine, then check out files and
diff/merge from there. See the Using Beyond Compare With Version
Control Systems article to configure BC as the
diff and merge tool for Mercurial on Windows.

Windows Phone 8 emulator fails to start

I'm getting the following error when attempting to run a Windows Phone 8 app in the Windows Phone 8 emulator (via Visual Studio 2012):
The Windows Phone Emulator wasn't able to ensure the virtual machine was running:
Something happened while starting a virtual machine: 'Emulator 720P.joel' could not initialize. (Virtual machine ID 7320013C-0597-4408A-9CCF-049166CE9926)
There's no other indication on what might be causing this problem. I have ensured the following:
I'm running Windows 8.1 Pro x64
I'm on a machine that supports SLAT (It's a Core i5)
There's no other virtualization software installed or running, other than Hyper-V
I've tried cleaning the existing switches from Hyper-V using XdeCleanup.exe, with no luck
I've tried uninstalling and re-installing both the Windows Phone 8 SDK and Hyper-V. Neither helped.
The Windows Event Log reports no errors with regards to Hyper-V or starting the emulator
I've tried reducing the processor count on the VM to 1 processor (from the default of 2). No effect.
At one point in the past (a few months ago), the emulator was working. It was around that time that I got a Windows Phone 8 device, so I started developing it. I've been wanting to test a few things out on the emulator rather than having to use my actual phone. The only thing that I can think of that changed since then, was that I upgraded from Windows 8 to Windows 8.1.
Does anyone here have any idea what might be happening, or know of anywhere else I can look for any hints on what might be the problem?
Well I can't say this will work for everyone but for me it was a matter of simply turning off windows firewall.
I had checked all other settings (BIOS, SLAT, etc) and even uninstalled/installed the Hyper-v feature but Hyper-V had been working fine. In fact I could open and run the emulator - just could connect from VS. Once I turned the firewall off everything worked.
You would think you could establish a range of ports to use but who knows what they would be?
I had the same issue and even now it, when I disable my wireless actually totally remove wireless lan and disable my bridged networks. Everything works fine. Please also make sure that internet sharing is not enabled on LAN.
that mean that you don't have insufficient RAM to be able to start your Emulator.
try to stop some running programs or services. and try again
I had the same problem and I solved it as follows:
First disable the LAN connection.
This can be done by going to
Control panel > Internet Properties > Connections > LAN Setting > Remove the tick mark(deselect auto-detect setting)
Press OK.
If any anti-virus is installed, then disable the firewall.
Then go to Hyper-V manager and delete all emulators present. Restart your emulator and it will work.
Had a similar problem, This thread solved it for me
http://social.msdn.microsoft.com/Forums/windowsapps/en-US/5e6337ce-0a59-44a7-a0af-50aadc022041/windows-phone-emulator-wasnt-able-to-connect-to-the-windows-phone-operating-system-the-phone-didnt?forum=wptools

Mercurial on linux or windows server

I have the choice between Centos and windows server 2008 to deploy as a mercurial server.
I am pretty confident with both operating systems, although probably a little more with windows.
For this question assume I am equally confident with both Operating systems.
Which should I use with regard to ease of maintenance, stability and backups?
Or is there just no difference?
I would prefer the linux server. But you could use SCM-Manager, then it is very easy on Windows and Linux.
The one you're most comfortable with.
There's no point in installing CentOS / Windows if you've never used it and lose hours on configuration and other problems.
I'd go with CentOS simply to avoid the licensing fee. Plus it's just as easy to setup and configure as a Windows server if you know what you are doing.