OpenSim on Gentoo Linux
Inhaltsverzeichnis |
OpenSim - The open source virtual world simulator
Annuna Technologies is participating in the OpenSim project - helping with the development of an Open Source Simulator.
Links for more information:
If you know any other important links that should be listed here, please email me at: jabba (at) annuna (dot) net
Try it yourself
Just call your Second Life client with the following additional parameter:
C:\Programme\SecondLife\SecondLife.exe -loginuri http://grid.annuna.net:7002/
For keeping things easy you should use the regular SL client and not the FirstLook viewer.
Simply use the following user information for login:
- Username:
Annuna Testuser - Password:
letmein
OpenSim on Gentoo Linux
Installation
For compiliting and installing the OpenSim source you eventually need to pre-install some additional software packages. You also need a typical LAMP installation which will not be explained here.
$ emerge dev-lang/mono $ emerge dev-dotnet/nant $ emerge dev-util/subversion
Copy the newest subversion tree containing the OpenSim source code to your local directory:
$ cd $ svn co svn://opensecondlife.org/opensim/trunk opensim [...] Checked out revision 8624. $ mv opensim opensim_r8624
Release number 8624 is only an example. I usually use the release number for renaming the related directory. That way I can have several different releases on my harddisk.
$ cd opensim_r8624 $ ./runprebuild.sh [...] $ nant [...]
Configuration
The following files need to be configured or at least (when updating) copied from the old release directory tree to the newly created directories.
- opensim_rXXXX/bin/OpenSim.ini
- opensim_rXXXX/bin/LaunchSLClient.ini
- opensim_rXXXX/bin/mysql_connection.ini
- opensim_rXXXX/bin/Regions/Central_Plaza.xml (my opensim region is called 'Central Plaza')
- opensim_rXXXX/bin/UserServer_Config.xml
- opensim_rXXXX/bin/GridServer_Config.xml
- opensim_rXXXX/bin/AssetServer_Config.xml
- opensim_rXXXX/bin/InventoryServer_Config.xml
- opensim_rXXXX/bin/MessagingServer_Config.xml
- opensim_rXXXX/bin/OpenSim.db
A good help for automatically updating configuration files after updating the program system can be found here.
Startup
It is a good idea to use screen for starting all the different threads of the opensim package:
sleep 3 screen -S UserServer -d -m mono OpenSim.Grid.UserServer.exe sleep 3 screen -S GridServer -d -m mono OpenSim.Grid.GridServer.exe sleep 3 screen -S AssetServer -d -m mono OpenSim.Grid.AssetServer.exe sleep 3 screen -S InventoryServer -d -m mono OpenSim.Grid.InventoryServer.exe sleep 3 screen -S MessagingServer -d -m mono OpenSim.Grid.MessagingServer.exe sleep 3 screen -S OpenSim -d -m mono OpenSim.exe -gridmode=true