Running an .EXE file on a Linux-based Virtual Dedicated Server

Posted on 2011-05-04
Last Modified: 2012-05-11
Hi there,

I'm hashing out an idea for one of my assignments for college.  Students have access to Virtual Dedicated Servers which are Linux based.  My idea is this...I want to create a Flash-based banner maker.  I know, I know.  There's a buttload of that crap out there already.  I'm approaching this as a learning experience so that's my justification.

I am creating a web-based application to gather assets and set positions etc.  A actionscript file is then generated.  I want to run a command-line Flash compiler to create the .swf but am unsure how to run executables on a VDS, it's sort of outside the scope of the class but i'd like to achieve this anyways.  I read somewhere that there's a program called 'wine' that would enable me to do this.  That's great.  Also, how would I actually tell the program to run using PHP?  Is this even possible?  If not, how would I 'trigger' this executable in a procedural way?

I have a design background but am new to programming so the limits on what's possible is still new to me, any help would be much appreciated.
Question by:duder78
    LVL 18

    Accepted Solution

    wine is a windows emulator for linux ( it can run many windows programs, so you would have to see if your flash compiler runs under wine, search for the application on the wine website.

    In linux you can run a php command from the command line using a text browser such as curl or wget

    Author Closing Comment

    super, just the solution I was looking for.  I couldn't find a linux-based command-line AS3 compiler which is why I need wine to make this thing work.  I'll keep this in mind moving forward, thanks.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
    Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now