Creating a executable linux (e. g. LAMP) virtualization for windows? - linux

We are developing a web application in TYPO3 Flow for one of our customers. Usally it should run on a web server over the internet, but there should also be an offline version for windows.
Our customer would sell this application with the two versions, on the web server it's combiled/crypted with Zend so his customer isn't able to change the code or anything like this.
Our idea for the offline windows application is, that we create an executable linux virtualisation with an installed apache and maybe with an pre-installed browser. So the user only starts the executable and the package will start with the browser pointing on the webapp.
Is there any solution, I think something like VMWare ThinApp (but I think this it's only for windows applications)?

Or you can build a bootable USB stick based on a linux distribution, with a custom version of some distribution like webconverger, but the user must reboot to use it.
Or you can customize a Virtual Box image, based on Turnkey Lamp Stack per exemple, but the user must have a copy of Virtual Box (that's free).
How do you wont to deal with data persistence ?

Related

Is it possible to build a React-Native app for Windows in Linux?

Last Thursday I was asked to code fairly small app for an Android device and I went with React-Native. The app is now in the testing phase (it's really small) and I was asked again if we could also deploy the app on a Windows machine.
I code exclusively in Linux, but I also know about NW.js which does produce an output for both Linux, Mac and Windows regardless of the environment, so I said : "Sure! I'll see what I can do!"
But reading the react-native-windows' documentation, I'm not sure if that's possible. At least it is not clear to me.
So the question is not really "can it be done?" but rather "how can it be done?" I could request a Windows machine if I have to, but if I can avoid it I'd rather not go there because that would mean maintaining two computers where one'd be used only for that purpose, etc.
Edit : Basically, I am wondering if it is possible to generate an executable JAR archive of a React-Native project which then can be launched from any Java-supported desktop computer.

Setting up Rsync to pull from Windows to Linux Box using cwrsync

I have a set of machines, a mixture of Linux and Windows Boxes.
I hav set up rsync to pull from the Linux Machines to a Linux Server box.
I am trying to accomplish the same using cwRsync, to pull to the Linux box from the windows machines. I have downloaded the free version from https://www.itefix.no/i2/content/cwrsync-free-edition and also I have downloaded CopSSH. I have managed to install CopSSH fine and I am able to SSH between the Linux and Windows hosts no problem using keys rather than passwords.
However, for the life of me I can't get this cwRsync working, I've googled the matter to death, and your meant to unzip the directory, configure the environment settings in the batch file then install it. However, there is nothing to install it with! and the reason it isn't working is because it needs to install a windows service for it to run.
Any help would be much appreciated!
As described at itefix web page for the free edition, it allows to initiate rsync from your Windows machine, i.e. client functionality only (push data). Server functionality allowing you to set up an rsync server on Windows to pull data from it is not a part of the free edition.

Eclipse CDT multiuser configuration

We are trying to setup Eclipse CDT (version Helios or Indigo) for our development environment. It is a multiuser environment, with about 100+ designers using a pool of 10 linux servers. The source code is in Clearcase.
Developers has Windows PCs and use vnc to login to development servers.
One option is using different Eclipse installation on each Windows desktop - but then not sure how complicated setup is to enable remote code browsing/compile/debug/test execution or cross compiling. Is this going to be a IT support/maintenance nightmare?
The other option is to have a single copy of Eclipse on the server and everyone uses the same one. Hoe feasible is this? How difficult is to manage different users' preferences in this setup? Is it possible to have that (different setups) at all? What about required hardware configuration to support this kind of working environment - when multiple sessions are active on the same server at the same time? Is this kind of configuration going to scale?
Which option is better/more suitable for our environment? Any other option that we should consider?
I checked this question and it is useful but not sure about specific of the development environment that they were trying to address.
I would like to hear some experiences from anyone who managed to successfully set it up in a similar development environment (or tried to do it) and would appreciate any guidelines/recommendations in this regard.

From PHP (LAMP) to Classic ASP, how to setup a dev environment

I'm jumping into updating a Classic ASP web app coming from a PHP background and am trying to get my bearings. I'm used to just installing something like MAMP, messing the httpd.conf a bit and getting on my way.
Ideally, I would like to be able to edit this app completely locally on my Macbook Pro running OS X Leopard so that I'm not messing with my client's server too much. Now, if I need to I'm willing to install Windows 7 via Boot Camp or running it as a virtual machine. Of course my preference is to stay completely in OS X, but I have my doubts about that possibility. So, how should I go about this?
One thing to note is that once I'm done updating this ASP web app I will have to make changes to a VB(.NET) application as well, so I'd like to have to change my virtual workspace as little as possible when that time comes around.
As you say, you will need to install Windows via Boot Camp or VM (your choice).
Once in Windows, you can install Visual Studio 2010 (Express free), where you can edit your ASP Classic files, and you will have it already installed when you need to do VB.net
Do not forget to install IIS when you install Windows (you will need it to run ASP Classic)

Setting up a sandbox dev environment for Sharepoint

I am planning to get Sharepoint (MOSS) setup on my home development workstation and one of the things I read about using virtualisation (I currently have Vista, need Windows Server) is that you can install VMs with different OS's (eg Vista, Server) or you can run one OS with the ability to do development on Sharepoint/MS CRM etc which is sandboxed (Can't effect the OS).
My pc specs: Intel Quad Core 2.4ghz, 4GB RAM, Vista 32-bit (so I can't see/use all 4gbs).
How is this usually setup?
Thanks
This article has everything you need. It covers essential post-installation tasks such as server configuration.
How to Create a MOSS 2007 VPC Image: The Whole 9 Yards
Just want to point out that there are more problems with 32-bit SharePoint than the fact that you can’t use all your memory. Read this blog post for more info. I guess you are talking about SharePoint 2007, but 2010 is around the corner and its 64-bit only (probably due to the problems described in that blog post). So I'd recommend you to do it properly and set up an x64 environment from the beginning.
Download a virtualization software. Virtual PC, Virtual Server, VMWare Server are popular and free
Install according to the instructions.
Create a virtual machine (it is usually a wizard)
Install a OS and configure manually, or you can download a use an existing virtual hard drive.
Microsoft Offers one you can use.
http://www.microsoft.com/downloads/details.aspx?FamilyID=67f93dcb-ada8-4db5-a47b-df17e14b2c74&DisplayLang=en
One option could be to copy an existing virtual image from the company network and run that image at home.
If you don't have any existing images at the company you can create one using the "physical to VM" option in VMware workstation / Virtual server and then clone an existing server.
Remember that you might need to create a library of images if you have to test code on an box with SP1, SP2, June Cumulative and so on.
this post on ServerFault is a nice guide to max the performance of the image.
I would just like to add the following to other great answers:
Use Windows 2008 Hyper-V as your host operating system. In my case it had much better performance than Vista on same machine
In case you plan to develop for SharePoint+CRM there is MS prepared virtual machine with both. Unfortunately it is available on to MBS partners. SharePoint only machine is publicly available. Both machines will expire after 30 days, but just apply your product key and you will prolong it's life for additional year.
I have installed Windows Server 2008 directly on my laptop, so no need for VMs. It's an x64 machine as well. I use SQL server 2008 as well. It's just easier than running VMs and believe me, you need the full 4 GB if you are running Vista. Just install the x64 version of Win2008 on your machine (Standard edition will do. Just use this Google query on how to set up Win 2008 just like Vista and make it the ultimate workstation!
Google Query

Resources