1: 2011-12-01 (Thu) 10:24:23 iseki |
2: 2011-12-01 (Thu) 12:32:33 iseki |
- | ** DTL/NSL Money Server for Diva Distro [#n6af16b0] | + | *** DTL/NSL Money Server for Diva Distro 0.7.2 [#n6af16b0] |
- | *** 0.7.2 [#b08d0c64] | + | |
| + | **** Setup Diva-Distro 0.7.2 [#o4a14e88] |
| + | - download from https://github.com/diva/d2/downloads |
| + | - Set up with MySQL |
| + | #br |
| + | |
| + | **** Down Load DTL/NSL Money Server v0.7.2 [#m255224a] |
| + | - http://www.nsl.tuis.ac.jp/xoops/modules/d3downloads/index.php?page=singlefile&cid=8&lid=26 |
| + | #br |
| + | **** Unpack MoneyServer and copy files to diva bin directory [#d0563a25] |
| + | - copied files |
| + | -- bin\MoneyServer.exe |
| + | -- bin\OpenSim.Data.MySQL.MySQLMoneyDataWrapper.dll |
| + | -- bin\OpenSim.Forge.Currency.dll |
| + | -- config\MoneyServer.exe.config |
| + | -- config\MoneyServer.ini |
| + | -- config\SineWaveCert.pfx |
| + | #br |
| + | **** Edit bin\MoneyServer.ini [#sef2be30] |
| + | - Change information of connection to MySQL DB |
| + | - Example |
| + | [MySql] |
| + | ; |
| + | ;Connection parameters of MySQL |
| + | hostname = localhost |
| + | database = diva_distro |
| + | username = diva_user |
| + | password = diva_pass |
| + | pooling = false |
| + | port = 3306 |
| + | - Set other options. |
| + | #br |
| + | |
| + | **** Edit bin\OpenSim.ini [#tbc1186d] |
| + | - Change [Economy] section |
| + | - Example |
| + | [Economy] |
| + | SellEnabled = "true" |
| + | UserServer = "http://172.22.1.79:9000/" ;; not use localhost or 127.0.0.1 |
| + | CurrencyServer = "https://172.22.1.79:8008/" ;; not use localhost or 127.0.0.1 |
| + | EconomyModule = DTLNSLMoneyModule |
| + | |
| + | ;; Money Unit fee to upload textures, animations etc |
| + | PriceUpload = 30 |
| + | ;; Money Unit fee to create groups |
| + | PriceGroupCreate = 200 |
| + | |
| + | **** Execute Web Server and copy scripts to Web Server [#t3b31709] |
| + | - Execute Web Server with PHP module |
| + | |
| + | - Copy ''Scripts'' folder of MoneyServer to Web Server |
| + | - If you use OS that does not support symbolic link (ex. Windows XP), please use http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/opensim_scripts-0.7.2.tgz |
| + | |
| + | #br |
| + | |
| + | **** Setup Helper Scripts [#v6894224] |
| + | - Edit include/config.php |
| + | - Example |
| + | // Please set this hepler script URL and directory |
| + | if (!defined('ENV_HELPER_URL')) define('ENV_HELPER_URL', 'http://172.22.1.79/opensim_scripts/helper/'); |
| + | if (!defined('ENV_HELPER_PATH')) define('ENV_HELPER_PATH', '/home/apache/htdocs/opensim_scripts/helper/'); |
| + | |
| + | // Please set MySQL DB access information |
| + | define('OPENSIM_DB_HOST', '172.22.1.79'); |
| + | define('OPENSIM_DB_NAME', 'diva_distro'); |
| + | define('OPENSIM_DB_USER', 'diva_user'); |
| + | define('OPENSIM_DB_PASS', 'diva_pass'); |
| + | |
| + | // Money Server Access Key |
| + | // Please set same key with MoneyScriptAccessKey in MoneyServer.ini |
| + | define('CURRENCY_SCRIPT_KEY', '123456789'); |
| + | |
| + | // Please set user(robust) server's URL |
| + | define('USER_SERVER_URI', 'http://172.22.1.79:9000/'); // not use localhost or 127.0.0.1 |
| + | |
| + | |
| + | #br |
| + | |
| + | **** Execute Viewer with -helperurl option [#y5497d7e] |
| + | - Please execute viewer with "-helperuri [ENV_HELPER_URL/]" option. |
| + | - ex. -loginuri http://172.22.1.79/opensim_scripts/helper/ [need last '/' ] |
| + | |
| + | #br |
| + | **** First Time of Execution [#e94874e6] |
| + | + Execute OpenSim.exe |
| + | + Execute MoneyServer.exe |
| + | |
| + | - If you see error message of ''handleGetBalance'' |
| + | -- Try buy Money. This becomes an error. But DB is created. |
| + | -- And try re-login. |
| #br | | #br |