LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 05-17-2011, 06:22 AM   #1
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 598
Blog Entries: 3

Rep: Reputation: 192Reputation: 192
Run Linux in your browser


I don't know if this has been posted or not, but I saw it on Slashdot and though it was pretty cool..

This Fabrice Bellard fellow has written an x86 emulator in JavaScript that boots Linux in your browser (requires FF 4 or chrome it seems).
http://bellard.org/jslinux/

It seems he also has some other pretty amazing acomplishments. http://en.wikipedia.org/wiki/Fabrice_Bellard
 
Old 05-17-2011, 06:35 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3187Reputation: 3187Reputation: 3187Reputation: 3187Reputation: 3187Reputation: 3187Reputation: 3187Reputation: 3187Reputation: 3187Reputation: 3187Reputation: 3187
http://www.urbanlegends.com ...
 
Old 05-17-2011, 06:45 AM   #3
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 598

Original Poster
Blog Entries: 3

Rep: Reputation: 192Reputation: 192
Quote:
Originally Posted by sundialsvcs View Post
Did you look at it at all? You can write some basic code in vi and compile it using his C compiler 'tcc'.
 
Old 05-17-2011, 05:50 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,686

Rep: Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336
Been out a long time. http://jpc.sourceforge.net/home_home.html
 
Old 05-17-2011, 06:05 PM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
Quote:
Originally Posted by jefro View Post


Java != JavaScript. They're not even closely related.
 
1 members found this post helpful.
Old 05-17-2011, 07:44 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,686

Rep: Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336
Run linux in your browser was the topic.

JPC is more advanced and really useful right now.

I think the world of qemu and bellards work on it but this is really useless at this point.
http://bellard.org/jslinux/tech.html

Last edited by jefro; 05-18-2011 at 04:59 PM.
 
Old 05-17-2011, 09:20 PM   #7
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora and others
Posts: 756

Rep: Reputation: 144Reputation: 144
Is there any practical use for JS/Linux?

If you haven't heard, Fabrice Bellard (the developer of QEMU) created JS/Linux, a Javascript PC Emulator.

He then compiled a 2.6.20 Linux kernel and put together a mini distro that's up and running and you can actually play with root access in a shell right here! (Though you must have a very modern browser.)

There's an article in The-H about it.

Is this cool or what?

No wait! That was rhetorical, it's not the question. This little demo isn't practical since there is no network connectivity, and I couldn't see anyway to access a real file system. So there would clearly need to be some more development. But here's the real question:

Is there any practical use for this?

I hope so, but I can't think of anything.
 
Old 05-18-2011, 09:48 AM   #8
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
well, at te very least this is proof that javascript is a very useful tool

seriously though, this might be a beginning of a new level of application sandboxing within browsers
 
Old 05-18-2011, 09:48 AM   #9
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,775

Rep: Reputation: 423Reputation: 423Reputation: 423Reputation: 423Reputation: 423
I don't know of any practical use for it (at this time), but it's definitely cool!
 
Old 05-18-2011, 10:00 AM   #10
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,692

Rep: Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662
jslinux

Uses? Talk about a secure sandbox for testing!
It may also be an interesting place for a newby to study command-line use and shell scripting. I can see expanding upon the concept to create useful cases. Things I now use virtual machines for might transfer to such an environment.

Mostly it is just a REALLY NEAT TOY! One I would not have thought to create myself, and one that has earned my respect for the author.
 
Old 05-18-2011, 04:34 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,686

Rep: Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336
Not useful yet or maybe never.

Look at JPC for something that is useful (java not script) right now.
 
Old 05-18-2011, 08:00 PM   #12
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora and others
Posts: 756

Rep: Reputation: 144Reputation: 144
Quote:
Originally Posted by jefro View Post
Look at JPC for something that is useful (java not script) right now.
At first I thought this was almost spam, jefro. But it's far from it.

It turns out that JPC is a legitimate x86 PC emulator that runs in Java, just like you said.
And it runs DSL. And you can run a demo right on the JPC site.
Impressive.

Both of these are fascinating and surprising, though I still can't think of any real use for them beyond the fun they provide in messing with them, or maybe some kind of demo.
 
Old 05-18-2011, 08:39 PM   #13
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,686

Rep: Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336Reputation: 3336
In a very real sense things like virtual machine software was at one time this basic.
 
Old 05-24-2011, 04:16 PM   #14
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Moved to Linux-Virtualisation
 
Old 05-24-2011, 04:56 PM   #15
Telengard
Member
 
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Blog Entries: 8

Rep: Reputation: 148Reputation: 148
http://www.oszoo.org/wiki/index.php/Free_Live_OS_Zoo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
phpmyadmin cannot be run on browser. cslucsm Ubuntu 2 09-17-2010 03:46 PM
phpmyadmin cannot be run on browser. cslucsm Ubuntu 1 09-17-2010 09:59 AM
how to install php5.3.0 & run any php file in web browser in linux 5.0 anmol1986 Linux - General 4 11-09-2009 07:22 AM
.sh Script to run another via browser GetMooked Linux - Software 1 05-12-2005 04:41 PM
How to run an executable from browser ??? dileepkk Programming 2 08-22-2004 03:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration