Run Linux In Your Browser
By on May 17th, 2011

Linux is often considered as a geeky OS when compared to Windows and Mac OS X, however, over the past few years it has become much easier to use and almost emulates a desktop environment which is similar to Windows and Mac.

There are several popular Linux Distros like Ubuntu, Fedora,   JoliCloud, Linux Mint and more which are now widely used by people. If you want to try out Linux you can also dual-boot on your Windows machine (see Install Ubuntu in Windows). However, if you are someone who is afraid of installing additional software on your computer, you can now test out Linux from your web browser, albeit only the command prompt.

The Linux browser emulator was created thanks to a port of an emulator called QEMU to JavaScript.

QEMU is a generic and open source machine emulator and virtualizer.

When used as a machine emulator, QEMU can run OSes and programs made for one machine (e.g. an ARM board) on a different machine (e.g. your own PC). By using dynamic translation, it achieves very good performance.

When used as a virtualizer, QEMU achieves near native performances by executing the guest code directly on the host CPU. QEMU supports virtualization when executing under the Xen hypervisor or using the KVM kernel module in Linux. When using KVM, QEMU can virtualize x86, server and embedded PowerPC, and S390 guests.

The emulator has been written by Fabrice Bellard, a famous open source developer who has also developed several other popular projects in the past. The Linux PC emulator is written completely in JavaScript and was compiled using 2.6.20 Linux Kernel. The emulated hardware consists of the following things:

  • a 32 bit x86 compatible CPU
  • a 8259 Programmble Interrupt Controller
  • a 8254 Programmble Interrupt Timer
  • a 16450 UART.

 

Run Linux in Browser

Most of the modern browsers sport faster and smarter JavaScript engines. The Linux emulator for browsers goes on to show how powerful JavaScript has become and what it could be used to do.

The developer has tested Linux in browser in and 11. The beta version of Google Chrome is not yet supported. You can test out the Linux OS in the browser by visiting http://bellard.org/jslinux/. Also visit this technical notes page for more information on the Linux emulator for the browser.

Tags: , , ,
Author: Keith Dsouza Google Profile for Keith Dsouza
I am the editor-in-chief and owner of Techie Buzz. I love coding and have contributed to several open source projects in the past. You can know more about me and my projects by visiting my Personal Website. I am also a social networking enthusiast and can be found active on twitter, you can follow Keith on twitter @keithdsouza. You can click on my name to visit my Google+ profile.

Keith Dsouza has written and can be contacted at keith@techie-buzz.com.

Leave a Reply

Name (required)

Website (optional)

 
 
Copyright 2006-2012 Techie Buzz. All Rights Reserved. Our content may not be reproduced on other websites. Content Delivery by MaxCDN