Grid Mode

De DigiWiki.

Sommaire

Grid Mode (0.3)

The configuration details below are relvant to 0.3.

If using SQLite as your Database then you can skip the parts to do with MySQL.

Install Requirements

Firstly ensure you have the basics, which are outlined in detail at Requirements

We require:

A Windows Operating System and that .NET 3.5 framework is installed.

or:

Linux / Mac OS Operating Systems require at least MONO Version 2.4.3 or better installed.  At present MONO 2.10.2 is our recommended version, See Mono-Project and install according to your Operating System.

Downloading Aurora-Sim

Source :- https://github.com/aurora-sim/Aurora-Sim

Release :- https://github.com/aurora-sim/Aurora-Sim/downloads OR direct download zip  tar.gz (current release 0.3).

Build and Compile (Linux)

apt-get install mono-xbuild

apt-get install nant

apt-get install git-core

aptitude install mysql-server

cd /home/

git clone git://github.com/aurora-sim/Aurora-Sim.git

cd /home/Aurora-Sim chmod -R 777 runprebuild.sh

./runprebuild.sh

xbuild Aurora.sln

Build and Compile (Windows)

Download Aurora-Sim from master source

1) Goto Aurora-Sim folder

2) Double Click runprebuild.bat

3) Double Click compile.bat

Build and Compile (Mac)

TO BE DONE

Configuration

Here are instructions on how to setup your Aurora in Grid Mode. Aurora is Standalone & SQLite by Default and the instructions below are if your using MySQL 5.1.x & 5.5.x. If you don't have a static IP we would reccommend using NO-IP or DynDNS service as your IP.

Router Ports

You can either google your router on how to portforward your router or theres a great site that may help you portforward.com

Default External Port Service Config Location
8002 Login <install folder>/bin/AuroraServerConfiguration/Main.ini
8003 Asset <install folder>/bin/AuroraServerConfiguration/Main.ini
8005 MapService <install folder>/bin/AuroraServerConfiguration/Main.ini [MapService] config
8007 CAPS Service <install folder>/bin/AuroraServerConfiguration/Main.ini
9000 Region <install folder>/bin/Regions/*.ini

MySQL Database Setup

mysql -u root -p

create database DBName;

create user DBUser;

GRANT ALL PRIVILEGES ON DBName.* TO DBUser@'localhost' IDENTIFIED BY 'Password';

flush privileges;

exit

NOTE 5.5.x MySQL you will need to add max_allowed_packet= xxxM manually to your my.ini

Grid Configuration

The files below you will need to edit to your setup.

bin > Aurora.ini

[Network] http_listener_port = 9000

127.0.0.1 should be your IP address or DNS

Define-HostName = http://IP address or DNS

bin > AuroraServer.ini.example (Rename to AuroraServer.ini)

[Network] http_listener_port = 8003

127.0.0.1 should be your IP address or DNS

HostName = http://IP address or DNS

[GridService] = uncomment & enter YOUR_REGION_NAME (use underscores if you have a space).

Region_YOUR_REGION_NAME = "DefaultRegion, FallbackRegion"

bin > Regions >RegionConfig.ini.example (You can let Aurora do this on startup if you wish)

This will be setup when you startup the server, you can also manually make if you wish and rename it as RegionConfig.ini. If you need a RegionUUID heres a UUID generator http://www.guidgenerator.com/online-guid-generator.aspx .

RegionUUID = "11111111-2222-3333-4444-555555555555"

Location = "1000,1000"

RegionSizeX = 256

RegionSizeY = 256

InternalAddress = "0.0.0.0./192.168.x.x"

InternalPort = 9000

AllowAlternatePorts = False

ExternalHostName = "SYSTEMIP or IP address or DNS"

bin > Configuration > Main.ini (comment out Standalone & uncomment Grid)

;Include-Standalone = Configuration/Standalone/StandaloneCommon.ini
Include-Grid = Configuration/Grid/AuroraGridCommon.ini

bin > Configuration > Data > Data.ini (If using MySQL can use SQLite if you wish)

;Include-SQLite = Configuration/Data/SQLite.ini
Include-MySQL = Configuration/Data/MySQL.ini

bin > Configuration > Data > MySQL.ini (If using MySQL)

Change Database, UserID & Password to what you created in the MySQL Database Setup section.

ConnectionString = "Data Source=localhost;Port=3306;Database=opensim;UserID=opensim;Password=***;"

bin > Configuration > Grid > AuroraGridCommon.ini

RegistrationURI = "http://IP address or DNS:8003"

bin > AuroraServerConfiguration > Data > Data.ini (If using MySQL can use SQLite if you wish)

;Include-SQLite = Configuration/Data/SQLite.ini 
Include-MySQL = Configuration/Data/MySQL.ini

bin > AuroraServerConfiguration > Data > MySQL.ini (If using MySQL)

Change Database, UserID & Password to what you created in the MySQL Database Setup section.

ConnectionString = "Data Source=localhost;Port=3306;Database=opensim;UserID=opensim;Password=***;"

bin > AuroraServerConfiguration > AutoConfiguration.ini

change to "IP address or DNS" same as in above (Grid > AuroraGridCommon.ini)

HostNames = "IP address or DNS"

bin > AuroraServerConfiguration > GridInfoService.ini

login uri: for grid this is the login server

URI login = http://IP address or DNS:8002/

long grid name: the long name of your grid

gridname = "Your_Grid_Name"

short grid name: the short name of your grid

gridnick = "Your_Short_Grid_Name" this must be all lower case

(And other information you wish to provide , the above is just the basics).

bin > AuroraServerConfiguration > Login.ini (use underscores if you have a space)

DefaultHomeRegion = "YOUR_REGION_NAME"

Starting Aurora-Sim (Windows)

Start Aurora.Server.exe

Create User (Fill in any questions it asks)

If you are on a 64bit machine:

Start Aurora.32BitLaunch.exe

Otherwise:

Start Aurora.exe

Starting Aurora-Sim (Linux)

cd /home/Aurora-Sim/bin

mono Aurora.Server.exe -inifile=AuroraServer.ini

Create User (Fill in any questions it asks)

mono Aurora.exe

Starting Aurora-Sim (Mac)

TO BE DONE

Starting Aurora-Sim-SQLite (Linux)

cd /home/Aurora-Sim/bin

mono Aurora.Server.exe -inifile=AuroraServer.ini

Create User ( Fill in any questions it asks)

LD_LIBRARY_PATH=. mono Aurora.exe (Only if using SQLite as database for the Region Server)

Var Regions (Variable Sized)

If you wish to make regions over the 256x256 size you will need to use either Astra Viewer http://astraviewer.com/ or Imprudence 1.4 exp 03/20 or above http://wiki.kokuaviewer.org/wiki/Downloads as these have been coded to use Var Regions.

Outils personnels
  • Cette page a été consultée 5 495 fois.
donate
Google Ads