[HOWTO] Get OpenSim running on OSgrid.org for cheep cheep by Adam™ Zaius™ - SLUniverse Forums


Go Back   SLUniverse Forums > Blogs > Psyke Phaeton

Rate this Entry

[HOWTO] Get OpenSim running on OSgrid.org for cheep cheep by Adam™ Zaius™

Posted 07-20-2008 at 11:35 AM by Psyke Phaeton
Updated 07-28-2008 at 05:08 AM by Psyke Phaeton
By: Adam™ Zaius™

Inspired by that other thread which shall remain nameless - this guide is a guide, no guarantees, etc etc. Total cost can be done for $15.00/month, less if you can share with someone else.

Step 1.
Get a server account which allows you to run applications - for this guide, I'm going to assume Debian or Ubuntu Linux. A list of recommended providers for this, and expected performance is below:

Virtual Private Server (VPS) Hosting from TekTonic - Their Level-1 Unmanaged VPS is a steal. $15.00/month and that should give you a single rock solid sim (you could probabaly run a couple, but that's pushing it), this is a VPS, so random performance problems could be an issue, but the people who have used this service haven't reported any.

Dedicated Server | Windows Dedicated Servers | Server Cluster | Linux Dedicated Servers - For dedicated options, Cari are pretty decent, they have a good reputation and a lot of the other OSgrid regions are on here, so teleports and border crossings are faster. (All the "Plaza" regions are at Cari.net). This is the better option for something which is likely to not just be a random building factory or place for a tiny number of friends to congregate. The Kentsfield (Xeon Quad-Core) configuration is probably the best bang-for-buck ratio - especially for personal use.

Order something, and wait until you have the login. This can take 1-2 days. Remember this guide is for Debian or Ubuntu Linux - if you pick another distro, you will need to know what you are doing. **IF YOU WANT TO MAKE LIFE EASIER, PICK A 32-Bit INSTALL**

Step 1.5.
Register an account on osgrid.org.

Step 2.
Grab PuTTY from PuTTY: a free telnet/ssh client

Connect to the IP address you were given, enter the username "root" (no quotes), hit enter and the password given.

METHOD 1:
type as follows

Code:
cd /var
apt-get install subversion nant mono-gmcs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil libgdiplus libmono-i18n2.0-cil
svn co http://opensimulator.org/svn/opensim/trunk opensim
cd opensim
./runprebuild.sh
nant
As you hit enter, lines of things may come up - wait for these to finish before you proceed to the next. (For other distributions, see here.)

OR METHOD 2:

rather than compiling your own you can get an official version from Download - OpenSim

You will still need to

Code:
apt-get install libmono-microsoft8.0-cil libmono-system-runtime2.0-cil libgdiplus libmono-i18n2.0-cil mono-gmcs
(mono-gmcs is used for compiling scripts that are made on your sim)

Now you need to do a little configuration of your sim before you can begin.

Code:
mono OpenSim.32BitLaunch.exe
A whole bunch of stuff will appear, ignore it, when it gets to the first prompt "Enter region name [OpenSim Test]", hit CTRL+C. It will quit, this is expected.

Code:
apt-get install jed
jed opensim.ini
You have some replacements to make - scroll to each of the following settings, and change them as shown:

Code:
physics = basicphysics
BECOMES
Code:
physics = OpenDynamicsEngine
Code:
gridmode = False
BECOMES
Code:
gridmode = True
The grid server stuff should look like this (change it to look so accordingly):
Code:
grid_server_url = "http://osgrid.org:8001"
grid_send_key = "1234"
grid_recv_key = "1234"

user_server_url = "http://osgrid.org:8002"
user_send_key = "1234"
user_recv_key = "1234"

asset_server_url = "http://osgrid.org:8003"

inventory_server_url = "http://osgrid.org:8004"
Now...

Step 3.

Code:
mono OpenSim.32BitLaunch.exe
Wait for it to load again, at the first prompt, enter the name of the sim (can be anything you like, 64 characters or less.)

Load this webpage - Welcome to OSGrid

Find some coordinates (click the "i" to see the coordinates of one of the sim) a little guesswork is required, but you should be able to find a pair that is empty.

You will be asked some questions, these are the answers you should give:

X Coordinate of Region: The X coordinate you picked above
Y Coordinate of Region: The Y coordinate you picked above
Internal IP address: Press enter (0.0.0.0)
External Hostname/IP: Enter the IP address of the server you are connecting to.
Port: Leave as 9000 (press enter)
Master avatar firstname: the firstname of your OSgrid.org account
Master avatar lastname: the lastname of your OSgrid.org account
Master avatar password: either leave blank or fill with gibberish (It's not used)

After the last question, a bunch more text should scroll by, and with any luck you will see "Region #:" - this means your region is online.

Type "shutdown", the sim should shutdown, now enter the following:

Code:
screen
<press enter to skip the screen if it shows one>
mono OpenSim.32BitLaunch.exe
<press CTRL A then CTRL D>
Final Steps

See here on how to Login to OSGrid - Welcome to OSGrid

Login to the OSGrid.org website, and change your home region to the region you just made.

Login.

Enjoy.

--- Notes from Psyke ---

GNU Screen help

Ctrl-a d = to detach from a screen
screen -r
= to reattach a screen
Posted in
Views 140 Comments 0 Email Blog Entry
Total Comments 0

Comments

 

All times are GMT -5. The time now is 12:52 PM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
vB.Sponsors Copyright 2008 SLUniverse.com / Hurricane Interactive.
All rights reserved.

Second Life(TM) and Linden Lab(TM) are trademarks or registered trademarks of Linden Research, Inc.
No infringement is intended.