Saturday, March 31, 2012

Running your Own Region - Part 2


 

 

Installing the OpenSim 0.7.x



Now we can log off the server as root and log in as the newly created user opensim.  We are running opensim as a basic user for security reasons.  The root account should only be used when really needed.

Once logged in run the following command to download Opensim 0.7.3.  As newerveriosn come out you can copy the link location to download it.


--2012-03-29 15:07:17--  http://opensimulator.org/dist/opensim-0.7.3.tar.gz
Resolving opensimulator.org... 71.6.131.152
Connecting to opensimulator.org|71.6.131.152|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24741402 (24M) [application/x-gzip]
Saving to: `opensim-0.7.3.tar.gz'
100%[======================================>] 24,741,402   997K/s   in 24s

2012-03-29 15:07:42 (988 KB/s) - `opensim-0.7.3.tar.gz' saved [24741402/24741402]

Now the file has been saved we need to uncompress and tar the file using the following command.

tar -xvzf /home/opensim/opensim-0.7.3.tar.gz -C /home/opensim/

You will now find a opensim-0.7.3 folder in your home folder.

cd opensim-0.7.3

You now have OpenSim installed and ready to go!

Configure OpenSim for OSGrid and your new Region

Next we need to make some changes to your configuration files so that OpenSim can connect to OSGrid and is able to host your new region.  There are 3 files that will need to be updated in order to host a region

There are going to be 3 additional text files you will use make sure you have a copy of them.  They will be distributed with this document.

OpenSim.ini for OSGrid

GridCommon.ini for OSGrid

FlotsamCache.ini for OSGrid

From the opensim-0.7.3 directory type in the following command to enter into the bin directory.  This is where all you OpenSim executable files are located at.

Cd bin

Editing the OpenSim.ini file


Now we want to remove the current OpenSim.ini file.

Rm OpenSim.ini

If you wanted to keep a back up copy of the original OpenSim.ini file you can use this command.

Mv OpenSim.ini OpenSim.ini.bak

Next create a new copy of OpenSim.ini

Nano OpenSim.ini

Next Copy the contest from the file OpenSim.ini for OSGrid and paste it into the OpenSim.ini file.  When this is done exit and save the file by issueing this command.

Ctrl+X, then Y, Enter

Editing the GridCommon.ini


Now we want to remove the current GridCommon.ini file.

Cd config-include

Rm GridCommon.ini

If you wanted to keep a back up copy of the original GridCommon.ini file you can use this command.

Mv GridCommon.ini GridCommon.ini.bak

Next create a new copy of OpenSim.ini

Nano OpenSim.ini

Next Copy the contest from the file OpenSim.ini for OSGrid and paste it into the OpenSim.ini file.  When this is done exit and save the file by issuing this command.

Ctrl+X, then Y, Enter

Editing the FlotsamCache.ini


Now we want to remove the current GridCommon.ini file.  We should still be in the config-include folder. FlotsamCache.ini

Rm FlotsamCache.ini

If you wanted to keep a backup copy of the original GridCommon.ini file you can use this command.

Mv FlotsamCache.ini FlotsamCache.ini.bak

Next create a new copy of FlotsamCache.ini

Nano FlotsamCache.ini

Next Copy the contest from the file FlotsamCache.ini for OSGrid and paste it into the FlotsamCache.ini file.  When this is done exit and save the file by issuing this command.

Ctrl+X, then Y, Enter

No comments:

Post a Comment