Q-Sims - OpenSim Console: Difference between revisions

From QNAPedia
Jump to navigation Jump to search
m (1 revision imported)
 
m (catchg)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
''by AdNovea - May 2009''<br>
''by AdNovea - May 2009''<br/>'''[[Q-Sims_-_The_OpenSim_metavers_for_QNAP|Q-Sims Homepage]]'''<br/><br/>__TOC__
'''[[Q-Sims - The OpenSim metavers for QNAP|Q-Sims Homepage]]''' <br> <br>
__TOC__


= Using the SSH Console =
= Using the SSH Console =
<blockquote>
<blockquote>
* To '''start/stop Q-Sims''' using the script. The simulator is launched using the ''screen'' utility [1].
*To '''start/stop Q-Sims''' using the script. The simulator is launched using the ''screen'' utility [1].
<blockquote>
<blockquote><pre># cd /share/xxx_DATA/.qpkg/QSims
<pre>
# cd /share/xxx_DATA/.qpkg/QSims
# ./qsims.sh start
# ./qsims.sh start
# ./qsims.sh stop
# ./qsims.sh stop
</pre>
</pre>
</blockquote>
</blockquote>
* To '''open the OpenSim console''' after starting Q-Sims with the script above
*To '''open the OpenSim console''' after starting Q-Sims with the script above
<blockquote>
<blockquote><pre># screen -list
<pre>
# screen -list
</pre>
</pre>
will return something like:
will return something like:
<blockquote>
<blockquote><small>There is a screen on:<br/><span style="color:darkred">'''xxxxx.OpenSim_OSGRID'''</span> (Detached)<br/>1 Socket in /tmp/screens/S-admin.</small><br/></blockquote><pre># screen -r xxxxx.OpenSim_OSGRID
<small>
There is a screen on:<br>
<span style="color:darkred">'''xxxxx.OpenSim_OSGRID'''</span>   (Detached)<br>
1 Socket in /tmp/screens/S-admin.<br>
</small></blockquote>
<pre>
# screen -r xxxxx.OpenSim_OSGRID
</pre>
</pre>
</blockquote>
</blockquote>
* To '''leave the screen console''' (''but not terminate the application'') type: '''CTRL+A D'''
*To '''leave the screen console''' (''but not terminate the application'') type: '''CTRL+A D'''
<br>
 
* To '''manually start Q-Sims'''  
 
<blockquote>
 
<pre>
*To '''manually start Q-Sims'''
# cd /share/xxx_DATA/.qpkg/QSims
<blockquote><pre># cd /share/xxx_DATA/.qpkg/QSims
# cd bin
# cd bin
# mono OpenSim.exe
# mono OpenSim.exe
</pre>
</pre>
</blockquote>
</blockquote>
<br>
 
* To '''stop Q-Sims''' from the OpenSim console
 
<blockquote>
*To '''stop Q-Sims''' from the OpenSim console
<pre>
<blockquote><pre>Region (<region_name>)# quit
Region (<region_name>)# quit
</pre>
</pre>
</blockquote>
</blockquote>
<small>
<small>[1] The screen utility is a terminal multiplexer that allows a user to access multiple separate terminal sessions inside a single terminal window or remote terminal session. The '''screen''' is installed using IPKG Optware during the Q-Sims installation. IPKG QPKG shall be available and enable BEFORE the Q-Sims installation</small>
[1] The screen utility is a terminal multiplexer that allows a user to access multiple separate terminal sessions inside a single terminal window or remote terminal session. The '''screen''' is installed using IPKG Optware during the Q-Sims installation. IPKG QPKG shall be available and enable BEFORE the Q-Sims installation<br></small>
</blockquote>
</blockquote>
<br>
 


= The OpenSim Console =
= The OpenSim Console =
<blockquote>
<blockquote>Once in the OpenSim console you can use the following commands:
Once in the OpenSim console you can use the following commands:
*'''help''' to list all command (''and '''help cmd''' to list the options of one command'')
* '''help''' to list all command (''and '''help cmd''' to list the options of one command'')
*'''quit''' to terminate the OpenSim simulator gracefully
* '''quit''' to terminate the OpenSim simulator gracefully
*'''change region &lt;region name&gt;''' to access an other regions hosted on your NAS
* '''change region <region name>''' to access an other regions hosted on your NAS
*'''save oar &lt;filename&gt;''' to save the content of a region
* '''save oar <filename>''' to save the content of a region
*'''load oar &lt;filename&gt;''' to restore the content of a region
* '''load oar <filename>''' to restore the content of a region
*'''terrain fill &lt;height&gt;''' to flatten your region to a specific level
* '''terrain fill <height>''' to flatten your region to a specific level
*etc ...
* etc ...
[[File:Q-Sims OS-console.jpg|thumb|center|500px|OpenSim server console]]</blockquote>
[[Image:Q-Sims_OS-console.jpg|thumb|500px|center|OpenSim server console]]
<br/>
</blockquote>
<br><br>  


[[Category:Communications]] [[Category:QPKG|Q]] [[Category:Q-Sims|Q]]
[[Category:Q-Sims]]

Latest revision as of 16:47, 27 October 2015

by AdNovea - May 2009
Q-Sims Homepage

Using the SSH Console

  • To start/stop Q-Sims using the script. The simulator is launched using the screen utility [1].
# cd /share/xxx_DATA/.qpkg/QSims
# ./qsims.sh start
# ./qsims.sh stop
  • To open the OpenSim console after starting Q-Sims with the script above
# screen -list

will return something like:

There is a screen on:
xxxxx.OpenSim_OSGRID (Detached)
1 Socket in /tmp/screens/S-admin.

# screen -r xxxxx.OpenSim_OSGRID
  • To leave the screen console (but not terminate the application) type: CTRL+A D


  • To manually start Q-Sims
# cd /share/xxx_DATA/.qpkg/QSims
# cd bin
# mono OpenSim.exe


  • To stop Q-Sims from the OpenSim console
Region (<region_name>)# quit

[1] The screen utility is a terminal multiplexer that allows a user to access multiple separate terminal sessions inside a single terminal window or remote terminal session. The screen is installed using IPKG Optware during the Q-Sims installation. IPKG QPKG shall be available and enable BEFORE the Q-Sims installation


The OpenSim Console

Once in the OpenSim console you can use the following commands:

  • help to list all command (and help cmd to list the options of one command)
  • quit to terminate the OpenSim simulator gracefully
  • change region <region name> to access an other regions hosted on your NAS
  • save oar <filename> to save the content of a region
  • load oar <filename> to restore the content of a region
  • terrain fill <height> to flatten your region to a specific level
  • etc ...
OpenSim server console