Daily Archives: January 4, 2011

OpenSim server: Part 3, installation and startup

So now at last is the big day when all these preparations will make our Sim come to live on the grid.

You can download the OpenSim from different places. I really recommend that you download from a certain Grid and as i did choose to use the OSGrid i downloaded from their site. That give the benefit of getting a preconfigured version for the OSGrid and that makes things a lot easier. Beware though that this might implicate different version numbers as those on the OpenSim site.

The current release on OpenSim is 0.7.0.2 and the version for OSGrid is from jan 5 2011 to be: 0.7.1.25 (i guess they do all they can to confuse us…hmmm)

As OpenSim is intended for the .NET framework and that is proprietary to Microsoft we need to install the OpenSource equivalent that the “free” world uses… lol   (That is if we are using Linux that I am). That is called Mono and emulates the .NET framework and is in some cases even better that the “real thing”.

This is how you do it on Ubuntu… (Windows steps below)

1. Open the terminal window and copy the text below into it….

sudo apt-get install mono-complete

It will ask for your password and then go on to download and install the Mono framework.

If you are on Windows it is a bit more complicated. I think most Windows versions comes with .Net version 2.0 as standard, but I am not sure of this for Windows7 as I have not used this OS yet. As OpenSim requires version 3.5 of the .Net framework you have to update it before installing OpenSim server.

1. Download it it from: http://www.microsoft.com/downloads/deta … laylang=en and select the “Full Package”

I have read that this works most of the times but sometimes you have to dig a bit further to get that installed. If you miss this step OpenSim will not work on your computer. As I have no Windows machine up an running at this moment I can not give you the exact error messages but maybe some of you can post that in the comments here

Now the preparations are done and we can download the OpenSim server program itself:

2. Download the latest version from: http://www.osgrid.org/index.php/downloads

3. Unpack the zip-file high up in the directory tree as the path might be to long for Windows otherwise. I suggest c:\opensim
You will see some files and directories being unpacked in that directory. Now set the proper admin rights to that directory so that you are allowed to run the files in that directory.

4. Now it is time to start up the installation program.

Ubuntu:
A. open the terminal window and change to the bin directory with the command: cd bin
B. start the installer by pasting the following line to the terminal window.

sudo mono OpenSim.exe

Windows:
A. Open explorer and go to to c:\opensim\bin
B1. If you are running 32bit Windows, double click on OpenSim.exe
B2. On 64bit Windows you should instead click on OpenSim.32BitLaunch.exe
(I have read that on Windows Vista for example it is often important to use the second alternative)

5. Now we have to answer some questions from the installer program and as we have made the proper preparations in part 1 and part 2 of guide, they will be rather straight forward I hope.

A. New region name []: Type the name you selected in Part 2 and that you checked was unused

B. Region UUID [79eacd60-fafb-11de-8a39-0800200c9a66]: This is automatically generated for the first region. In the next blog post i will show ha to fix this for the second region

C. Region Location [1000,1000]: Here you type the coordinates you found on the maps and you have in your notes from Part 2. Remember xxxx,yyyy  dont mix up the orders

D. Internal IP address [0.0.0.0]: This should normally not be changed. Just press enter!

E. Internal port [9000]: The port forwarding you set up in the router. If you followed my advice in Part 1 this should not be changed for the first region. Just press Enter

F. Allow alternate ports [False]: This should normally not be changed, just press enter.

G. External host name [SYSTEMIP]: Here your notes will be useful again. Here you shall enter the external IP-adress you found in Part 1. In a later post i will show how to set up a proper DNS-name connected to that often dynamic IP-adress with the free DynDns service. This is an important step so be sure to enter the correct value.

H. Do you wish to join an existing estate? [no]: I have read there is a bug here so you should always just press enter here!

I. Estate name to join [None]: I have read there is a bug here so you should always just press enter here!

J. Estate owner first name [User]: The first name from the avatar you registered on the OSGrid in part 1.

K. Estate owner last name [User]: The last name of the avatar you registered on the OSGrid in part 1.

Thats it! Congratulations now your Sim should be up and running and connected to the grid! lets go and try it for the first time.

1. Start your client and select the OSGrid and login…..
2. Bring up the world map and search for the name of your sim
3. TP to it…. Voila!

Now think of it… you logged in to the OSGrid somewhere in the world and then TP:ed back home to the Sim running in your server just next to you. Isn’t that amazing that it works at all…. ;o)

Oh by the way! If you recognize the region below you might be right, because that is a blueprint copy of our Sim Alinja InWorldz. In a later blog post i will show how you can copy your  landscape files (raw-files) from IW to OS and where you can find free ones on the net for your use here.

Please let me know if you find any errors in this guide so I can improve it further.