You are not logged in (login or register) Sitemap | Help!

How-to Install Opensim on Mac OSX

Presenting not one, but two methods of installing a standalone region

Edited by: SP, Ralf Haifisch

Link

We often get asked about installing Opensim on a Mac, but unfortunately we have no idea as we are stuck on pc's. Luckily Mac Expert Dave Pentecost has the answers...

There are many tips to be found online about installing Opensim on Mac OS X, but they are scattered and often confusing and out of date. This tutorial will describe the simplest methods to install a standalone Opensim region on your Intel Mac. In a later tutorial I will show how to create a grid of multiple regions.

In this tutorial I will be using Mac OS 10.5.6, Opensim 0.6.4, and Mono 2.4. As of this writing, these are the latest versions of the software. One of the great advantages of installing the latest Opensim release is that it supports save and load of OAR (Opensim Archive) files. This allows you to back up your entire sim, including terrain, all buildings and objects, and move it or restore it on the same or another Opensim region. It also allows you to load free sim configurations that others have provided, as you will see below. I am providing my Maya sim as an OAR file in the easy method download.

I will describe two methods of creating your very own standalone opensim region ( or sim ).

1) The standard "geeky" approach, using Terminal to download from SVN and build the application. I'll include the exact commands, and only the commands that you need for Intel Macs. If this sounds like the right approach for you then look ahead to How-to install Opensim on Mac OSX - The Geeky Way.

2) The easy shortcut, using a prebuilt .dmg file which you can download from my site, drop into your user folder, and configured the first time you run it. I'll also include a tiny application (a shell script) that you can double-click to start the Opensim server, rather than using Terminal every time you start up. You will still use Terminal as the Opensim console, which lets you run many useful commands on your Opensim server, including load and save OAR files. Head over to How-to install Opensim on Mac OSX - The Easy Way if this sounds more like your thing.

Note: The standalone methods in this tutorial use the SQLite database that comes bundled with Opensim. There is no need to install MySQL - that becomes necessary only if you intend to run in grid mode, with multiple regions. You can start running your local sim now following these instructions, and back up your build with the save OAR command. That way, you can restore it if you later decide to convert to grid mode.

COMING SOON: How to install a multi-region Opensim grid on Mac OS X

 

Article tagged: OpenSim | MacOSX | Tutorial | Standalone | Second-Life-alternatives


5 comment(s) for “How-to install Opensim on Mac OSX”


Gravatar of Bettie D Bettie D said on Thursday, April 30, 2009 (7:05:40 AM)
Hi Dave, is this just to run opensim on a standalone Mac, or can it run on a mac server for others to access?
Gravatar of SP SP said on Thursday, April 30, 2009 (8:52:36 AM)
Hi Bettie D, this is for standalone on Macs, but yes you can run on a mac server or from your desktop for others to access - we will provide another tutorial presently on that :)
Gravatar of Orfeo Orfeo said on Tuesday, July 21, 2009 (3:56:22 PM)
Excellent tutorial! I was really excited by Opensim but way intimidated by making it happen on my Mac. Can't wait to see the next installment. I'm hoping for info on adding regions and changing terrain.
Gravatar of Von Johin Von Johin said on Friday, August 07, 2009 (5:31:06 PM)
Can't seem to get it to startup on a Mac Mini PowerPC model running Leopard Server. The script runs great for the setup, but at the end it terminates and won't startup. Any suggestions?
Gravatar of Maschinen Herz Maschinen Herz said on Sunday, August 16, 2009 (9:06:31 AM)
i only see "unable to connect (done)" and tried it the hard and the easy way...
terminal says:
15:04:58 - not found the region at 1000 1000
15:04:58 - [LOGIN]: Home region of user Maschinen Herz is not available; using computed region position 256000 256000
15:04:58 - [LOGIN]: Sending user to default region 1099511628032000 instead
15:04:58 - [LOGIN END]: XMLRPC Login failed, System.NullReferenceException: Object reference not set to an instance of an object
at OpenSim.Client.Linden.LLStandaloneLoginService.PrepareLoginToRegion (OpenSim.Framework.RegionInfo regionInfo, OpenSim.Framework.UserProfileData user, OpenSim.Framework.Communications.LoginResponse response) [0x00000]
at OpenSim.Client.Linden.LLStandaloneLoginService.CustomiseResponse (OpenSim.Framework.Communications.LoginResponse response, OpenSim.Framework.UserProfileData theUser, System.String startLocationRequest) [0x00000]
at OpenSim.Framework.Communications.LoginService.XmlRpcLoginMethod (Nwc.XmlRpc.XmlRpcRequest request) [0x00000]
15:04:58 - at OpenSim.Client.Linden.LLStandaloneLoginService.PrepareLoginToRegion (OpenSim.Framework.RegionInfo regionInfo, OpenSim.Framework.UserProfileData user, OpenSim.Framework.Communications.LoginResponse response) [0x00000]
at OpenSim.Client.Linden.LLStandaloneLoginService.CustomiseResponse (OpenSim.Framework.Communications.LoginResponse response, OpenSim.Framework.UserProfileData theUser, System.String startLocationRequest) [0x00000]
at OpenSim.Framework.Communications.LoginService.XmlRpcLoginMethod (Nwc.XmlRpc.XmlRpcRequest request) [0x00000]
15:04:58 - [LOGIN END]: XMLRPC Login failed. Sending back blank XMLRPC response
Region (Maya) #

but i cant change anymore the x/y!
help please