Difference between revisions of "CoLinux-vnuml"

From VNUML-WIKI
Jump to: navigation, search
Line 12: Line 12:
 
<li>Download [ftp://ftp.dit.upm.es/vnuml/colinux-vnuml-1.0.zip coLinux VNUML image 1.0] and unzip it to the directory where you have installed coLinux (i.e. c:\colinux).</li>
 
<li>Download [ftp://ftp.dit.upm.es/vnuml/colinux-vnuml-1.0.zip coLinux VNUML image 1.0] and unzip it to the directory where you have installed coLinux (i.e. c:\colinux).</li>
  
<li>Enter the directory colinux-vnuml-1.0 and double click on the start.bat script. That will make the virtual machine start. Once the virtual machine has started you can login using:</li>
+
<li>Enter colinux-vnuml directory (i.e c:\colinux\colinux-vnuml-1.0) and double click on the start.bat script. That will start the Debian virtual machine. Once the virtual machine has started you can login using:</li>
 
   username: root
 
   username: root
 
   password: root
 
   password: root
</ul>
 
  
<li>In order to have network connectivity between the virtual machine and the host, you have to configure the ip address of the TAP interface automatically created during coLinux instalation. Jus go to "Control Panel->Network" and set the ip address of the TAP interface to 10.0.2.1/255.255.255.0. Once it is configured, test with a ping from the host to the virtual machine that you have network connectivity:</li>
+
<li>In order to have network connectivity between the virtual machine and the host, you have to configure the ip address of the TAP interface automatically created during coLinux instalation. Just go to "Control Panel->Network" and set the IP address of the TAP interface to 10.0.2.1/255.255.255.0. Once it is configured, test the connectivity between the host and the virtual machine with a ping:</li>
  
 
  C:\>ping 10.0.2.15 -n 2
 
  C:\>ping 10.0.2.15 -n 2
Line 32: Line 31:
 
     Mínimo = 0ms, Máximo = 0ms, Media = 0ms
 
     Mínimo = 0ms, Máximo = 0ms, Media = 0ms
  
<li>To get the xterm consoles of VNUML virtual machines, you need to install an X-windows server on your hosts. You can install, for example Xminghttp://sourceforge.net/projects/xming
+
<li>To access the xterm consoles of VNUML virtual machines from the host, you need to install an X-windows server (you can install, for example [http://sourceforge.net/projects/xming Xming]). Start the x-window server and test that you can open windows by executing on the virtual machine:</li>
 +
 
 +
  xterm
 +
 
 +
You should see the xterm window opened in your host.
 +
 
 +
<li>Finally, you can test VNUML from the virtual machine:</li>
 +
 
 +
  cd /usr/share/vnuml/examples
 +
  vnumlparser.pl -t tutorial_root2.xml -v -u root
 +
 
 +
</ul>

Revision as of 02:30, 24 February 2008

VNUML coLinux image

As stated in coLinux web site, "Cooperative Linux is the first working free and open source method for optimally running Linux on Microsoft Windows natively".

VNUML coLinux image allows you to easily test and use VNUML over a Microsoft Windows machine. It is based on coLinux Debian Etch root file system with VNUML tool version 1.8.3 installed, together with root_fs_tutorial-0.5.1 and n3vlr-0.11-vnuml-v0.1.img root file systems.

To use it:

  • Install coLinux in your computer. Just download coLinux-0.7.2 installation exe file and execute it. Install it on whatever directory you want (i.e. c:\colinux); you do not need to download any root file system during instalation.
  • Download coLinux VNUML image 1.0 and unzip it to the directory where you have installed coLinux (i.e. c:\colinux).
  • Enter colinux-vnuml directory (i.e c:\colinux\colinux-vnuml-1.0) and double click on the start.bat script. That will start the Debian virtual machine. Once the virtual machine has started you can login using:
  •  username: root
     password: root
    
  • In order to have network connectivity between the virtual machine and the host, you have to configure the ip address of the TAP interface automatically created during coLinux instalation. Just go to "Control Panel->Network" and set the IP address of the TAP interface to 10.0.2.1/255.255.255.0. Once it is configured, test the connectivity between the host and the virtual machine with a ping:
  • C:\>ping 10.0.2.15 -n 2
    
    Haciendo ping a 10.0.2.15 con 32 bytes de datos:
    
    Respuesta desde 10.0.2.15: bytes=32 tiempo<1m TTL=64
    Respuesta desde 10.0.2.15: bytes=32 tiempo<1m TTL=64
    
    Estadísticas de ping para 10.0.2.15:
        Paquetes: enviados = 2, recibidos = 2, perdidos = 0
        (0% perdidos),
    Tiempos aproximados de ida y vuelta en milisegundos:
        Mínimo = 0ms, Máximo = 0ms, Media = 0ms
    
  • To access the xterm consoles of VNUML virtual machines from the host, you need to install an X-windows server (you can install, for example Xming). Start the x-window server and test that you can open windows by executing on the virtual machine:
  •  xterm
    

    You should see the xterm window opened in your host.

  • Finally, you can test VNUML from the virtual machine:
  •  cd /usr/share/vnuml/examples
     vnumlparser.pl -t tutorial_root2.xml -v -u root