check my amazon wishlist


CoreMedia vs. TYPO3

TIMTAB latest builds

stable:
v0.5.11 from TER
bug fix: commenting was possible although disabled for a post

unstable:
2006-04-15

what's new in unstable:
Ready for TYPO3 4.0.0. Trackback routines reorganized. Now Trackbacks will be sent only when the post is not hidden. Please test wether Trackbacks are working when writing post with tools like w.bloggar.

renner

Coding Night Wannabe an Apple? Robert Sebastian Session Robert

Archives

Categories

Buddies and others

del.icio.us links del.icio.us linkage




    Powered by Technorati



    Disclaimer

    I just brought the site back to life so that people can stop reminding me that it's down. Please note that probably most if not all content is outdated. I'll try to update stuff as soon as possible.

    best Ingo

    30
    Oct
    2006

    Testing websites with OS X and Parallels


    As mentioned before I switched to Mac OS X. In many situations it is so much easier and more productive than with Windows, things just work right out of the box! I might write something about the Mac and OS X in a later post...

    Right now I'm also out of Germany and am in the States for a semester abroad. More about that and the time I already spent here in a later post, too...

    This means that I don't have a Windows machine at hand right now. Unfortunately Macs don't make up the majority of computers and thus you still need to make sure your sites work across different platforms.

    The easiest way at the moment to achieve this is to run Windows in a virtual machine. I'm actually really looking forward to VMware's solution for OS X but as this is not available yet I'm using Parallels Desktop for Mac for now.

    The cool thing is that OS X comes with Apache and php right away so that you could just start using TYPO3. Unfortunately it is php4 and thus I needed to install php5 and of course MySQL. I also configured Apache to use virtual hosts so that I can access my development websites with www.domain.loc or www.other-domain.loc.

    You can set up Parallels in a way that you can access your local Apache on OS X from Windows running in a virtual machine to test your websites with f.e. Internet Explorer.

    To do this you should get the Parallels_Desktop_for_Mac_User_Guide.pdf  from http://www.parallels.com/en/support/documentation/. On pages 104-106 it describes how to set up Host-Only Networking for the virtual machine and how to have Internet access anyway by using Internet sharing under OS X.

    The next step would be to let Windows know about your web server and your local websites. To do this you need to find out the IP for OS X in Windows. In Windows press Apple/Command+R, in the following dialog box type "cmd" (without the quotes) and hit Enter. This will bring up the command line for Windows. Now type "ipconfig /all" to see Windows' network settings, you should find a line listing the IP for the Standardgateway, we'll need that in the next step.

    Now in Windows Explorer go to C:\WINDOWS\system32\drivers\etc and open "hosts" with notepad.exe. This file serves as a look up directory similar to a DNS server to keep it simple. The file describes the format it uses, and you can now add your virtual host domain names in this file by pointing the domain names to the IP of the standard gateway. After saving that file you should be done and things should be working.

    To test whether it is working just fire up Internet Explorer or any other browser of your choice and enter a domain which is served by the Apache running on OS X.

    comments

    #1 | Michael Stucki commented on Monday, 30-10-06 22:32

    Gravatar: Michael Stucki

    I'm doing the same from Linux using Qemu. I'm very happy with this tool since it works just great. Qemu can emulate various different guest CPUs (including X86_64, SPARC and PowerPC). And finally, it is even available for PowerPC platforms...

    - michael


    #2 | Michael Stucki commented on Monday, 30-10-06 22:32

    Gravatar: Michael Stucki

    Check out: http://qemu.org/status.html


    #3 | Ron Hall commented on Monday, 30-10-06 22:40

    Gravatar: Ron Hall

    Thanks for the info on the local setup. I have been using Parallels to test sites and think it is great but have not yet set it up to access a local TYPO3 installation. Readers should know that Parallels only runs on the new Intel-based Macs.

    By the way, another great tool for web testing is www.browerscam.com. You can see what your pages look like in all kinds of browser/operating system combinations including mobile devices. They even have virtual machines you can log into.


    #4 | Henjo Hoeksma commented on Saturday, 20-01-07 20:11

    Gravatar: Henjo Hoeksma

    Hi Ingo - great you switched to Mac. It's my favorite!
    Thanks for this post on getting stuff locally! Awesome.

    Keep it up!


    Sorry, comments are closed for this post.