From ca7a2ed839f8fec5a7d7abbf50fc2c031f192fb5 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 22 May 2019 19:14:35 +1000 Subject: Major tweaking of the scripts to suit the new setup. --- bin/config-include/config.ini.IG_example | 54 ------- bin/config-include/config.ini.MG_example | 178 ------------------------ bin/config-include/config.ini.localhost_example | 52 ------- bin/config-include/config_IG.ini | 46 ++++++ bin/config-include/config_MG.ini | 172 +++++++++++++++++++++++ bin/config-include/config_localhost.ini | 46 ++++++ 6 files changed, 264 insertions(+), 284 deletions(-) delete mode 100644 bin/config-include/config.ini.IG_example delete mode 100644 bin/config-include/config.ini.MG_example delete mode 100644 bin/config-include/config.ini.localhost_example create mode 100644 bin/config-include/config_IG.ini create mode 100644 bin/config-include/config_MG.ini create mode 100644 bin/config-include/config_localhost.ini (limited to 'bin/config-include') diff --git a/bin/config-include/config.ini.IG_example b/bin/config-include/config.ini.IG_example deleted file mode 100644 index 710ccae..0000000 --- a/bin/config-include/config.ini.IG_example +++ /dev/null @@ -1,54 +0,0 @@ -; ** -; * The Const section allows us to define some basic information that we -; * will use throughout our configuration. We will provide examples for -; * setting the base url of the Robust server and the public and private ports -; * it uses. Changing the values of the constants will set the operating -; * parameters thoughout the configuration. Other constants that may prove -; * to be useful may be added to the followin section. They may be -; * referenced anywhere in the configuration by using ${Const|Name}. One -; * such use is providing a base path for setting locations that Robust -; * uses to write data. - -; Also put grid specific stuff here. - - -[Paths] - AssetsPath = "../../AssetFiles" - BackupPath = "../../backups" - CachePath = "../../caches" - DbPath = "../../db" - LogPath = "../../logs" - - -[Const] -; MOTD = "onefang needs a little coding or sysadmin work to keep IG going. Please help me find some." - MOTD = "More members are coming, slowly. Invite your friends to." - - GridName = "Infinite Grid" - ShortGridName = "IG" - - ; For a grid these will usually be the externally accessible IP/DNS - ; name and use default public port 8002 and default private port 8003 - ; For a standalone this will usually be the externally accessible IP/DNS - ; name and use default public port 9000. The private port is not used - ; in the configuration for a standalone. - - ;# {BaseURL} {} {BaseURL} {"http://example.com" "http://127.0.0.1"} "http://127.0.0.1" - BaseHostname = "http://grid.infinitegrid.org" - HostName = "grid.infinitegrid.org" - BaseURL = http://grid.infinitegrid.org - GridURL = http://grid.infinitegrid.org - - ;# {PublicPort} {} {PublicPort} {8002 9000} "8002" - PublicPort = "8002" - - ;# {PrivatePort} {} {PrivatePort} {8003} "8003" - PrivatePort = "8003" - - - DataProvider = "OpenSim.Data.MySQL.dll" - ConnectionString = "Data Source=localhost;Database=****;User ID=****;Password=****;Old Guids=true;" - - - ; The public port of the Robust server -- THIS IS SPECIAL PORT FOR ASSSET SERVER - AssetServerPort = "8003" diff --git a/bin/config-include/config.ini.MG_example b/bin/config-include/config.ini.MG_example deleted file mode 100644 index 737bff4..0000000 --- a/bin/config-include/config.ini.MG_example +++ /dev/null @@ -1,178 +0,0 @@ -; ** -; * The Const section allows us to define some basic information that we -; * will use throughout our configuration. We will provide examples for -; * setting the base url of the Robust server and the public and private ports -; * it uses. Changing the values of the constants will set the operating -; * parameters thoughout the configuration. Other constants that may prove -; * to be useful may be added to the followin section. They may be -; * referenced anywhere in the configuration by using ${Const|Name}. One -; * such use is providing a base path for setting locations that Robust -; * uses to write data. - -; Also put grid specific stuff here. - - -[Paths] - AssetsPath = "../../AssetFiles" - BackupPath = "../../backups" - CachePath = "../../caches" - DbPath = "../../db" - LogPath = "../../logs" - - -[Const] - MOTD = "All of the World is a Stage, and Everyone's a Critic." - - GridName = "Misfitz Grid" - ShortGridName = "MG" - - ; For a grid these will usually be the externally accessible IP/DNS - ; name and use default public port 8002 and default private port 8003 - ; For a standalone this will usually be the externally accessible IP/DNS - ; name and use default public port 9000. The private port is not used - ; in the configuration for a standalone. - - ;# {BaseURL} {} {BaseURL} {"http://example.com" "http://127.0.0.1"} "http://127.0.0.1" - BaseHostname = "http://misfitzgrid.com" - HostName = "misfitzgrid.com" - BaseURL = http://misfitzgrid.com - GridURL = http://misfitzgrid.com - - ;# {PublicPort} {} {PublicPort} {8002 9000} "8002" - PublicPort = "8002" - - ;# {PrivatePort} {} {PrivatePort} {8003} "8003" - PrivatePort = "8003" - - - DataProvider = "OpenSim.Data.MySQL.dll" - ConnectionString = "Data Source=localhost;Database=****;User ID=****;Password=****;Old Guids=true;" - - - ; jOpenSim URL - jOpensimURL = "http://misfitzgrid.com/members" - ; The public port of the Robust server -- THIS IS SPECIAL PORT FOR ASSSET SERVER - AssetServerPort = "8004" - - -[Network] - ;# {ExternalHostNameForLSL} {} {Hostname to use for HTTP-IN URLs. This should be reachable from the internet.} {} - ;; Hostname to use in llRequestURL/llRequestSecureURL - ;; if not defined - llRequestURL/llRequestSecureURL are disabled - ExternalHostNameForLSL = "server2.misfitzgrid.com" - - -[Messaging] - ;# {OfflineMessageModule} {} {Module to use for offline message storage} {OfflineMessageModule "Offline Message Module V2" *} - ;; Module to handle offline messaging. The core module requires an external - ;; web service to do this. See OpenSim wiki. - OfflineMessageModule = OfflineMessageModule - ;; Or, alternatively, use this one, which works for both standalones and grids - ; OfflineMessageModule = "Offline Message Module V2" - - ;# {OfflineMessageURL} {OfflineMessageModule:OfflineMessageModule Offline Message Module V2:Offline Message Module V2} {URL of offline messaging service} {} - ;; URL of web service for offline message storage. Leave it commented if your service is local to the sim. - ; OfflineMessageURL = ${Const|BaseURL}/Offline.php - OfflineMessageURL = ${Const|jOpensimURL}/components/com_opensim/interface.php - - -[DataSnapshot] - ;# {index_sims} {} {Enable data snapshotting (search)?} {true false} false - ;; The following set of configs pertains to search. - ;; Set index_sims to true to enable search engines to index your - ;; searchable data. - ;; If false, no data will be exposed, DataSnapshot module will be off, - ;; and you can ignore the rest of these search-related configs. - index_sims = true - - ;# {data_exposure} {index_sims:true} {How much data should be exposed?} {minimum all} minimum - ;; The variable data_exposure controls what the regions expose: - ;; minimum: exposes only things explicitly marked for search - ;; all: exposes everything - data_exposure = all - - ;; [Supported, but obsolete] - ;# {data_services} {index_sims:true} {Data service URLs to register with?} {} http://metaverseink.com/cgi-bin/register.py - ; This semicolon-separated string serves to notify specific data services - ; about the existence of this sim. Uncomment if you want to index your - ; data with this and/or other search providers. - data_services="${Const|jOpensimURL}/components/com_opensim/registersearch.php" - - -[Groups] - ;# {SecretKey} {ServicesConnectorModule:Groups Remote Service Connector} {Secret key between sim and remote group service} {} "" - ;; Used for V2 in Remote only. - SecretKey = "Kensentm3" - - -[Search] - SearchURL = ${Const|jOpensimURL}/components/com_opensim/interface.php - - -[AuthorizationService] - ; If you have regions with access restrictions - ; specify them here using the convention - ; Region_ = - ; Valid flags are: - ; DisallowForeigners -- HG visitors not allowed - ; DisallowResidents -- only Admins and Managers allowed - ; Example: - Region_Amazonas = "DisallowForeigners" - Region_Andros = "DisallowForeigners" - Region_Archangel = "DisallowForeigners" - Region_Blue_Moon = "DisallowForeigners" - Region_Blue_Water = "DisallowForeigners" - Region_Boiboi = "DisallowForeigners" -; Region_Castaway_Cay = "DisallowForeigners" - Region_Chen = "DisallowForeigners" - Region_Coruscant = "DisallowForeigners" - Region_Firefly = "DisallowForeigners" - Region_Haystack1 = "DisallowForeigners" - Region_Haystack2 = "DisallowForeigners" - Region_Isle_of_Beast = "DisallowForeigners" - Region_JaimieVille = "DisallowForeigners" - Region_Kikai_Gaki = "DisallowForeigners" - Region_KW1 = "DisallowForeigners" - Region_Lioneart = "DisallowForeigners" - Region_Lyra = "DisallowForeigners" - Region_MisFitz_Fairground = "DisallowForeigners" - Region_MisFitz_Residential_1 = "DisallowForeigners" - Region_MisFitz_Residential_2 = "DisallowForeigners" - Region_MisFitz_Sandbox = "DisallowForeigners" - Region_Neo_Kidopolis = "DisallowForeigners" - Region_Neverland = "DisallowForeigners" - Region_Ningaloo = "DisallowForeigners" - Region_Northland = "DisallowForeigners" - Region_Nucleus = "DisallowForeigners" - Region_Oreo_World = "DisallowForeigners" - Region_Parts_unKnown = "DisallowForeigners" - Region_Raja_Ampat = "DisallowForeigners" - Region_Red_Sea = "DisallowForeigners" - Region_Serenity = "DisallowForeigners" - Region_Silversmoke_Estate = "DisallowForeigners" - Region_SkyTec = "DisallowForeigners" - Region_Star_Dream = "DisallowForeigners" - Region_STS-Sandbox = "DisallowForeigners" - Region_Sweetland = "DisallowForeigners" - Region_Taboo_Too = "DisallowForeigners" - Region_TheExpanse = "DisallowForeigners" - Region_Ubercity = "DisallowForeigners" - Region_Undercity = "DisallowForeigners" - Region_White_Harbor = "DisallowForeigners" - Region_Traumland = "DisallowForeigners" - Region_Crazy_Family = "DisallowForeigners" - Region_Moonland = "DisallowForeigners" - Region_Lost_Mittens = "DisallowForeigners" - Region_The_Dugout = "DisallowForeigners" - Region_The_Sandlot = "DisallowForeigners" - Region_Wild_Shadow_Bay = "DisallowForeigners" - Region_Recreational_Hazard = "DisallowForeigners" - - -[Profile] - - ProfileServiceURL = ${Const|jOpensimURL}/components/com_opensim/interface.php - Module = "jOpenSimProfile" - - ; Optional: - Debug = true diff --git a/bin/config-include/config.ini.localhost_example b/bin/config-include/config.ini.localhost_example deleted file mode 100644 index aa26abd..0000000 --- a/bin/config-include/config.ini.localhost_example +++ /dev/null @@ -1,52 +0,0 @@ -; ** -; * The Const section allows us to define some basic information that we -; * will use throughout our configuration. We will provide examples for -; * setting the base url of the Robust server and the public and private ports -; * it uses. Changing the values of the constants will set the operating -; * parameters thoughout the configuration. Other constants that may prove -; * to be useful may be added to the followin section. They may be -; * referenced anywhere in the configuration by using ${Const|Name}. One -; * such use is providing a base path for setting locations that Robust -; * uses to write data. - -; Also put grid specific stuff here. - - -[Paths] - AssetsPath = "../../AssetFiles" - BackupPath = "../../backups" - CachePath = "../../caches" - DbPath = "../../db" - LogPath = "../../logs" - - -[Const] - MOTD = "Welcome to your local grid." - - GridName = "localhost Grid" - ShortGridName = "lg" - - ; For a grid these will usually be the externally accessible IP/DNS - ; name and use default public port 8002 and default private port 8003 - ; For a standalone this will usually be the externally accessible IP/DNS - ; name and use default public port 9000. The private port is not used - ; in the configuration for a standalone. - - BaseHostname = "127.0.0.1" - HostName = "localhost" - BaseURL = http://${Const|BaseHostname} - GridURL = http://${Const|BaseHostname} - - ;# {PublicPort} {} {PublicPort} {8002 9000} "8002" - PublicPort = "8002" - - ;# {PrivatePort} {} {PrivatePort} {8003} "8003" - PrivatePort = "8003" - - - DataProvider = "OpenSim.Data.MySQL.dll" - ConnectionString = "Data Source=localhost;Database=****;User ID=****;Password=****;Old Guids=true;" - - - ; The public port of the Robust server -- THIS IS SPECIAL PORT FOR ASSSET SERVER - AssetServerPort = "8003" diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini new file mode 100644 index 0000000..3ec215c --- /dev/null +++ b/bin/config-include/config_IG.ini @@ -0,0 +1,46 @@ + information that we +; will use throughout our configuration. We will provide examples for +; setting the base url of the ROBUST server and the public and private ports +; it uses. Changing the values of the constants will set the operating +; parameters thoughout the configuration. Other constants that may prove +; to be useful may be added to the followin section. They may be +; referenced anywhere in the configuration by using ${Const|Name}. One +; such use is providing a base path for setting locations that ROBUST +; uses to write data. + +; Also put grid specific stuff here. + + +[Paths] + AssetsPath = "../../AssetFiles" + BackupPath = "../../backups" + CachePath = "../../caches" + DbPath = "../../db" + LogPath = "../../logs" + + +[Const] + MOTD = "onefang needs a little coding or sysadmin work to keep IG going. Please help me find some." + + GridName = "Infinite Grid" + ShortGridName = "IG" + + ; For a grid these will usually be the externally accessible IP/DNS + ; name and use default public port 8002 and default private port 8003 + ; For a standalone this will usually be the externally accessible IP/DNS + ; name and use default public port 9000. The private port is not used + ; in the configuration for a standalone. + BaseHostname = "http://grid.infinitegrid.org" + HostName = "grid.infinitegrid.org" + BaseURL = ${Const|BaseHostname} + GridURL = ${Const|BaseHostname} + + PublicPort = "8002" + PrivatePort = "8003" + + ; The public port of the ROBUST asset server, which might be different. + AssetServerPort = "8003" + + ; Database credentials. + DataProvider = "OpenSim.Data.MySQL.dll" + ConnectionString = "Data Source=MYSQL_HOST;Database=MYSQL_DB;User ID=MYSQL_USER;Password=MYSQL_PASSWORD;Old Guids=true;" diff --git a/bin/config-include/config_MG.ini b/bin/config-include/config_MG.ini new file mode 100644 index 0000000..4f675d7 --- /dev/null +++ b/bin/config-include/config_MG.ini @@ -0,0 +1,172 @@ + information that we +; will use throughout our configuration. We will provide examples for +; setting the base url of the ROBUST server and the public and private ports +; it uses. Changing the values of the constants will set the operating +; parameters thoughout the configuration. Other constants that may prove +; to be useful may be added to the followin section. They may be +; referenced anywhere in the configuration by using ${Const|Name}. One +; such use is providing a base path for setting locations that ROBUST +; uses to write data. + +; Also put grid specific stuff here. + + +[Paths] + AssetsPath = "../../AssetFiles" + BackupPath = "../../backups" + CachePath = "../../caches" + DbPath = "../../db" + LogPath = "../../logs" + + +[Const] + MOTD = "All of the World is a Stage, and Everyone's a Critic." + + GridName = "Misfitz Grid" + ShortGridName = "MG" + + ; For a grid these will usually be the externally accessible IP/DNS + ; name and use default public port 8002 and default private port 8003 + ; For a standalone this will usually be the externally accessible IP/DNS + ; name and use default public port 9000. The private port is not used + ; in the configuration for a standalone. + BaseHostname = "http://misfitzgrid.com" + HostName = "misfitzgrid.com" + BaseURL = ${Const|BaseHostname} + GridURL = ${Const|BaseHostname} + + PublicPort = "8002" + PrivatePort = "8003" + + ; The public port of the ROBUST asset server, which might be different. + AssetServerPort = "8003" + + ; Database credentials. + DataProvider = "OpenSim.Data.MySQL.dll" + ConnectionString = "Data Source=MYSQL_HOST;Database=MYSQL_DB;User ID=MYSQL_USER;Password=MYSQL_PASSWORD;Old Guids=true;" + + ; jOpenSim URL + jOpensimURL = "http://misfitzgrid.com/members" + + +[Network] + ;# {ExternalHostNameForLSL} {} {Hostname to use for HTTP-IN URLs. This should be reachable from the internet.} {} + ;; Hostname to use in llRequestURL/llRequestSecureURL + ;; if not defined - llRequestURL/llRequestSecureURL are disabled + ExternalHostNameForLSL = "server2.misfitzgrid.com" + + +[Messaging] + ;# {OfflineMessageModule} {} {Module to use for offline message storage} {OfflineMessageModule "Offline Message Module V2" *} + ;; Module to handle offline messaging. The core module requires an external + ;; web service to do this. See OpenSim wiki. + OfflineMessageModule = OfflineMessageModule + ;; Or, alternatively, use this one, which works for both standalones and grids + ; OfflineMessageModule = "Offline Message Module V2" + + ;# {OfflineMessageURL} {OfflineMessageModule:OfflineMessageModule Offline Message Module V2:Offline Message Module V2} {URL of offline messaging service} {} + ;; URL of web service for offline message storage. Leave it commented if your service is local to the sim. + ; OfflineMessageURL = ${Const|BaseURL}/Offline.php + OfflineMessageURL = ${Const|jOpensimURL}/components/com_opensim/interface.php + + +[DataSnapshot] + ;# {index_sims} {} {Enable data snapshotting (search)?} {true false} false + ;; The following set of configs pertains to search. + ;; Set index_sims to true to enable search engines to index your + ;; searchable data. + ;; If false, no data will be exposed, DataSnapshot module will be off, + ;; and you can ignore the rest of these search-related configs. + index_sims = true + + ;# {data_exposure} {index_sims:true} {How much data should be exposed?} {minimum all} minimum + ;; The variable data_exposure controls what the regions expose: + ;; minimum: exposes only things explicitly marked for search + ;; all: exposes everything + data_exposure = all + + ;; [Supported, but obsolete] + ;# {data_services} {index_sims:true} {Data service URLs to register with?} {} http://metaverseink.com/cgi-bin/register.py + ; This semicolon-separated string serves to notify specific data services + ; about the existence of this sim. Uncomment if you want to index your + ; data with this and/or other search providers. + data_services="${Const|jOpensimURL}/components/com_opensim/registersearch.php" + + +[Groups] + ;# {SecretKey} {ServicesConnectorModule:Groups Remote Service Connector} {Secret key between sim and remote group service} {} "" + ;; Used for V2 in Remote only. + SecretKey = "Kensentm3" + + +[Search] + SearchURL = ${Const|jOpensimURL}/components/com_opensim/interface.php + + +[AuthorizationService] + ; If you have regions with access restrictions + ; specify them here using the convention + ; Region_ = + ; Valid flags are: + ; DisallowForeigners -- HG visitors not allowed + ; DisallowResidents -- only Admins and Managers allowed + ; Example: + Region_Amazonas = "DisallowForeigners" + Region_Andros = "DisallowForeigners" + Region_Archangel = "DisallowForeigners" + Region_Blue_Moon = "DisallowForeigners" + Region_Blue_Water = "DisallowForeigners" + Region_Boiboi = "DisallowForeigners" +; Region_Castaway_Cay = "DisallowForeigners" + Region_Chen = "DisallowForeigners" + Region_Coruscant = "DisallowForeigners" + Region_Firefly = "DisallowForeigners" + Region_Haystack1 = "DisallowForeigners" + Region_Haystack2 = "DisallowForeigners" + Region_Isle_of_Beast = "DisallowForeigners" + Region_JaimieVille = "DisallowForeigners" + Region_Kikai_Gaki = "DisallowForeigners" + Region_KW1 = "DisallowForeigners" + Region_Lioneart = "DisallowForeigners" + Region_Lyra = "DisallowForeigners" + Region_MisFitz_Fairground = "DisallowForeigners" + Region_MisFitz_Residential_1 = "DisallowForeigners" + Region_MisFitz_Residential_2 = "DisallowForeigners" + Region_MisFitz_Sandbox = "DisallowForeigners" + Region_Neo_Kidopolis = "DisallowForeigners" + Region_Neverland = "DisallowForeigners" + Region_Ningaloo = "DisallowForeigners" + Region_Northland = "DisallowForeigners" + Region_Nucleus = "DisallowForeigners" + Region_Oreo_World = "DisallowForeigners" + Region_Parts_unKnown = "DisallowForeigners" + Region_Raja_Ampat = "DisallowForeigners" + Region_Red_Sea = "DisallowForeigners" + Region_Serenity = "DisallowForeigners" + Region_Silversmoke_Estate = "DisallowForeigners" + Region_SkyTec = "DisallowForeigners" + Region_Star_Dream = "DisallowForeigners" + Region_STS-Sandbox = "DisallowForeigners" + Region_Sweetland = "DisallowForeigners" + Region_Taboo_Too = "DisallowForeigners" + Region_TheExpanse = "DisallowForeigners" + Region_Ubercity = "DisallowForeigners" + Region_Undercity = "DisallowForeigners" + Region_White_Harbor = "DisallowForeigners" + Region_Traumland = "DisallowForeigners" + Region_Crazy_Family = "DisallowForeigners" + Region_Moonland = "DisallowForeigners" + Region_Lost_Mittens = "DisallowForeigners" + Region_The_Dugout = "DisallowForeigners" + Region_The_Sandlot = "DisallowForeigners" + Region_Wild_Shadow_Bay = "DisallowForeigners" + Region_Recreational_Hazard = "DisallowForeigners" + + +[Profile] + + ProfileServiceURL = ${Const|jOpensimURL}/components/com_opensim/interface.php + Module = "jOpenSimProfile" + + ; Optional: + Debug = true diff --git a/bin/config-include/config_localhost.ini b/bin/config-include/config_localhost.ini new file mode 100644 index 0000000..31f2f2c --- /dev/null +++ b/bin/config-include/config_localhost.ini @@ -0,0 +1,46 @@ +; ** information that we +; will use throughout our configuration. We will provide examples for +; setting the base url of the ROBUST server and the public and private ports +; it uses. Changing the values of the constants will set the operating +; parameters thoughout the configuration. Other constants that may prove +; to be useful may be added to the followin section. They may be +; referenced anywhere in the configuration by using ${Const|Name}. One +; such use is providing a base path for setting locations that ROBUST +; uses to write data. + +; Also put grid specific stuff here. + + +[Paths] + AssetsPath = "../../AssetFiles" + BackupPath = "../../backups" + CachePath = "../../caches" + DbPath = "../../db" + LogPath = "../../logs" + + +[Const] + MOTD = "Welcome to your local grid." + + GridName = "localhost Grid" + ShortGridName = "lg" + + ; For a grid these will usually be the externally accessible IP/DNS + ; name and use default public port 8002 and default private port 8003 + ; For a standalone this will usually be the externally accessible IP/DNS + ; name and use default public port 9000. The private port is not used + ; in the configuration for a standalone. + BaseHostname = "127.0.0.1" + HostName = "localhost" + BaseURL = http://${Const|BaseHostname} + GridURL = http://${Const|BaseHostname} + + PublicPort = "8002" + PrivatePort = "8003" + + ; The public port of the ROBUST asset server, which might be different. + AssetServerPort = "8003" + + ; Database credentials. + DataProvider = "OpenSim.Data.MySQL.dll" + ConnectionString = "Data Source=MYSQL_HOST;Database=MYSQL_DB;User ID=MYSQL_USER;Password=MYSQL_PASSWORD;Old Guids=true;" -- cgit v1.1