<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://opensimulator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Glem02</id>
		<title>OpenSimulator - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Glem02"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Special:Contributions/Glem02"/>
		<updated>2026-05-11T08:25:10Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.9</generator>

	<entry>
		<id>http://opensimulator.org/wiki/Configuration</id>
		<title>Configuration</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Configuration"/>
				<updated>2007-12-23T14:31:04Z</updated>
		
		<summary type="html">&lt;p&gt;Glem02: exit screen is &amp;quot;ctrl-a d&amp;quot; and not &amp;quot;ctrl-c d&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It is recommended that you first get OpenSim running in standalone mode, before you attempt to connect it to a grid, either your own grid or a public grid.&lt;br /&gt;
&lt;br /&gt;
A simulator actually consists of four services, known as UGAS which stand for User, Grid, Asset &amp;amp; Simulator. They are started in that order.&lt;br /&gt;
&lt;br /&gt;
A simulator running in its default standalone mode has all the services self-contained, but they are very modest. This means any first/last/password works. It also means inventory is all local with no region or grid-wide connections.&lt;br /&gt;
&lt;br /&gt;
A simulator running as a local grid runs all four services on the same computer. Multiple sims can be run, across-region crossing including teleporting and a set of inventory items that are within this local grid.&lt;br /&gt;
&lt;br /&gt;
A simulator running as part of a public grid runs only OpenSim.exe and the other three services are running on a server common to many regions. This also means that understanding the needed UUID, X,Y location, server handshake passwords, master avatar first/last/password and a couple of other settings. These are not difficult, but do require a little care in setting up.&lt;br /&gt;
&lt;br /&gt;
=Command Line arguments passed to OpenSim.exe=&lt;br /&gt;
&lt;br /&gt;
OpenSim.exe responds to various command line arguments. These include &amp;quot;-inifile&amp;quot;, &amp;quot;-configfile&amp;quot;, &amp;quot;-gridmode&amp;quot;, &amp;quot;-physics&amp;quot;, &amp;quot;-config&amp;quot; &amp;amp; &amp;quot;-noverbose&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
When starting OpenSim in either Windows or Linux, one can add &amp;quot;-physics=OpenDynamicsEngine&amp;quot; to run the OpenDynamicsEngine instead of basicphysics. &lt;br /&gt;
&lt;br /&gt;
Most users in standalone mode will not add any command line arguments. For local grid or public grid, the &amp;quot;-gridmode=true&amp;quot; is usually the only argument used. The rest are for more advanced configuration.&lt;br /&gt;
&lt;br /&gt;
=OpenSim configuration file=&lt;br /&gt;
The simulator configuration is managed using a file called [[OpenSim.ini]]. This file is used regardless of whether the sim is running in standalone or grid mode. Detailed information on the options available for setttings in this file can be found [[OpenSim.ini|here]].&lt;br /&gt;
=Standalone mode=&lt;br /&gt;
&lt;br /&gt;
When you start OpenSim in standalone mode, it will ask you several question at the console. The first set of prompts that start with &amp;quot;NETWORK SERVERS INFO&amp;quot;, you can just hit return to accept the defaults if you will be running in standalone mode.&lt;br /&gt;
&lt;br /&gt;
The prompts that start with &amp;quot;DEFAULT REGION CONFIG&amp;quot; are where you need to start paying attention. Some are self-explanatory. Here are explanations for the others:&lt;br /&gt;
&lt;br /&gt;
* Grid Location. OpenSim regions can be placed anywhere on a 65536 by 65536 grid. In standalone mode, it is safe to leave these X and Y locations at their defaults.&lt;br /&gt;
&lt;br /&gt;
* Filename for local storage. Safe to leave at default.&lt;br /&gt;
&lt;br /&gt;
* Internal IP address; This should always be 0.0.0.0&lt;br /&gt;
&lt;br /&gt;
* Internal IP port for incoming UDP client connection. You can make this any port you want, but it is safe to leave at the default 9000.&lt;br /&gt;
&lt;br /&gt;
* External host name. If you will only be attaching to your sim from a SecondLife client on the same machine, you can leave this at the default 127.0.0.1. If you will be wanting to connect to it from a client on another machine, this should be the IP address or hostname of the machine you are running this sim on.&lt;br /&gt;
&lt;br /&gt;
To connect to your new sim, start up secondlife with the following command line switches: &lt;br /&gt;
&lt;br /&gt;
 -loginuri http://127.0.0.1:9000/&lt;br /&gt;
&lt;br /&gt;
This assumes you are running the secondlife client on the same box. If you are running it on a separate box, substitute the IP address of your sim machine.&lt;br /&gt;
&lt;br /&gt;
To create a user:&lt;br /&gt;
type &amp;quot;create user &amp;lt;first&amp;gt; &amp;lt;last&amp;gt; &amp;lt;password&amp;gt; &amp;lt;x_loc&amp;gt; &amp;lt;y_loc&amp;gt;&amp;quot; in the server console&lt;br /&gt;
&lt;br /&gt;
=Grid mode=&lt;br /&gt;
&lt;br /&gt;
You want to run your own grid. Great! Assuming that you already got your sim running in standalone mode, here is what you need to do:&lt;br /&gt;
&lt;br /&gt;
1. Current builds of OpenSim grid mode are using mysql to store the grid information. You must have this installed and configured if you want to run your own grid. See [[mysql-config]] for more information.&lt;br /&gt;
&lt;br /&gt;
2. The servers should be started in a certain order. UGAS: UserServer, GridServer, AssetServer, InventoryServer, Sim. These are all found in the bin directory. In windows, you can just double-click on the executables to start them. In linux, you will probably have to start them with mono. The executable names are:&lt;br /&gt;
&lt;br /&gt;
 OpenSim.Grid.UserServer.exe&lt;br /&gt;
 OpenSim.Grid.GridServer.exe&lt;br /&gt;
 OpenSim.Grid.AssetServer.exe&lt;br /&gt;
 OpenSim.Grid.InventoryServer.exe&lt;br /&gt;
 OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
3. Start the UserServer. If you will be running the GridServer on the same box, hit enter to accept the defaults, until it gives you the prompt &lt;br /&gt;
&lt;br /&gt;
 OpenUser#&lt;br /&gt;
&lt;br /&gt;
This is the main prompt for the user server. If you will be running the GridServer on another box, change the Default Grid Server URI as appropriate.&lt;br /&gt;
&lt;br /&gt;
4. Start the GridServer. Again, you can hit return at all the prompts if you are running them all on the same machine. If not, change the URIs for the Asset Server and User server to point to where you are running them. You will finally get to the console prompt for the GridServer which looks like this:&lt;br /&gt;
&lt;br /&gt;
 OpenGrid#&lt;br /&gt;
&lt;br /&gt;
5. Start the AssetServer. The console prompt for this server will be:&lt;br /&gt;
&lt;br /&gt;
 OpenAsset#&lt;br /&gt;
&lt;br /&gt;
6. Start the InventoryServer. The console prompt for this server will be:&lt;br /&gt;
&lt;br /&gt;
 INVENTORY#&lt;br /&gt;
&lt;br /&gt;
7. If you are running all of these servers on the same box, which would be the normal configuration. You should be ready to start up your sim. Since the OpenSim.exe starts up by default in standalone mode, you will need to give it a command line switch to tell it to use gridmode instead:&lt;br /&gt;
&lt;br /&gt;
 OpenSim.exe -gridmode=true&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 mono OpenSim.exe -gridmode=true&lt;br /&gt;
&lt;br /&gt;
With any luck, everything will come up without too many errors.&lt;br /&gt;
&lt;br /&gt;
8. Go to the UserServer console, and type 'create user' to create a new avatar. It will prompt you for the name and password, and the X and Y of the sim that should be his home location. Use 1000 and 1000, or wherever you told your sim to live when you brought it up in standalone mode.&lt;br /&gt;
&lt;br /&gt;
At the console of any of these servers, you should be able to type 'help' to get a list of commands.&lt;br /&gt;
&lt;br /&gt;
You should now be able to connect to your new grid with your secondlife client. You need to tell your client to point at the UserServer rather than directly at the sim, though:&lt;br /&gt;
&lt;br /&gt;
 secondlife -loginuri http://127.0.0.1:8002/&lt;br /&gt;
&lt;br /&gt;
8002 is the default port for the UserServer, and that IP address should be changed to the server you are running the UserServer on, if they are not all on the same box.&lt;br /&gt;
&lt;br /&gt;
Happy OpenSimming!&lt;br /&gt;
&lt;br /&gt;
''Note: if you are using Windows Vista, remeber to start servers as Admin. If not it will prompt you an error in console like &amp;quot;Error - Access denied&amp;quot;&lt;br /&gt;
''&lt;br /&gt;
=== Technical Addendum ===&lt;br /&gt;
For running multiple regions on the same box, you simply make multiple copies of the 'default.xml' file inside the &amp;lt;tt&amp;gt;bin/Regions/&amp;lt;/tt&amp;gt; directory.  You can do this using the script &amp;lt;tt&amp;gt;make.php&amp;lt;/tt&amp;gt; in &amp;lt;tt&amp;gt;share/regions&amp;lt;/tt&amp;gt;, or you can generate the files by hand.&lt;br /&gt;
&lt;br /&gt;
If you want to create the files by hand, first copy the default.xml file in the &amp;lt;tt&amp;gt;bin/Regions&amp;lt;/tt&amp;gt; directory, and name them anything you want (I name mine x.y.xml, where x znd y are the grid coords.)&lt;br /&gt;
&lt;br /&gt;
Open each xml file and edit the uuid (each must be unique, a generator can be found at  [http://www.famkruithof.net/uuid/uuidgen uuidgen webpage]), region name, x &amp;amp; y positions, datastore (if you are using the prim thing) and internal ip port. EACH OF THESE MUST BE UNIQUE!&lt;br /&gt;
&lt;br /&gt;
Once you have 2 or more xml files in the regions folder, running a ''single copy'' of &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; will boot all of your sims! If you come across any errors, there is most likely an error in the xml files.&lt;br /&gt;
&lt;br /&gt;
=Attaching your sim to someone else's grid=&lt;br /&gt;
&lt;br /&gt;
To set up the simulation server (i.e., &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt;) to connect to an external grid, you should edit the &amp;lt;tt&amp;gt;OpenSim.ini&amp;lt;/tt&amp;gt; file in the &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory.  In that file, there is a &amp;lt;tt&amp;gt;[Network]&amp;lt;/tt&amp;gt; section with URLs for the grid, user, and asset servers, as well as send and receive keys (for a basic level of security).  The addresses and send/receive keys will vary depending on the grid you are connecting to, and the grid operator should tell you what values to use.&lt;br /&gt;
&lt;br /&gt;
The other file you may have to change is in your &amp;lt;tt&amp;gt;bin/Regions&amp;lt;/tt&amp;gt; directory. This is where your individual region config files are. If you only have one region, it will by default be called &amp;lt;tt&amp;gt;default.xml&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This can be edited with any text editor. The grid owner may tell you what X and Y location you can place your sim at (you can't have multiple sims at the smae location on the grid). If so, the fields you will need to change in this file are &amp;lt;tt&amp;gt;sim_location_x&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;sim_location_y&amp;lt;/tt&amp;gt;.  And the &amp;lt;tt&amp;gt;external_host_name&amp;lt;/tt&amp;gt; should be set to the hostname or IP address of your simulation server (i.e., the machine that is running &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
A list of public grids that you can attach your sim to is at [[OpenSim: Grids]]&lt;br /&gt;
&lt;br /&gt;
=Automate Grid Startup=&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
Create a file called StartGrid.BAT:&lt;br /&gt;
  start OpenSim.Grid.UserServer.exe&lt;br /&gt;
  sleep 3&lt;br /&gt;
  start OpenSim.Grid.GridServer.exe&lt;br /&gt;
  sleep 3&lt;br /&gt;
  start OpenSim.Grid.AssetServer.exe&lt;br /&gt;
  sleep 3&lt;br /&gt;
  start OpenSim.Grid.InventoryServer.exe&lt;br /&gt;
  sleep 3&lt;br /&gt;
  start OpenSim.exe -gridmode=true&lt;br /&gt;
&lt;br /&gt;
PS! Check that you have sleep command installed, I'm unsure if all Windows versions have that.&amp;lt;br&amp;gt;&lt;br /&gt;
This knowledgebase article describes how to add a batch file to startup of Windows (before logon).&amp;lt;br&amp;gt;&lt;br /&gt;
[http://support.microsoft.com/kb/q243486/ http://support.microsoft.com/kb/q243486/]&amp;lt;br&amp;gt;&lt;br /&gt;
Note that you have to start all applications and answer the configuration questions once before adding it to any startup.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you start the server before logon then there will be no window to close if you want to shut down the server, so you can create a &amp;quot;StopGrid.BAT&amp;quot; with:&lt;br /&gt;
 taskkill /FI &amp;quot;IMAGENAME eq OpenSim.*&amp;quot;&lt;br /&gt;
 sleep 3&lt;br /&gt;
 taskkill /FI &amp;quot;IMAGENAME eq OpenSim.*&amp;quot;&lt;br /&gt;
 sleep 3&lt;br /&gt;
 taskkill /F /FI &amp;quot;IMAGENAME eq OpenSim.*&amp;quot;&lt;br /&gt;
&lt;br /&gt;
''(Do they have to be shut down in any particular order?)''&lt;br /&gt;
&lt;br /&gt;
==Linux/Mac OS X==&lt;br /&gt;
&lt;br /&gt;
===Use Screen Command===&lt;br /&gt;
Use the screen command to automate startup&lt;br /&gt;
&lt;br /&gt;
==== Setup screen command and setup shell file====&lt;br /&gt;
screen install:&lt;br /&gt;
&lt;br /&gt;
Linux&lt;br /&gt;
 apt-get install screen&lt;br /&gt;
Mac OS X: Download either MacPorts, http://www.macports.org/, or Fink, http://www.finkproject.org/ to download *nix packages&lt;br /&gt;
MacPorts&lt;br /&gt;
 sudo port install screen&lt;br /&gt;
Fink&lt;br /&gt;
 Need command line for Fink.&lt;br /&gt;
&lt;br /&gt;
Create file runsim.sh&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 cd opensim/bin&lt;br /&gt;
 sleep 3&lt;br /&gt;
 screen -S UserServer -d -m  mono OpenSim.Grid.UserServer.exe&lt;br /&gt;
 sleep 3&lt;br /&gt;
 screen -S GridServer -d -m mono OpenSim.Grid.GridServer.exe&lt;br /&gt;
 sleep 3&lt;br /&gt;
 screen -S AssetServer -d -m mono OpenSim.Grid.AssetServer.exe&lt;br /&gt;
 sleep 3&lt;br /&gt;
 screen -S InventoryServer -d -m mono OpenSim.Grid.InventoryServer.exe&lt;br /&gt;
 sleep 3&lt;br /&gt;
 screen -S OpenSim -d -m mono OpenSim.exe -gridmode=true&lt;br /&gt;
&lt;br /&gt;
====Startup and access servers====&lt;br /&gt;
 ./runsim.sh&lt;br /&gt;
&lt;br /&gt;
If you have permission issues &lt;br /&gt;
 chmod 755 runsim.sh&lt;br /&gt;
&lt;br /&gt;
To see a list of the servers in screen:&lt;br /&gt;
 screen -ls or screen -list&lt;br /&gt;
&lt;br /&gt;
Output will look like the following:&lt;br /&gt;
 There are screens on:&lt;br /&gt;
      8419.OpenSim  (Detached)&lt;br /&gt;
      8403.InventoryServer  (Detached)&lt;br /&gt;
      8378.AssetServer  (Detached)&lt;br /&gt;
      8360.GridServer  (Detached)&lt;br /&gt;
      8347.UserServer  (Detached)&lt;br /&gt;
&lt;br /&gt;
To access server&lt;br /&gt;
 screen -r 8419.OpenSim&lt;br /&gt;
 screen -r 8403.InventoryServer&lt;br /&gt;
 etc.&lt;br /&gt;
&lt;br /&gt;
To exit screen, leaving server running, and to return to shell&lt;br /&gt;
 ctrl-a d&lt;br /&gt;
&lt;br /&gt;
====Shutdown Servers====&lt;br /&gt;
Either manually access each sceen&lt;br /&gt;
 screen -r 8419.OpenSim&lt;br /&gt;
 shutdown&lt;br /&gt;
&lt;br /&gt;
Or use&lt;br /&gt;
 killall mono&lt;br /&gt;
&lt;br /&gt;
Need to see if there is a way to use a shell script using screen to shutdown servers&lt;/div&gt;</summary>
		<author><name>Glem02</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Main_Page"/>
				<updated>2007-09-10T12:44:08Z</updated>
		
		<summary type="html">&lt;p&gt;Glem02: /* Getting Started with OpenSim */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:opensim_avatar.png|right]]&lt;br /&gt;
&lt;br /&gt;
OpenSim is a BSD Licensed Open Source project to develop a functioning virtual worlds server platform capable of supporting multiple clients and servers in a heterogeneous grid structure.  OpenSim is written in C#, and can run under [http://www.mono-project.com/Main_Page Mono] or the MicroSoft .NET runtimes.&lt;br /&gt;
&lt;br /&gt;
== Getting Started with OpenSim ==&lt;br /&gt;
&lt;br /&gt;
* [[OpenSim: Install]] (How to install the simulator software)&lt;br /&gt;
* [[OpenSim: Configuration]] (How to configure the simulator for various modes)&lt;br /&gt;
* [[OpenSim: Network settings]] (How to setup the network for the simulator)&lt;br /&gt;
* [[OpenSim: Running]] (How to run standalone, local grid &amp;amp; public grid modes, and server side commands)&lt;br /&gt;
* [[OpenSim: Connecting]] (How to connect to an OpenSim server)&lt;br /&gt;
* [[FAQ]]     (A set of Frequently Asked Questions)&lt;br /&gt;
&lt;br /&gt;
== OpenSim Development ==&lt;br /&gt;
&lt;br /&gt;
The [[OpenSim: Development Team|OpenSim Team]] is currently working towards the 0.4 release of OpenSim.&lt;br /&gt;
&lt;br /&gt;
'''Recent Changes'''&lt;br /&gt;
&amp;lt;rss&amp;gt;http://cia.vc/stats/project/opensim/.rss|max=5|title=none&amp;lt;/rss&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Handy Documentation'''&lt;br /&gt;
* [[OpenSim: Testing]] (What is tested)&lt;br /&gt;
* [[OpenSim: TechRef]] (A technical description of the simulator operation)&lt;br /&gt;
* [[OpenSim: Grids]]   (Known Public grids currently available)&lt;br /&gt;
* [[Opensim: 0.4 Release Target Discussion]]&lt;br /&gt;
* [[Opensim: 0.5 Release Target Discussion]]&lt;br /&gt;
* [[OpenSim: Class Diagrams]]&lt;br /&gt;
* [[OpenSim: Scripting]] (How to use scripts and what limitations apply)&lt;br /&gt;
* [[PhysicsEngines]]   (Options for physics engines in OpenSim)&lt;br /&gt;
* [[MonoSqlite]] (How the database model currently works)&lt;br /&gt;
* [[llFunction implementation status]] (What LSL commands has been implemented)&lt;br /&gt;
* [[OpenSim.Region.ScriptEngine]] (How the ScriptEngine looks internally)&lt;br /&gt;
* [[RegionModules]] (The various modules that are used in the RegionServer and how to write new ones)&lt;br /&gt;
&lt;br /&gt;
== Participating in the OpenSim Community ==&lt;br /&gt;
&lt;br /&gt;
OpenSim is an [http://en.wikipedia.org/wiki/Open_source open source] project. This means that it is developed by anyone who wants to participate. This could be you!  We welcome testers and developers alike.&lt;br /&gt;
&lt;br /&gt;
If you ''need help'' or ''want to help'' the best way to get in touch is IRC (chat network). There is a lot of activity there every day.&lt;br /&gt;
&lt;br /&gt;
=== IRC ===&lt;br /&gt;
* IRC on EFNet, channel #OpenSim. Download an IRC client like [http://www.xchat.org/ X-Chat] and go to EFNet (server irc.efnet.net), channel #OpenSim. If you already have an IRC client installed you can just follow [irc://irc.efnet.org/OpenSim this link].&lt;br /&gt;
=== Email ===&lt;br /&gt;
* The official website for OpenSim can be found at [http://opensimulator.org/ opensimulator.org]&lt;br /&gt;
* The mailing lists are in the process of moving to another server. The archives are available for [http://openmv.org/pipermail/opensim-dev/ OpenSim-Dev] and [http://openmv.org/pipermail/opensim-commits/ OpenSim-Commits].&lt;br /&gt;
=== Source Code ===&lt;br /&gt;
* You can browse the source code for opensim at [http://opensimulator.org/cgi-bin/viewcvs.cgi OpenSim SVN browser]&lt;br /&gt;
&lt;br /&gt;
'''Anon Checkout'''&lt;br /&gt;
 svn co http://opensimulator.org/svn/opensim/trunk&lt;br /&gt;
&lt;br /&gt;
'''Developer Checkout'''&lt;br /&gt;
 svn co svn+ssh://USERNAME@opensimulator.org/var/svn/opensim/trunk&lt;br /&gt;
&lt;br /&gt;
=== Bugs ===&lt;br /&gt;
* You can report bugs at the [http://bug.opensecondlife.org/ Mantis opensim bug tracker]&lt;/div&gt;</summary>
		<author><name>Glem02</name></author>	</entry>

	</feed>