<<Previous Section Tutorial Start
In part 5 of this tutorial, we will finally get Opensim running. After a few edits to some config files you will be able to fire up your first sim. My apologies for the delay of this final installment which may have frustrated a few of you, I got caught up in the Google Lively launch.
Step 1 - Start the Opensim.exe application
Find the Opensim.exe in an explorer window. Right click on the file and select “Run As Administrator”. If you don’t do this, it won’t work. A windows command shell will come up and you will see messages indicating Opensim is starting up.
Step 2 - Enter First Time Startup Data
The first time you do this you will either get errors or be prompted for some default information. If you get errors it is likely that you did not configure the database settings properly or your firewall is hindering your progress. Below are the prompts and what they mean.
DEFAULT REGION CONFIG
- Region Name [Opensim Test]:
- The name of the your new Sim, you can safely change this but keep it short and one or two words, I no evidence to suggest it would not work with a long sentence, but based on SL sim naming conventions I’m suggesting you adhere to this if you are not a developer.
- Grid Location (X Axis) [1000]:
- Grid Location (Y Axis) [1000]:
- Starting location in the world for your avatar. Keep defaults.
- Internal IP Address for incoming UDP client connections [0.0.0.0]:
- Should remain 0.0.0.0
- Internal IP Port for incoming UDP client connections [9000]:
- Modify only if you are planning to use a different port or expose your sim to the internet
- External Host Name [127.0.0.1]:
- Modify only if you plan to login to this sim from elsewhere
- First Name of Master Avatar [Test]:
- First name of your main avatar
- Last Name of Master Avatar [User]:
- Last name of your main avatar. Yes, you can pick this in Opensim :-).
- (Sandbox Mode Only)Password for Master Avatar Account [test]:
- Password for your avatar
At this point the Opensim server should be up and running
Step 3 - Login with your SL Client
You can’t just login with your Second Life client because it has no way of knowing about your Opensim server. You need to launch the SL client with some command line parameters to tell it to use Opensim vs. the SL grid. Open a command window and navigate to the directory where you installed Second Life. You should find SecondLife.exe You can then type in “SecondLife.exe -loginuri http://localhost:9000/ -loginpage http://localhost:9000/?method=login“ Replace localhost:9000 with the server/port in question if you have modified the defaults above.
Start Building. Or if you are so inclined learn how to create your own custom terrain here.
<<Previous Section Tutorial Start

8 comments
Comments feed for this article
Trackback link
http://www.virtualwhite.com/wp-trackback.php?p=17
August 1, 2008 at 2:07 am
Mike McKay
I Just wanted to shout ya a big THANKS a million! Your tut got my on OpenSim.
Thanks you!
An American in Japan
October 10, 2008 at 5:19 am
Muff
Hi, its a very good tutorial, but i cant seem to make it work. As soon as i try to run Opensim.exe i get a critical error… Can anyone upload the OpenSim.ini file? Maybe i messed up there, but i did exactly as you said.
Any tips?
thx
November 5, 2008 at 3:50 am
Fairy Avalon
Thankyou, I am up and running.. Yay!
I had to do the opensim.ini a couple of times forgot to uncomment and comment .. Ended up searching for every instance of mysql in opensim.ini and then all was good.
I am using a Wamp Install with phpadmin, mysql and opensim-0.5.11-TRUNK.zip and Vista
I am standing on a little island very excited….
**Sprinkles**
November 21, 2008 at 7:54 pm
Bruce Patton
Sorry guys but how do you “uncomment” and “comment” and yes, it would be nice if someone could upload the opensim.ini file. I’m totally confused, should it be:
storage_plugin = “OpenSim.Data.MySQL.dll”
storage_connection_string = “Data Source=localhost;Database=opensim;User ID=[enter]root;Password=[enter];”;
as in the tutorial, or:
storage_plugin = OpenSim.Data.MySQL.dll
storage_connection_string = Data Source=localhost;Database=opensim;User ID=[enter];Password=[enter];;
????
Thank you in advance for your help
December 9, 2008 at 1:31 am
Robert Brown
Great Tut!
I have tried to connect to opensim running on my machine several times in the last couple of days. I’ve done everything from installing binaries from the opensim website to building from source. Yours was the last I followed. Every time I have got the server up and running, all looks good until I try to connect, then I get the “Despite our best efforts, something unexpected has gone wrong.”
I have used the SL viewer and Hippo viewer, and both show the same error. I am using OpenSim 0.6.0.7275 on Vista, and it is run as Admin.
The only deviance I made from your tut was the configuring of mysql_connection.ini. I could not find an example file with the build, and assume it’s no longer needed?
Any help would be greatly appreciated!
February 2, 2009 at 1:48 am
Fernando
Pretty much the same comment as the previous guy.
The tutorial was great, but when I got to the end, I couldn’t connect either. Like him, I tried both SecondLife and Hipo viewers.
Like him I couldn’t locate the mysql_connection file either.
I actually see that my OpenSim server is getting the Authentication request, because that shows in the console. But nothing comes after that, and it doesn’t connect.
March 18, 2009 at 6:56 am
Gazza
Hi,
This is a link that i used to configure the MySQL before I saw this forum…. and it worked :-), it’s more detailed with examples……
http://macsopensim.blogspot.com/2009/01/plugging-mysql-in-tutorial-7.html
hope it helps
Gazza
March 18, 2009 at 7:18 am
Gazza
also try this link as it is video showing u exactly what to do when setting up MySQL;
http://files.liferain.com/video/primcomposer/opensim-standalone-with-mysql.mp4