OpenSim 0.8/GridCommonIni en
Configuration of the file "GridCommon.ini"
The file "Gridcommon.ini" in the subdirectory "config include" contains many important settings. Here the database for your own regions is selected, also various URLs (web addresses) are set for the grid of your choice your server will be connected to. Starting point for this tutorial is the "GridCommon.ini.example" as included in the OpenSim Download.
Section Database Service
Here the database is selected, either SQLite or MySQL. The respective other choice must be commented out with semicolons (;)!
SQLite is included in OpenSim and does not need to be previously installed or configured. Please do not get confused by the word "Standalone" in the file name, you can still connect your regions to a grid. Select the following settings to use SQLite:
Include-Storage = "config-include/storage/SQLiteStandalone.ini"
For MySQL a database server and a database has to be set up in advance, as described by the example in this tutorial. MySQL is more powerful than SQLite, namely one of the fastest free use of database programs. For MySQL, choose the following settings:
StorageProvider = "OpenSim.Data.MySQL.dll" ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=ultra-secret;"
In this example, the database is called "opensim", the user is also called "opensim" and the password is "ultra-secret". Pay attention to capitalization! The database is located on the same machine (localhost).
The following modules define various connections to the grid you want to connect to. Here are example settings for Metropolis grid. Of course, you have to decide on the same grid for all the settings!
[Hypergrid] HomeURI = "http://hypergrid.org:8002/" GatekeeperURI = "http://hypergrid.org:8002/"
[Modules] => Only in grids (for example OSgrid) which still use OpenSimSearch, add here the following line: SearchModule = "BasicSearchModule"
=> Only in grids (for example OSgrid) which still use OpenSimProfile, add here the following three lines: [Profile] Module = "OpenSimProfile" ProfileURL = "http://profiles.osgrid.org/profile.php"
[AssetService] AssetServerURI = "http://assets.hypergrid.org:8006"
[InventoryService] InventoryServerURI = "http://inventory.hypergrid.org:8005"
[GridInfo] GridInfoURI = "http://hypergrid.org:8002"
[GridService] GridServerURI = "http://grid.hypergrid.org:8000" Gatekeeper = "http://hypergrid.org:8002/"
[Messaging] Gatekeeper = "http://hypergrid.org:8002/"
[AvatarService] AvatarServerURI = "http://avatar.hypergrid.org:8000"
[AgentPreferencesService] AgentPreferencesServerURI = "http://agentprefs.hypergrid.org:8004"
[PresenceService] PresenceServerURI = "http://presence.hypergrid.org:8004"
[UserAccountService] UserAccountServerURI = "http://hypergrid.org:8003"
[GridUserService] GridUserServerURI = "http://hypergrid.org:8003"
[AuthenticationService] AuthenticationServerURI = "http://hypergrid.org:8003"
[FriendsService] FriendsServerURI = "http://hypergrid.org:8003"
[HGInventoryAccessModule] HomeURI = "http://hypergrid.org:8002/" Gatekeeper = "http://hypergrid.org:8002/"
[HGAssetService] HomeURI = "http://hypergrid.org:8002/"
[UserAgentService] UserAgentServerURI = "http://hypergrid.org:8002"
[MapImageService] MapImageServerURI = "http://mapimage.hypergrid.org:8001"
Continued: Configuration of the file "OpenSim.ini"