Setting up and starting your second region: Difference between revisions
(How to add the nth region) |
m (Adding a link to the next page) |
||
Line 24: | Line 24: | ||
If you use a location that causes the region to overlap another region, you will get reasonable error messages telling you that. | If you use a location that causes the region to overlap another region, you will get reasonable error messages telling you that. | ||
Next: [[Updating Your Grid]] when a New Version of OpenSim comes out |
Revision as of 11:52, 24 September 2023
Setting up an Additional Region
Once you have one region working, setting up the second one or the nth one is a breeze! Just copy the home region folder into a new one, edit just two files and change just a few lines in each. Here are the steps that I do:
cd ~/Grid/Regions cp -r Welcome Na-vi-Tree-of-Life cd Na-vi-tree-of-Life edit Locals.ini change RegionDir to "Na-vi-Tree-of-Life" change http_listener_port to 8021 edit Regions/Regions.ini change the first line to [Na'vi Tree of Life] change the RegionUUID to an unique UUID change the InternalPort to 8021 change the location, size and other parameters for this region cd bin screen -r Na-vi-Tree-of-Life mono OpenSim.exe ^A^D
There are a few lines in the new region folder that you probably should delete after copying, the 'pid' file and the log
As mentioned before, the new UUID must be unique which can be done by using https://www.uuidgenerator.net/ or by doing some regular change to old ones using some unique process, for example like imbeding the unique port number in the UUID.
The port numbers must be unique on the system. I kept a spreadsheet of used ports for a long time before I wrote tools to manage them for me.
If you use a location that causes the region to overlap another region, you will get reasonable error messages telling you that.
Next: Updating Your Grid when a New Version of OpenSim comes out