Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Running UML on my Linode

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
HeadachesAbound



Joined: 08 Oct 2003
Posts: 38

Posted: Fri Feb 13, 2004 6:35 am    Post subject: Running UML on my Linode  

I can swear that this has been asked before but my search of the forum is turning up empty.

Is it possible to run a UML-kernel within my Linode account?
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ

Posted: Fri Feb 13, 2004 6:36 am    Post subject:  

Yes, just changed CONFIG_NEST_LEVEL to 1 when compiling your UML kernel.

-Chris
Back to top  
HeadachesAbound



Joined: 08 Oct 2003
Posts: 38

Posted: Fri Feb 13, 2004 6:58 am    Post subject:  

Always nice to know that the Site Admin is up at 5:30AM (depending on your time zone) and provides an instant response.

I haven't begun attempting to do anything with UML yet but it is something that I am looking into and just wanted to be sure that it would work before attempting it.. Thanks for the quick response.
Back to top  
Maturin



Joined: 12 Feb 2004
Posts: 9

Posted: Mon Feb 16, 2004 5:28 am    Post subject:  

I'm new here, so apologies if this has been discussed before.

I plan to host a web site on my Linode, and it just occurred to me that it might be really useful to run nested UML. This is only a half-baked idea, but see what you think:

I will run two UMLs on my Linode: one for production and one for development. Only the production UML will be attached to the outside world via eth0.

To make changes to my website, I copy the contents from the production UML to the development UML, and make changes only in the development UML. After they're sufficiently tested, then I somehow make eth0 be attached to the development UML instead of production, effectively swapping them. Now the development UML is "live", and I rename it to be the production UML.

The benefit of this scheme is that it won't be possible to trash my web site by mistake while making any changes. If I totally blow it (or if apt-get upgrade does something unexpected), then I can just recopy the production UML to the development UML and try again. Only when I'm fully satisfied that it's working on the development UML do I make it live.

What do you think? Is anyone doing this?

Maturin
Back to top  
adamgent



Joined: 23 Jun 2003
Posts: 261

Posted: Mon Feb 16, 2004 8:03 am    Post subject:  

Hi,

Even though it is possible, in general it is not a good idea as least on linode.

Due to the limited diskspace and memory available it can make things run very slow, espically on the lower end linodes.

Adam
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1