From bdb7fb8f16dff8486fe630a8339f129cd5d2b8e6 Mon Sep 17 00:00:00 2001 From: Nadav Har'El <nyh@cloudius-systems.com> Date: Thu, 3 Oct 2013 14:12:40 +0300 Subject: [PATCH] Update instructions in README The README contained out-of-date examples of how to run things in OSv. Fixed those. BTW, Much of the contents of the README don't really belong there. We already have separate documents for debugging in OSv, and how to compile C/C++ code for OSv, and these should probably be in documentation/ in the git repository, instead of in a Wiki or Google docs. Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com> --- README | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README b/README index 28ad96bbd..da09c06bb 100644 --- a/README +++ b/README @@ -65,6 +65,10 @@ To run OSv ./scripts/run.py +By default, this runs OSv under KVM, with 4 VCPUs and 1GB of memory, +and runs the default management application (containing a shell, Web +server, and SSH server). + External Networking =================== @@ -85,13 +89,14 @@ Test networking: $ test TCPExternalCommunication -Running java or C applications that allready reside within the image: +Running Java or C applications that already reside within the image: + + # The default Java-based shell and web server + sudo scripts/run.py -nv -m4G -e "java.so -jar /usr/mgmt/web-1.0.jar app prod" - #Netserver - $ sudo scripts/run.py -nv -m4G -e "java.so -jar /java/cli.jar run /usr/netserver -D -4 -f" + # One of the unit tests (compiled C++ code) + $ sudo scripts/run.py -nv -m4G -e "/tests/tst-pipe.so" - #The cli and the internal web server - sudo scripts/run.py -nv -m4G -e "java.so -cp /java/cli.jar -jar /java/web.jar app" Debugging -- GitLab